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.

Bi-directional Relationships

September 07, 2010 8:01am

Subscribe [3]
  • #1 / Sep 07, 2010 8:01am

    andy.windle

    2 posts

    This post is about the Playa Add on and problems with bi-directional limitations.  I’ve posted on the playa site as well, but thought I’d see if anyone had any ideas on here.

    Bascially, when using playa for relationships in EE2.  You can create a relationship between two channels on a control panel form.  For example, a CP publish page for a kitchen that allows various appliances to be added to it.  Kitchen would be a channel as would the appliances.

    This is certainly possible, but what can’t seem to be done is then have a second publish form for the appliances, allowing the appliances to be managed in the control panel.  The appliance would need to list all the kitchens that use this appliance and allow them to be added/removed.  If we add such a relationship, it works independetly from the relationsip in the kitchens form and as such does not show appliances that had been linked by editing that form?

    Anyone else encountered such a problem?

    [Mod Edit: Moved to the CodeShare Corner forum]

  • #2 / Sep 08, 2010 11:12am

    Wolfram

    115 posts

    Hi Andy,

    I guess it is “Reverse Related Entries” what you are looking for? See EE .(JavaScript must be enabled to view this email address). They should work with Playa, .(JavaScript must be enabled to view this email address).

    Does that help?

    Wolfram

  • #3 / Sep 09, 2010 5:06am

    andy.windle

    2 posts

    This would be fine for relationships in templates, but does not help when trying to show the bi-directional relationship in two forms in the control panel.

  • #4 / Sep 09, 2010 5:51am

    iain

    317 posts

    If I understand you correctly, you might find Introvert useful for what you need.

    You can grab it from github

    It allows you to see which entries point to a particular entry being edited, with some options on how those are displayed, and direct links to edit those entries.

    If you’d like it to do anything in particular I can help you out with making it do what you want… maybe 😊

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

ExpressionEngine News!

#eecms, #events, #releases