Viewing 9 replies - 1 through 9 (of 9 total)
  • Hey, just so I’m understanding correctly:

    You’re editing a post. Within the post edit screen, there’s a relationship field. In the relationship filter box, you’ve entered “type:page” — but no items appear in the box below to select from.

    Does that sound about right?

    Thread Starter Monika

    (@monika)

    no the items are there, I can choose “pages” –
    backend is fine ??

    but I see no page ID at frontend

    but if I choose a “post” in backend I’ll see the ID at frontend

    (at frontend or on frontend or ??… english is sometimes confusing me ;))

    Ah, ok. I’ll look into this shortly.

    Monika,

    I’ve done some more testing and wasn’t able to reproduce the issue you’re experiencing.

    Here’s a screencast with more info: https://screencast.com/t/FZiCuQkZ

    Thread Starter Monika

    (@monika)

    hi Matt

    after your screencast I’m testing this relationship field with all possibilities …

    if I choose only 1 page or only 1 post => there is no ID on frontend,

    if I choose 2posts or 2pages, or 1 post and 1 page=> it works

    there is an absolut simple “screen” about this

    https://www.webdesign-in.de/–190105/cfs-test.jpg

    so I don’t know: have I missundertood this field?

    Monika,

    It was in fact a bug. Great find!

    The fix will be incorporated into 1.0.3. In the meantime, if you wanted to try it out, it involves changing 1 line:

    custom-field-suite/core/fields/relationship.php (line 213):

    Old:
    $return = array($v[0]);

    New:
    $return = array($value[0]);

    Thread Starter Monika

    (@monika)

    I’ll like to write an article about your plugin
    and I test all plugins bevor I’m writing about them,
    because my “little” texto.de is one of the german “planet” Domains and so I would like promote working plugins ??

    I have time – time enough ??

    I change this line and try to test more => but there are also customers with “deadlines” ;);)

    thanks Matt

    I still don’t understand what “field relationship” does and in what cases it can be used. I did visit the author’s website, I still don’t have a grasp. Please give me an example, thanks.

    A basic example uses 2 post types: “team” and “player”.

    If you want to associate players with a team, you’d use a relationship field.

    For each team (post item), you’d use the relationship field to select all related players.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘[Plugin: Custom Field Suite] field relationship if I choose type-page on a post no ID’ is closed to new replies.