Forum Replies Created

Viewing 15 posts - 1,306 through 1,320 (of 2,964 total)
  • Author
    Posts
  • in reply to: teeny editor, large font #5009
    Steve
    Keymaster

    No need to apologize. Happy to help. Closing ticket.

    in reply to: Undefined Variable Error #4995
    Steve
    Keymaster

    I believe this is resolved in our beta version, which will soon be the standard .org version.

    in reply to: not saving meta – piklist 0.9.9.6 #4993
    Steve
    Keymaster

    Great. Glad it worked.

    in reply to: Retain Field Values When Switching Workflow Tabs #4992
    Steve
    Keymaster
    This reply has been marked as private.
    in reply to: teeny editor, large font #4991
    Steve
    Keymaster

    @mcmaster– This is standard WordPress. If you use inspector or Firebug you should see WordPress setting the font in the editor body.

    Or you can set it in your theme. TwentyFifteen sets it to 17px.

    in reply to: Retain Field Values When Switching Workflow Tabs #4986
    Steve
    Keymaster

    Justin Tadlock is always a good resource.

    in reply to: not saving meta – piklist 0.9.9.6 #4984
    Steve
    Keymaster

    The upgrade script upgrades old data. New data should save properly.

    I suggest you start commenting out some parameters to see which is conflicting.

    You may want to start with this version. It removes the group in a group, which you don’t need:

    piklist('field', array(
    	'type' => 'select',
    	'field' => 'best_of_frontpage',
    	'description' => __('Order of Best of tours for frontpage display.', 'raftrek'),
    	'label' => __('Best of - on Frontpage', 'raftrek'),
    	'columns' => 12,
    	'add_more' => true,
    	'choices' => piklist($best_of_choices, array('post_id','post_name'))
    ));
    
    in reply to: Build a Contact Form with Piklist 0.9.9.6? #4983
    Steve
    Keymaster

    This may be a bug. Looking into it.

    in reply to: Undefined Variable Error #4982
    Steve
    Keymaster

    @jerime– Welcome to the Piklist community!

    Which version of Piklist are you running?

    Also, can you attached a screenshot?

    in reply to: not saving meta – piklist 0.9.9.6 #4980
    Steve
    Keymaster

    That would only effect legacy data, not new data.

    Is this problem with both or one?

    in reply to: Piklist don't save anything #4979
    Steve
    Keymaster

    @ptiboir– Welcome to the Piklist Community!

    If you set wp_debug to true, do you see any errors?

    in reply to: Retain Field Values When Switching Workflow Tabs #4978
    Steve
    Keymaster

    Carla– Each Worflow tabs is a separate page. It would be the same if your client filled in some fields and then clicked on the Dashboard page. You have two options here:

    1) Implement a Javascript solutions that triggers the submit button when switching the page. You can search Google for this since it is not a WordPress or Piklist specfic solution.

    2) Build your own tabs and don’t use Workflows. WordPress has some CSS built in for their old tab style. I think this should help. You would have to combine all our fields into one meta-box file and use code HTML like this:

    
    

    This will work everywhere except settings, because of how the WP Settings API works.

    Let us know if this works for you.

    in reply to: limiting workflow to specific post ID or template #4966
    Steve
    Keymaster
    in reply to: show fields conditioned on taxonomy term? #4965
    Steve
    Keymaster

    Yup! A Workflow is also a part.

    in reply to: show fields conditioned on taxonomy term? #4963
    Steve
    Keymaster

    @mcmaster– We probably won’t add hide/show by taxonomy term to Piklist. There are just too many variations on what a developer might want to hide/show a metabox or field. So instead we added filters so you can do whatever you want.

    Here are two suggestions:

    1) Hide the field, leave the meta-box: Just wrap the field in a simple php conditional.

    2) Hide the meta-box: You are going to have to use a Piklist filter. Either piklist_add_part or piklist_part_add, depending on which version of Piklist you are running. We renamed it in v9.5. Fortunately, you can actually use both so you can be backwards/forwards compatible.

    We used this filter in WP Helpers, when you want to make the excerpt box a wysiwyg so you can use that as a resource:
    -Open wp-helpers.php and look for these lines:

    add_filter('piklist_add_part', array('piklist_wordpress_helpers', 'replace_post_excerpt_box'), self::$filter_priority, 2); // Piklist v0.9.4.x
    add_filter('piklist_part_add', array('piklist_wordpress_helpers', 'replace_post_excerpt_box'), self::$filter_priority, 2); // Piklist v0.9.5.x
    

    The function replace_post_excerpt_box() looks for a meta-box with a fake post_type of piklist_wp_helpers_post. We set it to this post_type so it doesn’t display by default. You can use your condition to just change the post_type to post:

    $part_data['type'] = 'post';
    

    Take a look and let me know if it makes sense.

Viewing 15 posts - 1,306 through 1,320 (of 2,964 total)