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.

eZ debug

Timing: Jan 19 2025 06:24:30
Script start
Timing: Jan 19 2025 06:24:30
Module start 'layout'
Timing: Jan 19 2025 06:24:30
Module start 'content'
Timing: Jan 19 2025 06:24:31
Module end 'content'
Timing: Jan 19 2025 06:24:31
Script end

Main resources:

Total runtime0.5507 sec
Peak memory usage4,096.0000 KB
Database Queries69

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0063 589.2734152.6406
Module start 'layout' 0.00630.0032 741.914139.4766
Module start 'content' 0.00950.5396 781.3906542.7031
Module end 'content' 0.54900.0016 1,324.093816.1406
Script end 0.5506  1,340.2344 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00320.5828160.0002
Check MTime0.00130.2415160.0001
Mysql Total
Database connection0.00120.216310.0012
Mysqli_queries0.493689.6319690.0072
Looping result0.00070.1207670.0000
Template Total0.519894.420.2599
Template load0.00230.409520.0011
Template processing0.517693.987320.2588
Template load and register function0.00010.025610.0001
states
state_id_array0.00080.148210.0008
state_identifier_array0.00080.136920.0004
Override
Cache load0.00200.3649420.0000
Sytem overhead
Fetch class attribute can translate value0.00060.104720.0003
Fetch class attribute name0.00120.213270.0002
XML
Image XML parsing0.00020.044520.0001
class_abstraction
Instantiating content class attribute0.00000.002970.0000
General
dbfile0.00080.1362100.0001
String conversion0.00000.002040.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
7content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
11content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
5content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 27
 Number of unique templates used: 6

Time used to render debug report: 0.0002 secs