google-code-export / wordpress-custom-content-type-manager

Automatically exported from code.google.com/p/wordpress-custom-content-type-manager
2 stars 1 forks source link

RelationMeta use. #527

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Im not sure is this a bug or a feature.

Im testing this RelationMeta.

Lets say i have 2 custom content types. One is Movie, and another is Movie 
review.

So i have entered New Movie with custom fileds production year, genre, actors 
and so on.

So now im going to create a new Review for that movie. Or lets say every user 
can create theres review for that movie.

I have created custom field for Reviews but i want to pull some data about the 
Movie im writing a review
so i have created Relationship Meta where it pulls year genre and some other 
data from related Movie.

I have assumed that when i click related movie, it will populate all fields 
that i wanted from RelationMeta. It pulls that field types but there is no 
data, it is empty. 

What is the intended use of this field type. What am i doing wrong ?

*SYSTEM INFO* 
------------------------ 
Plugin Version: 0.9.7.11-pl
WordPress Version: 3.6.1
PHP Version: 5.3.14
MySQL Version: 5.5.25
Server OS: Darwin
Language: 
------------------------ 
ACTIVE PLUGINS: 
------------------------ 
CURRENT THEME: Twenty Thirteen v.1.0 http://wordpress.org/themes/twentythirteen

Original issue reported on code.google.com by aned...@gmail.com on 29 Sep 2013 at 12:18

GoogleCodeExporter commented 9 years ago
I don't think you're using it correctly -- no "automatic" field population 
occurs.  If you're adding movies and reviews to your site, then all you should 
need is a relation field on the review page that points back to a movie.  

If you're not really clear on data modeling principles, then you probably won't 
ever use a relation-meta field -- it's an advanced field type meant to be used 
for advanced data modeling scenarios.  It's not for adding data to one content 
type or another, it's for adding data to the *relation*.  That's a subtle, but 
a very important difference.  A better place to ask this type of question is 
probably the forum since this is not a bug. 

Original comment by ever...@fireproofsocks.com on 29 Sep 2013 at 1:19