eZ Community » Forums » Setup & design » Limiting object relations
expandshrink

Limiting object relations

Limiting object relations

Monday 28 May 2012 5:03:16 pm - 1 reply

Hello,

About the "Object Relations" datatype. Is there a way to limit the number of objects that I can embed (min & max) ? I didn't see such fields in the back office.

 

Thank you,

Monday 28 May 2012 10:36:36 pm

Hi HR,

This is not possible with the standard setup; however, you can override the datatype's edit template ( /design/standard/templates/content/datatype/edit/ezobjectrelationlist.tpl )to impose limits on an editor.

As objects can have multiple relations of several types ( Common, Embedded, Attribute, Reverse-related ), there are no limits at the object level.

Hope this helps,
Geoff 

expandshrink

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu