Tagged: 

Viewing 3 reply threads
  • Author
    Posts
    • #2950
      jonian
      Member

      Hello.

      After updating to piklist 0.9.4.21 I have the following problems whith post workflows:

      1) Tab not changing if Page: post.php etc.. is not set on every workflow
      2) If I set the Page: post.php etc.. on every workflow, when create or edit a post there is no workflow selected by default but the last workflow is showing. I also tried setting Default: false to the other workflows.

      My code in workflows:

      header.php
      /*
      Title: Default
      Flow: Edit Default
      Page: post.php, post-new.php, post-edit.php
      Header: true
      Position: title
      */

      basic.php
      /*
      Title: Basic
      Flow: Edit Default
      Page: post.php, post-new.php, post-edit.php
      Default: true
      Order: 10
      */

      advanced.php
      /*
      Title: Advanced
      Flow: Edit Default
      Page: post.php, post-new.php, post-edit.php
      Default: false
      Order: 20
      */

      seo.php
      /*
      Title: SEO
      Flow: Edit Default
      Page: post.php, post-new.php, post-edit.php
      Default: false
      Order: 30
      */

      I have not set the post type because I use the three workflows above on every post type.

      Thanks in advance.

      PS: Please try to not include major changes in minor updates. Many people like me may use Piklist in large projects and keeping up with undocumented changes is hard. Thank you for your great work.

    • #2951
      Steve
      Keymaster

      @jonian– This should be fixed in v0.9.4.22. Let me know if you still have issues.

    • #2959
      jonian
      Member

      Hi Steve.

      Thanks for the quick response and the quick fix. It works with my configuration now but it is not working if you use the Page: post.php etc..

      Working

      header.php

      /*
      Title: Default
      Flow: Edit Default
      Page: post.php, post-new.php, post-edit.php
      Header: true
      Position: title
      */

      basic.php

      /*
      Title: Basic
      Flow: Edit Default
      Default: true
      Order: 10
      */

      advanced.php

      /*
      Title: Advanced
      Flow: Edit Default
      Order: 20
      */

      seo.php

      /*
      Title: SEO
      Flow: Edit Default
      Order: 30
      */

      Not working

      When creating a new post only the Basic tab shows, as expected.
      After publishing the post the Basic is inactive, the Advanced and Seo tabs are active and the Seo tab metaboxes are visible.

      header.php

      /*
      Title: Default
      Flow: Edit Default
      Page: post.php, post-new.php, post-edit.php
      Header: true
      Position: title
      */

      basic.php

      /*
      Title: Basic
      Flow: Edit Default
      Default: true
      Order: 10
      */

      advanced.php

      /*
      Title: Advanced
      Flow: Edit Default
      Page: post.php, post-edit.php
      Order: 20
      */

      seo.php

      /*
      Title: SEO
      Flow: Edit Default
      Page: post.php, post-edit.php
      Order: 30
      */

      Hope this helps.

    • #2960
      Steve
      Keymaster

      @jonian– This sounds correct. Once you publish a post, the page is post.php, which is why Advanced and SEO are showing.

      If I’m still not getting it, a screencast would be great if possible.

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