Tagged: 

Viewing 7 reply threads
  • Author
    Posts
    • #1106

      Hi,

      I noticed that new (unsaved) post with tabs, when click on tab creates new empty post instead of saving current post.

    • #1116
      Steve
      Keymaster
    • #1118
      Kevin
      Keymaster

      Hi Ken-

      We fixed quite a bit, what exactly are you having problems with?

      Thanks,

      Kevin

    • #1119

      Still not fixed, steps to repeat:

      Add tabs to page (any no matter what content)
      Click Add New page
      Click 1st Tab
      Click 2nd Tab
      Click 1st Tab
      Click 2nd Tab

      Watch &post=xx in URL, ID number is changing.
      Expected – post id remains the same.
      Possible fixx – use value from <input type=’hidden’ id=’post_ID’> to build tab click url 🙂

    • #1126
      Kevin
      Keymaster

      Thanks for the detailed feedback, I will make sure this is addressed in the next version.

      Kevin

    • #1131

      We managed to solve it!

      We added 2 lines to workflows header file:

      global $pagenow;
      $pagenow = ‘post.php’;

    • #1150
      Steve
      Keymaster

      Nice job! Instead of editing your Workflow header file, can you try this:

      -Open /parts/shared/admin-workflow.php
      -Look for the if ($url_arguments['post']) conditional, and add your $pagenow code there, so it looks like this:

      if ($url_arguments['post'])
      {
      unset($url['page']);
      $url['action'] = 'edit';
      $pagenow = 'post.php';
      }

      Let us know if that works. Thanks for the help. Without your solution, this would have taken a lot longer to fix.

    • #1151

      Looks cool.

      ps. Looks like you are missing basic examples how to add tabs to current page/posts pages – easy way how to move post_title and post_content to tabs 🙂

Viewing 7 reply threads
  • You must be logged in to reply to this topic.