Change browsing root node

Author Message

Mads Ovesen

Wednesday 28 May 2008 8:22:51 am

Hi,

How do I change the root node when browsing? I want it to begin in media not content.

thanks

/m

Stéphane Bullier

Wednesday 28 May 2008 9:49:20 am

Hello,

You can to change the settings IndexPage and DefaultAccess :

[SiteSettings]
DefaultAccess=/content/view/full/53/
IndexPage=/content/view/full/53/

Stéphane

André R.

Wednesday 28 May 2008 10:02:00 am

Take a look in settings/browse.ini, there are several browse types.
For instance add this in your settings/override/browse.ini.append.php:

[SelectObjectRelationNode]
StartNode=media

(changing start node when you browse for relation on attributes for the objectrelation datatype)

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

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 18 2025 11:19:56
Script start
Timing: Jan 18 2025 11:19:56
Module start 'layout'
Timing: Jan 18 2025 11:19:56
Module start 'content'
Timing: Jan 18 2025 11:19:56
Module end 'content'
Timing: Jan 18 2025 11:19:56
Script end

Main resources:

Total runtime0.0178 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.0070 589.0469152.6250
Module start 'layout' 0.00700.0035 741.671939.4453
Module start 'content' 0.01050.0051 781.117289.4453
Module end 'content' 0.01560.0022 870.562534.3047
Script end 0.0178  904.8672 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002815.7072140.0002
Check MTime0.00126.6955140.0001
Mysql Total
Database connection0.00126.957910.0012
Mysqli_queries0.003720.856330.0012
Looping result0.00000.107110.0000
Template Total0.001810.010.0018
Template load0.00105.362010.0010
Template processing0.00084.655110.0008
Override
Cache load0.00073.823710.0007
General
dbfile0.00031.500880.0000
String conversion0.00000.045540.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