Default browse start node

Author Message

laurent le cadet

Friday 07 September 2007 8:34:14 am

Hi,

I'm looking for something in browse.ini to define a browse start node for browsing in frontoffice.

I can achieve something to point /browse to a specyfic node (let says 63).

Any hint?

Regards.

Laurent

Damien Pobel

Friday 07 September 2007 4:00:22 pm

Hi Laurent,

I've done that on my site. For example, in my browse.ini.append.php, I have :

[BrowseSettings]
AliasList[]
AliasList[tags]=60
AliasList[galeries]=124
         
# Action for selecting a node placement for an object.
[AddNodeAssignment]
StartNode=tags
SelectionType=multiple
ReturnType=NodeID
StartNode_class[24]=galeries

This tells to eZ Publish that when I want to add a location the default start node is "tags" which node id is 60. For class which identifier is 24, the default start node is "galeries" which node id is 124. You can do the same for every type of browse.

Damien
Planet eZ Publish.fr : http://www.planet-ezpublish.fr
Certification : http://auth.ez.no/certification/verify/372448
Publications about eZ Publish : http://pwet.fr/tags/keywords/weblog/ez_publish

laurent le cadet

Tuesday 02 October 2007 9:29:05 am

Thanks Damien,

This browse features are very usefull for frontend editing.

Laurent

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 31 2025 06:25:17
Script start
Timing: Jan 31 2025 06:25:17
Module start 'layout'
Timing: Jan 31 2025 06:25:17
Module start 'content'
Timing: Jan 31 2025 06:25:17
Module end 'content'
Timing: Jan 31 2025 06:25:17
Script end

Main resources:

Total runtime0.0190 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 588.1328151.2109
Module start 'layout' 0.00700.0037 739.343836.6484
Module start 'content' 0.01070.0067 775.992290.1719
Module end 'content' 0.01730.0016 866.164133.9922
Script end 0.0189  900.1563 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002714.2309140.0002
Check MTime0.00115.8752140.0001
Mysql Total
Database connection0.00126.246310.0012
Mysqli_queries0.003619.071030.0012
Looping result0.00000.094310.0000
Template Total0.00126.210.0012
Template load0.00094.695410.0009
Template processing0.00031.440210.0003
Override
Cache load0.00063.149610.0006
General
dbfile0.002111.326680.0003
String conversion0.00000.052840.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