Forum Replies Created

Viewing 5 posts - 16 through 20 (of 20 total)
  • Author
    Posts
  • in reply to: Custom Post Type Relationships #963
    chrisben
    Member

    It does work with piklist_demo, but not with my piklist custom post type defined in my plugin..

    The relationship list with checkboxes appears empty (both in Most Recent and All), even though I do have items of that type (the CPT appears correctly in the admin, I can list/add/edit/delete such posts) and their title is not empty.

    Here’s how I defined my parts/meta-boxes group:

    piklist('field', array(
     'type' => 'post-relate',
     'scope' => 'my_model'
    ));
    

    and I defined my post type within the plugin with:

    $post_types['my_model'] = array(...)
    

    I have defined no template at all, I hope it’s not a problem.

    Am I missing something else?

    in reply to: Custom Post Type Relationships #961
    chrisben
    Member

    With the demos I can see now how to relate to another Post, but not with another Custom Post.

    The main parts of this relationship box definition are:

    'type' => 'post-relate',
    'scope' => 'post'
    

    I don’t see where I can define my piklist custom post type. I tried replacing ‘post’ with my CPT name within ‘scope’ or ‘type’, but it didn’t work.

    Is there an extra parameter I am missing?

    in reply to: Custom Post Type Relationships #960
    chrisben
    Member

    Thanks, I will try this.

    in reply to: Custom Post Type Relationships #957
    chrisben
    Member

    is that ‘next version’ one of the 0.8 betas out there?

    if so, how do I create the UI to define a relationship between two CPTs? — the website states:

    “Piklist allows any Post Type, Taxonomy or User meta to be related to any Post Type, Taxonomy or User meta.”

    but I can’t find anything in the documentation about it.

    if not, what’s the target release day(/month /year) for this feature?

    in reply to: Fail to create custom meta boxes for simple plugin #955
    chrisben
    Member

    It worked!! Thanks a lot Kevin.

Viewing 5 posts - 16 through 20 (of 20 total)