Forums / Setup & design / 3.5 -> Cache problem with menu design (left, top, etc...).

3.5 -> Cache problem with menu design (left, top, etc...).

Author Message

laurent le cadet

Thursday 10 February 2005 8:02:19 am

Hi,

I'm configuring a multi language site.

mysite/fr
mysite/de
mysite/pol

I don't know if it's the problem but I can't manage anymore to preserve the way I want to show menus.

I need a :

[SelectedMenu]
CurrentMenu=LeftTop
TopMenu=flat_top
LeftMenu=flat_left

with this settings :

[MenuContentSettings]
TopIdentifierList[]
TopIdentifierList[]=folder
LeftIdentifierList[]
LeftIdentifierList[]=folder
LeftIdentifierList[]=feedback_form
LeftIdentifierList[]=gallery
LeftIdentifierList[]=forum
LeftIdentifierList[]=article
LeftIdentifierList[]=poll
LeftIdentifierList[]=link

...in menu.ini.append.php

If I use the admin interface, no effect.
If I send this settings via ftp, clean ini caches, there is no change on the site.

I don't really understand if I have to modify menu.ini.append.php in each language dir (fr, de, pol) or if it's better to use the override dir.
What is the best way to choose which classe we want in the identifier list (top, left, any...) ?

How does it works ?

Thanks

Laurent.

laurent le cadet

Thursday 10 February 2005 8:50:10 am

I tryed some changes and checked menu.ini in admin interface.
This what I have for my fr site :

TopIdentifierList

default [0] folder
default [1] feedback_form
default [2] gallery
default [3] forum
override  [4] folder

LeftIdentifierList

default [0] folder
default [1] feedback_form
default [2] gallery
default [3] forum
override [4] feedback_form
override [5] gallery
override [6] forum
override [7] article
override [8] poll
override [9] link 

and finnaly, here is siteaccess/fr/menu.ini.append.php :

<?php /* #?ini charset="iso-8859-1"?

[MenuSettings]
AvailableMenuArray[]=TopOnly
AvailableMenuArray[]=LeftOnly
AvailableMenuArray[]=DoubleTop
AvailableMenuArray[]=LeftTop

[SelectedMenu]
CurrentMenu=LeftTop
TopMenu=flat_top
LeftMenu=flat_left

[TopOnly]
TitleText=Only top menu
MenuThumbnail=menu/top_only.jpg
TopMenu=flat_top
LeftMenu=

[LeftOnly]
TitleText=Left menu
MenuThumbnail=menu/left_only.jpg
TopMenu=
LeftMenu=flat_left

[DoubleTop]
TitleText=Double top menu
MenuThumbnail=menu/double_top.jpg
TopMenu=double_top
LeftMenu=

[LeftTop]
TitleText=Left and top
MenuThumbnail=menu/left_top.jpg
TopMenu=flat_top
LeftMenu=flat_left
*/ ?>

I see that default are the settings of the settings/menu.ini and override are in settings/override/menu.ini.append.php.

BUT the left menu keep on displaying folders and if I create a gallery at the root of the site, it appears in the top menu.

I think this explanation is better than the previous one ;)) but I don't really understand where the problem is...

Why default settings are rulling the menus instead of the override ?

Laurent.

eZ debug

Timing: Jan 18 2025 22:40:44
Script start
Timing: Jan 18 2025 22:40:44
Module start 'content'
Timing: Jan 18 2025 22:40:46
Module end 'content'
Timing: Jan 18 2025 22:40:46
Script end

Main resources:

Total runtime1.4149 sec
Peak memory usage4,096.0000 KB
Database Queries189

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 589.7578180.8125
Module start 'content' 0.00571.2123 770.5703476.4531
Module end 'content' 1.21800.1968 1,247.0234333.0703
Script end 1.4148  1,580.0938 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00390.2728210.0002
Check MTime0.00140.0962210.0001
Mysql Total
Database connection0.00080.059210.0008
Mysqli_queries1.346895.18781890.0071
Looping result0.00190.13301870.0000
Template Total1.391198.320.6956
Template load0.00170.118220.0008
Template processing1.389498.200020.6947
Template load and register function0.00020.010910.0002
states
state_id_array0.00070.052010.0007
state_identifier_array0.00100.069420.0005
Override
Cache load0.00140.0998340.0000
Sytem overhead
Fetch class attribute can translate value0.00140.098120.0007
Fetch class attribute name0.00100.068530.0003
XML
Image XML parsing0.00090.062320.0004
class_abstraction
Instantiating content class attribute0.00000.000940.0000
General
dbfile0.00200.1383270.0001
String conversion0.00000.000330.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
1node/view/full.tplfull/forum_topic.tplextension/sevenx/design/simple/override/templates/full/forum_topic.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
4content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
4content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs