Forums / Setup & design / Default browse start node

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