Forum Replies Created
-
AuthorPosts
-
SteveKeymaster@catacaly– The Piklist conditions system cannot do this yet. You would need to save the first field, pull the value and then display the second field.
SteveKeymaster@wpkonsulterna– Use the Piklist grid system and set the columns to 12:
piklist('field', array( 'type' => 'group', 'field' => 'templates', 'add_more' => TRUE, 'label' => __('Mallar', 'wpk-solquote'), 'fields' => array( array( 'type' => 'text' ,'field' => 'name' ,'label' => __('Mallnamn', 'wpk-solquote') ,'columns' => 12 ), array( 'type' => 'editor' ,'field' => 'template' ,'label' => __('Offertmall', 'wpk-solquote') ,'columns' => 12 ) ) ));
SteveKeymaster@jordi– The rich text editors are the standard WordPress editor, so it should be available in multi-languages. Feel free to email us at [email protected] with some code so we can take a look at what you’ve done.
SteveKeymaster@michaellautman– Your code works for me. Make sure your help code is the /parts/help/ folder.
SteveKeymaster@Sander Schat– I can’t reproduce. The code you posted seems to work.
SteveKeymaster@mrioa– I split this into another topic since it had nothing in common with the other ticket.
Piklist comes with a grid system for fields. You need to use it when creating GROUP fields. Try adding the columns parameter:
piklist('field', array( 'type' => 'group' , 'field' => 'buy' , 'label' => 'Einkauf' , 'add_more' => true , 'fields' => array( array( 'type' => 'text' , 'field' => 'buy_size' , 'label' => 'size' , 'columns' => 12 ) , array( 'type' => 'text' , 'field' => 'buy_price' , 'label' => 'price' , 'columns' => 12 ) ) ));
SteveKeymasterGreat! closing ticket.
SteveKeymaster@msmith– Remove the
scopeparameter and let Piklist automatically set it. In most cases you never have to set the scope.
SteveKeymaster@msmith– You can’t hook to ‘init’ inside a function that hooks to ‘init’. Just include mba_list_members_shortcode() inside my_init_function().
function my_init_function() { if(is_admin()) { include_once('pc.php'); if (!piklist_checker::check(__FILE__)) { return; } //Set Filter and Actions for Plugin add_filter('piklist_admin_pages', 'mba_member_settings'); add_filter('piklist_post_types', 'mba_member_data_cpt'); mba_list_members_shortcode(); } }Also, don’t forget
Plugin type: piklistin your plugin comment block.
SteveKeymaster@ebarroso– When you click on a link to a custom post, single.php should automatically work with a standard WordPress loop. WordPress has a template hierarchy, which you can find here if you want to do something different with this Post Type, you create a single-qps.php file, as defined in the hierarchy.
Let me know if that helps.
SteveKeymaster@michaellautman– The “About” page is two parts:
1) Register the page: In
class-piklist-setting.php, check out theadmin_pages()function. This is where we register all the Settings pages.2) Create the page: In
piklist/parts/admin-pages/welcome.php, we create the actual page.You should be able to copy and paste most of this into your plugin to get started. Let us know if you need any more help.
October 21, 2014 at 10:19 am in reply to: Changes not preserved when switching between workflow tabs #2603
SteveKeymasterWe have some ideas on how to implement this. It’s on our list of todo’s.
-
AuthorPosts