Forum Replies Created
-
AuthorPosts
-
SteveKeymaster@dawood– Welcome to the Piklist Community!
Piklist works great with multisite. You can Network Activate, or activate for each site. Since Piklist does everything the WordPress way, and uses WordPress APIs where possible, there have never been any security concerns.
Let us know if you have any other questions.
December 9, 2014 at 2:54 pm in reply to: Error when attempting to display a single ungrouped add_more field #3015
SteveKeymaster@cosmocanuck– The best way to understand this is to output the data in various places. You can use the PHP function
print_r(print_r($data)), or use the Piklist function, which formats it nicer:piklist::pre($data).December 9, 2014 at 12:28 pm in reply to: Nested groups with add_more, ajax select, add_more template #3011
SteveKeymaster@egamipeaks– You can definitely get close to this.
1) Try starting with the code in
Piklist Demos > Add new Demo > Advanced > Content Section (Grouped) OR Content Section with Siblings (Grouped)2) You can’t populate Select Fields based on another field, but you can hide/show the select fields. You would generate all the select fields you need, but only show the one you want.
3) Currently there is no way to customize the add-more button.
We are happy to take a look at your code if you want.
December 9, 2014 at 12:21 pm in reply to: Error when attempting to display a single ungrouped add_more field #3010
SteveKeymaster@cosmocanuck– I found two issues:
1) In single-product.php,
get_post_metashould be set tofalse, so it returns an array. I updated the documentation to reflect this (Under the “Display” area). Let me know if the documentation makes sense.2) In product-claims-template.php, you already have the array data in
$data. There is no$data['claims'], so just use$data.Let me know if that fixes it for you.
SteveKeymaster@jphickey– W3TC is a tough plugin to configure correctly… even for advanced users. Let us know if you have any other questions.
Closing ticket.
SteveKeymaster@cosmocanuck– Any attribute that the HTML textarea field supports, Piklist supports. I updated the docs to explain >
SteveKeymaster@cosmocanuck– If you still need help with this let us know… and please post some code.
SteveKeymaster@egamipeaks– Marking this resolved since Kevin fixed this for you. Let us know if you have any other issues.
December 8, 2014 at 3:54 pm in reply to: default uploaded media design is off in settings area #3002
SteveKeymaster@marian– Welcome to the Piklist Community!
I just did some extended testing, and with certain image sizes this is still an issue. But your fix works great. We’ll get it into the next version of Piklist.
Thanks!
SteveKeymaster@jphickey– Welcome to the Piklist Community!
The only way to debug plugin conflicts is to start deactivating plugins and see if that makes a difference. When you find the plugin that’s causing the issue please let us know so we can try and resolve.
SteveKeymaster@aleskupi– I got it working with the code below. A few things:
1) You had a lot of groups within groups, which is really not necessary. Groups are primarily used for advanced layouts and an add-more with an add-more.
2) As soon as I removed these parameters the Editor looked great:tabindex,editor_cssandeditor_class.$addmore_icon = ' '; //Label of meta box piklist('field', array( 'type' => 'text' ,'field' => 'media_label' ,'label' => __('Change order by dragging items up & down.') ,'attributes' => array( 'class' => 'hidden' ) )); //List of items piklist('field', array( 'type' => 'group' ,'field' => 'media_list' ,'label' => 'label 1' ,'add_more' => true ,'template' => 'field' //field template for not showing label and 100% width ,'fields' => array( array( 'type' => 'text' ,'field' => 'media_item_label' ,'label' => $addmore_icon . __('Media item') ,'attributes' => array( 'class' => 'hidden' ) ,'columns' => 12 ) ,array( 'type' => 'file' ,'field' => 'media_item_background_media' ,'label' => __('Background image') ,'template' => 'custom_media' ,'description' => __('Select or upload box background image') ,'attributes' => array( 'class' => 'piklist-custom-media-field' ) ,'options' => array( 'modal_title' => __('Background image') ,'button' => __('Select background image') ) ,'columns' => 12 ) ,array( 'type' => 'radio' ,'field' => 'media_item_type' // Condition for displaying fields ,'value' => 'video' ,'label' => 'Type' ,'description' => 'Please select what you want to show.' ,'choices' => array( 'video' => 'Video' ,'image' => 'Image' ) ,'columns' => 12 ) ,array( 'type' => 'text' ,'field' => 'media_item_url' ,'label' => __('Video URL') ,'attributes' => array( 'placeholder' => __('Youtube URL (http://domain.com/)') ,'class' => 'large-text' ) ,'conditions' => array( array( 'field' => 'media_list:media_item_type' // Not working. Always visible ,'value' => 'video' // Shown only on media_item_type = video ) ) ,'columns' => 12 ) ,array( 'type' => 'file' ,'template' => 'custom_media' ,'field' => 'media_item_featured_image' ,'label' => __('Image') ,'description' => __('Select or upload media box item image') ,'options' => array( 'modal_title' => __('Featured image') ,'button' => __('Select Featured image') ) ,'conditions' => array( array( 'field' => 'media_block:media_item_type' // Not working. Always visible ,'value' => 'image' // Shown only on media_item_type = image ) ) ,'columns' => 12 ) ,array( 'type' => 'radio' ,'field' => 'media_item_position' ,'value' => 'left' ,'label' => 'Position' ,'description' => 'Select Video/Image position in box' ,'choices' => array( 'left' => 'Left' ,'right' => 'Right' ) ,'columns' => 12 ) ,array( 'type' => 'text' ,'field' => 'media_item_title' ,'label' => __('Title') ,'attributes' => array( 'class' => 'large-text' ,'placeholder' => __('Title') ) ,'columns' => 12 ) ,array( 'type' => 'textarea' ,'field' => 'media_item_subtitle' ,'label' => __('Subtitle') ,'attributes' => array( 'class' => 'large-text' ,'placeholder' => __('Subtitle') ) ,'columns' => 12 ) ,array( 'type' => 'editor' ,'field' => 'media_item_description' // When add more + breaks ,'label' => __('Description') ,'attributes' => array( 'class' => 'large-text' ) ,'options' => array ( 'wpautop' => false ,'media_buttons' => false ,'teeny' => false ,'dfw' => false ,'tinymce' => true ,'quicktags' => true ) ,'columns' => 12 ) ,array( 'type' => 'file' ,'field' => 'media_item_quote_media' ,'template' => 'custom_media' ,'label' => __('Quote image') ,'description' => __('Select or upload quote logo/image') ,'options' => array( 'modal_title' => __('Image') ,'button' => __('Select image') ) ,'columns' => 12 ) ,array( 'type' => 'textarea' ,'label' => __('Quote') ,'field' => 'media_item_quote_text' ,'attributes' => array( 'placeholder' => __('Quote') ,'class' => 'large-text' ) ,'columns' => 12 ) ) ));Let me know what you think.
SteveKeymaster@palash140– If I take your code and add it to the Piklist Demos;
piklist-demos/parts/settings/field-text.php, it works perfectly. So it’s not your field code.Please make sure:
1) You registered your setting properly >
2) Your comment block is correct>Let us know if you still need help.
SteveKeymaster@cosmocanuck– Let us know if this was fixed in v0.9.4.23
December 5, 2014 at 3:31 pm in reply to: Removing attachment causes it to jump right back after update #2981
SteveKeymasterThis is fixed in v0.9.4.23… available now at WordPress.org. Let us know if you still have issues.
SteveKeymasterThis is fixed in v0.9.4.23… available now at WordPress.org. Let us know if you still have issues.
-
AuthorPosts