Forum Replies Created
-
AuthorPosts
-
chrisbenMemberIt 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?
chrisbenMemberWith 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?
chrisbenMemberThanks, I will try this.
chrisbenMemberis 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?
chrisbenMemberIt worked!! Thanks a lot Kevin.
-
AuthorPosts