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.

Controlling Sorting for Rendering of Multiple Relationships

November 06, 2013 2:43pm

Subscribe [1]
  • #1 / Nov 06, 2013 2:43pm

    miketwalker86

    2 posts

    The revamped relationships in EE 2.6+ are awesome. The custom code and databases we have had to make to act as workarounds can now mostly be done with multiple relationships, with one big exception that I can’t figure out.

    I am using EE to generate a playlist of video files (in a “playlist” channel) and need to allow people to be able to select the files (which are other EE entries in a “vod” channel) and sort what order they are in. According to the documentation, you can order by dates so a possible workaround could be to change the vod entry’s date. However, in some cases there are multiple playlists with a particular vod entry so this workaround wouldn’t work in my circumstances.

    I haven’t been able to find any documentation or forum responses of people able to set the order of the way relationships render out. In the exp_relationships table (in 2.6+) I see that there is an “order” field that I assume allows you to set the way the parent_id entry renders out children, but there is no way to set that with exp:channel:forms. Does anyone know how to do this? Thanks!

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

ExpressionEngine News!

#eecms, #events, #releases