problem trying use diferent menu tree

Author Message

Alexandre Cunha

Tuesday 18 July 2006 5:32:01 pm

Hello,

Im trying use a diferent menu tree for the new version of a site.

This is the struture the site have:

-- site
 |-- folder A
 |-- folder B
 |-- folder C
 |-- structure for the new site version
   |-- folder 1
   |-- folder 2
   |-- folder 3

I have created a new site access named "newversion" and put IndexPage pointing to "structure for the new site version"

I what define a new menu tree under "structure for the new site version".
I have tried change the siteaccess/newversion/menu.ini.append.php and have changed all of URL[default] and URL[browse] to point to "structure for the new site version"

Unfortunetly this doest work because the displayed menu is the menu "site".

Have cleared the cache. Useing ezp 381.

What Im doing wrong ??

Thanks for your help.

http://AlexandreCunha.com

Alexandre Cunha

Tuesday 18 July 2006 6:36:51 pm

There is part of my siteaccess/newversion/menu.ini.append.php:

[Topmenu_content]
URL[]
URL[default]=content/view/full/218
URL[browse]=content/browse/218
NavigationPartIdentifier=ezcontentnavigationpart
Enabled[]
Enabled[default]=true
Enabled[browse]=true
Enabled[edit]=false
Shown[]
Shown[default]=true
Shown[navigation]=true
Shown[browse]=true

218 is the node id of "structure for the new site version"

http://AlexandreCunha.com

Marcin Drozd

Wednesday 19 July 2006 4:35:45 am

Hi
I think U have to change site.ini file, see more: http://ez.no/content/view/full/105132

http://ez-publish.pl

Alexandre Cunha

Wednesday 19 July 2006 12:12:13 pm

Hi Marcin,

Thanks for your help.
I have changed the site.ini.append.php for the siteacceess as described.

Doest change the node for the menu. Just for the first page displayed.

http://AlexandreCunha.com

Alexandre Cunha

Thursday 20 July 2006 6:30:18 pm

Hi,

Until now, dont have found any way to define the menu tree using the ini files.

If somene know how to, please advise me.

The only way I have found to define the folder trought the menu is rendered, is edit the template files under design/<sitedesign>/override/templates/menu

I really apreciate any help about other ways to define the start node of the menu.

thanks

http://AlexandreCunha.com

Marcin Drozd

Friday 21 July 2006 12:48:05 am

Hi
U're right
I've forgotten
Set RootNodeID ([TreeMenu]) in contentstructuremenu.ini for admin site

http://ez-publish.pl

Alexandre Cunha

Friday 21 July 2006 5:21:00 am

Unfortunetly, setting RootNodeID=218 doest work for the <site>
settings/siteaccess/<site>/

Only for admin interface: settings/siteaccess/admin/

http://AlexandreCunha.com

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