Forum Replies Created

Viewing 15 posts - 2,176 through 2,190 (of 2,964 total)
  • Author
    Posts
  • in reply to: Conditions in add more groups #2648
    Steve
    Keymaster

    @atanas– Please post your field code.

    in reply to: Manufacturer/Model terms relationship/selection #2647
    Steve
    Keymaster

    @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.

    in reply to: add_more, group and editor #2646
    Steve
    Keymaster

    @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
        )
      )
    ));
    
    in reply to: Qtranslate #2645
    Steve
    Keymaster

    @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.

    in reply to: Help Tabs Not Showing #2644
    Steve
    Keymaster

    @michaellautman– Your code works for me. Make sure your help code is the /parts/help/ folder.

    in reply to: add_more, group and editor #2634
    Steve
    Keymaster

    @Sander Schat– I can’t reproduce. The code you posted seems to work.

    in reply to: Group field add-mores #2633
    Steve
    Keymaster

    @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
            )
        )
    ));
    
    in reply to: Shortcode in Piklist #2626
    Steve
    Keymaster

    Great! closing ticket.

    in reply to: Shortcode in Piklist #2624
    Steve
    Keymaster

    @msmith– Remove the scope parameter and let Piklist automatically set it. In most cases you never have to set the scope.

    in reply to: Shortcode in Piklist #2622
    Steve
    Keymaster

    @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: piklist in your plugin comment block.

    in reply to: How to call a Custom Post from "Single.php" #2616
    Steve
    Keymaster

    @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.

    in reply to: Editor #2615
    Steve
    Keymaster

    @cegodai– Please post your code here so we can try to reproduce.

    in reply to: Adding Content to a Settings Page #2605
    Steve
    Keymaster

    @michaellautman– The “About” page is two parts:

    1) Register the page: In class-piklist-setting.php, check out the admin_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.

    in reply to: Feature Request: Settings Button Parameter #2604
    Steve
    Keymaster

    @jason– What are your thoughts on how to implement? Where would the button text go?

    in reply to: Changes not preserved when switching between workflow tabs #2603
    Steve
    Keymaster

    We have some ideas on how to implement this. It’s on our list of todo’s.

Viewing 15 posts - 2,176 through 2,190 (of 2,964 total)