[Solved] Start related object browsing by the media folder ?

Author Message

Benjamin Lemoine

Tuesday 16 January 2007 5:26:48 am

Hi,

I would like to know if it's possible to start browsing directly in the media folder instead of the content folder, when I want to add a related object to a node.
It's because my users can't access to the root node (browse/1/) and so can't access to the media folder.

I try to edit the siteaccess/my_siteaccess/browse.ini, changing this :

[AddRelatedObjectToDataType]
StartNode=media
SelectionType=single
ReturnType=ObjectID

# Action for finding objects to related object list datatype
[AddRelatedObjectListToDataType]
StartNode=media
SelectionType=multiple
ReturnType=ObjectID

But it not seems to work !
Any ideas ?

Thanks

Benjamin Lemoine

Tuesday 16 January 2007 8:36:30 am

Ok it was working since the beginning :( sorry but only with the "add existing" eZ publish 's button. I was testing it from Online Editor and it didn't work.

I've found the solution, there is a 3rd section :

[AddRelatedObjectToOE]
StartNode=media
SelectionType=single
ReturnType=ObjectID

And now it's work.

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