Forums / Setup & design / problem trying use diferent menu tree

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

eZ debug

Timing: Jan 19 2025 03:17:03
Script start
Timing: Jan 19 2025 03:17:03
Module start 'content'
Timing: Jan 19 2025 03:17:03
Module end 'content'
Timing: Jan 19 2025 03:17:03
Script end

Main resources:

Total runtime0.2590 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0073 589.0703180.8281
Module start 'content' 0.00730.0081 769.898497.9141
Module end 'content' 0.01540.2435 867.8125526.8281
Script end 0.2589  1,394.6406 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00401.5258200.0002
Check MTime0.00140.5357200.0001
Mysql Total
Database connection0.00050.210110.0005
Mysqli_queries0.197576.23521410.0014
Looping result0.00160.62161390.0000
Template Total0.243193.810.2431
Template load0.00090.365210.0009
Template processing0.242193.478810.2421
Override
Cache load0.00070.274910.0007
Sytem overhead
Fetch class attribute can translate value0.00100.391510.0010
XML
Image XML parsing0.00020.080710.0002
General
dbfile0.00592.2754200.0003
String conversion0.00000.002330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/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