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.

eZ debug

Timing: Jan 20 2025 17:39:07
Script start
Timing: Jan 20 2025 17:39:07
Module start 'layout'
Timing: Jan 20 2025 17:39:07
Module start 'content'
Timing: Jan 20 2025 17:39:07
Module end 'content'
Timing: Jan 20 2025 17:39:07
Script end

Main resources:

Total runtime0.0156 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 588.1719151.2422
Module start 'layout' 0.00630.0026 739.414136.7266
Module start 'content' 0.00890.0052 776.140694.3438
Module end 'content' 0.01410.0015 870.484437.9922
Script end 0.0156  908.4766 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002515.7816140.0002
Check MTime0.00116.8791140.0001
Mysql Total
Database connection0.00074.646610.0007
Mysqli_queries0.002918.861030.0010
Looping result0.00000.090010.0000
Template Total0.00117.410.0011
Template load0.00095.554510.0009
Template processing0.00031.759410.0003
Override
Cache load0.00063.686710.0006
General
dbfile0.00021.555080.0000
String conversion0.00000.051940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0001 secs