Viewing 0 reply threads
  • Author
    Posts
    • #5424
      Marcus
      Member

      Hi guys, I know how hard you are working, but just wondering if you could please add the following feature to workflows.
      Adding the ability to allow Template selection in your pages. (so that different templates can have different workflows) Otherwise all templates get the same workflow.
      In includes/class-piklist-workflow.php under line 144:

        public static function register_workflows()
        {
          $data = array(
                    'title' => 'Title'
                    ,'description' => 'Description'
                    ,'capability' => 'Capability'
                    ,'order' => 'Order'
                    ,'flow' => 'Flow'
                    ,'page' => 'Page'
                    ,'post_type' => 'Post Type'
                    ,'taxonomy' => 'Taxonomy'
                    ,'role' => 'Role'
                    ,'redirect' => 'Redirect'
                    ,'header' => 'Header'
                    ,'disable' => 'Disable'
                    ,'position' => 'Position'
                    ,'template' => 'Template'
                    ,'default' => 'Default'
                    ,'layout' => 'Layout'
                    ,'clear' => 'Clear'
                  );

      Adding to the array above ‘template’ => ‘Template’ now allows me to have templates in my pages use different workflows. 🙂
      But you know how I hate playing with the masters code. So please if you can, take this into consideration. 🙂

      Marcus

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