Object Relation

Author Message

Pratibha Gannavarapu

Friday 07 July 2006 12:59:38 am

Hi
I am trying to create a custom class with an attribute of type 'object relation'. But when I am trying to create an object of this class type then it shows only 2 options on the backend 'Remove selected object' and 'Add object'. But I also want to have an 'upload new' option. I know that this can be possible for the object level relations. But I want this to be for my attribute level relations as well.
Is there a way that I can achieve this?
Thanks
Pratibha

Kristof Coomans

Friday 07 July 2006 2:50:33 am

The object relation datatype does not support this.

The object relations datatype however has some advanced features for embedded object editing and creation. These features have been disabled by default since eZ publish 3.5 (svn rev. 11741). But you can enable it again by adding the following setting to settings/override/site.ini.append(.php):

[BackwardCompatibilitySettings]
AdvancedObjectRelationList=enabled

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Pratibha Gannavarapu

Sunday 09 July 2006 6:48:00 pm

Thanks Kristof

Works all good!

Cheers
Pratibha

Julien FABRE

Tuesday 21 June 2011 7:10:56 am

Hi,

why these features have been disabled ?  

I have to use ObjectRelationList  for browsing & creating objets ...

What kind of troubles can append if I use this setting for that ?

AdvancedObjectRelationList=enabled

 

thanks

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.