Browsing for related objects: How to define default start nodes?

Author Message

Ulrich L.

Monday 14 March 2005 6:28:34 am

Hi,
while using a lot of object relations and object relation lists I feel the need of defining start points when browsing in the admin interface for objects. Is there a way to define for a certain class <myclass> a certain node <myclass_startnode> as default starting point for browsing?
(I checked content.ini and browse.ini without success...)
Thanks for your help.

Łukasz Serwatka

Monday 14 March 2005 6:44:38 am

Hi Uli,

In browse.ini is

# Action for finding objects to related object datatype
[AddRelatedObjectToDataType]
StartNode=content
SelectionType=single
ReturnType=ObjectID

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

You can change StartNode.

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

Ulrich L.

Monday 14 March 2005 9:28:14 am

Yes, but how can I make here a difference between different classes?
(e.g. class1 gets start node node1, class2 gets start node2 etc...)
Can you give me an example? Thanks so much!

Ulrich L.

Tuesday 15 March 2005 6:26:07 am

...and when defining the classes in the admin interface, there is always the entry "Default location for objects", but this seems to have nothing to do with my problem, right? I can't see any effect.

Ulrich L.

Wednesday 16 March 2005 4:52:19 am

A reply is very appreciated, even when it's a "sorry, not possible at the moment...". Come on...
Thanks, Uli

Gabriel Ambuehl

Wednesday 16 March 2005 5:00:40 am

Not entirely what you're looking for perhaps, but I suggest you take a look at http://ez.no/community/contribs/datatypes/enhanced_objectrelation

Visit http://triligon.org

Łukasz Serwatka

Wednesday 16 March 2005 6:28:35 am

Hi Uli,

Yes,but how can I make here a difference between different classes?
(e.g. class1 gets start node node1, class2 gets start node2....

You can`t at this moment but feel free to add it as a suggestion.

Greetings

Personal website -> http://serwatka.net
Blog (about eZ Publish) -> http://serwatka.net/blog

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