Forum Replies Created

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • in reply to: Nested groups and conditionals #5175
    egamipeaks
    Member

    Steve, do you mean the original issue is fixed?

    in reply to: Nested groups problems #3117
    egamipeaks
    Member

    Thanks — I think at this point I’m going to have to choose another tool — this is the 3rd or 4th bug I’ve had to wrestle with… good luck though.

    in reply to: Nested groups problems #3112
    egamipeaks
    Member

    Any thoughts here? Is this a bug?

    in reply to: Nested groups and conditionals #3061
    egamipeaks
    Member

    Ok, please keep me informed if you can

    in reply to: Nested groups with add_more, ajax select, add_more template #3048
    egamipeaks
    Member

    Figured out my UI issue thanks

    in reply to: Nested groups with add_more, ajax select, add_more template #3016
    egamipeaks
    Member

    Thanks for the help.

    I have gotten further on the nested add more groups but have a couple of issues still.

    The first is that I have to add more than one field in the nested group or the nested add more buttons don’t appear.

    Also after creating several nested groups and saving, they all load into the first group in the UI. And if I try and remove groups and update they come back.

    My code is below:

    piklist(‘field’, array(
    ‘type’ => ‘group’,
    ‘label’ => ‘Location Rules’,
    ‘description’ => ‘Create a set of rules to determine which pages will load this Ad Unit’,
    ‘field’ => ‘_ad_unit_location_rules’,
    ‘add_more’ => true,
    ‘fields’ => array(
    array(
    ‘type’ => ‘hidden’,
    ‘field’ => ‘location_desc’,
    ‘label’ => ”,
    ‘columns’ => 12,
    ‘value’ => ”
    ),
    array(
    ‘type’ => ‘group’,
    ‘field’ => ‘location_group’,
    ‘add_more’ => true,
    ‘fields’ => array(
    array(
    ‘type’ => ‘select’,
    ‘field’ => ‘location_page’,
    ‘label’ => ‘Page Condition’,
    ‘columns’ => 12,
    ‘choices’ => array(
    ‘post_type’ => “Post Type”,
    ‘page’ => “Page”,
    ‘page_type’ => “Page Type”,
    ‘page_parent’ => “Page Parent”,
    ‘page_template’ => “Page Template”,
    ‘post’ => “Post”,
    ‘post_category’ => “Post Category”,
    ‘taxonomy’ => “Post Taxonomy”,
    ‘ef_taxonomy’ => “Taxonomy Term”,
    )
    ),
    array(
    ‘type’ => ‘select’,
    ‘field’ => ‘location_comparison’,
    ‘label’ => ‘Comparison’,
    ‘columns’ => 12,
    ‘choices’ => array(
    ‘==’ => ‘Is equal to’,
    ‘!=’ => ‘Is not equal to’
    )
    ),
    array(
    ‘type’ => ‘select’,
    ‘field’ => ‘location_options’,
    ‘label’ => ‘Options’,
    ‘columns’ => 12,
    ‘choices’ => array(
    ‘op1’ => ‘option 1’,
    ‘op2’ => ‘option 2’
    )
    )
    )
    )
    )
    ));

    That hidden field is only there so that it will display the second group of add more buttons.

    in reply to: Activating Piklist slows site down considerably #2986
    egamipeaks
    Member
    This reply has been marked as private.
    in reply to: Activating Piklist slows site down considerably #2983
    egamipeaks
    Member

    Thanks for getting back to me so quickly Kevin. This is a fairly large ecommerce site.

    Wp_posts: 59633
    Wp_postmeta: 632561

    I’m combing through the queries on the page I sent you and so far haven’t spotted any with multiple meta queries. After activating Piklist however, all of the slow queries are related to PikList_Meta::get_metadata().

    I’d love a copy of the beta if possible. We had been planning on using Piklist on multiple projects for a while, but at this point we are seriously considering looking for alternatives, because the slow down is just not feasible.

    Thanks

    in reply to: Activating Piklist slows site down considerably #2976
    egamipeaks
    Member

    Also, you’ll notice DB queries jump from about 100 to 1600!

Viewing 9 posts - 1 through 9 (of 9 total)