ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Relationship Field

May 13, 2011 6:31pm

Subscribe [3]
  • #1 / May 13, 2011 6:31pm

    ibuck

    19 posts

    I have the following setup

    Custom Field Group:

    - Main Content Page
    - Feature

    Main content page has a relationship field that is linked to the “Feature” group.

    Is there a way to query all “Main Content” Pages that are assigned to a specific “Feature”?

    This is purely for manual reporting purposes and not for template output.

  • #2 / May 15, 2011 2:45pm

    Greg Salt

    3988 posts

    Hi ibuck,

    Whether or not this is for reporting purposes or not you can do this on a template using the Reverse Related Entries tag. You can of course structure the output in any way that is required for your reports. Does that help?

    Cheers

    Greg

  • #3 / May 15, 2011 3:32pm

    ibuck

    19 posts

    Hi,
    That is exactly what I need. Thanks!

    Mike

  • #4 / May 16, 2011 7:12am

    John Henry Donovan

    12339 posts

    Good stuff.😊Feel free to start anew thread if you have any more questions

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases