Tagged: Workflows
- This topic has 3 replies, 2 voices, and was last updated 7 years, 2 months ago by
Steve.
-
AuthorPosts
-
-
December 4, 2014 at 8:57 am #2950
jonianMemberHello.
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.
-
December 4, 2014 at 2:08 pm #2951
-
December 4, 2014 at 5:26 pm #2959
jonianMemberHi 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.
-
December 4, 2014 at 5:45 pm #2960
-
-
AuthorPosts
- You must be logged in to reply to this topic.