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.

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 01:13:39
Script start
Timing: Jan 19 2025 01:13:39
Module start 'layout'
Timing: Jan 19 2025 01:13:39
Module start 'content'
Timing: Jan 19 2025 01:13:40
Module end 'content'
Timing: Jan 19 2025 01:13:40
Script end

Main resources:

Total runtime0.6020 sec
Peak memory usage4,096.0000 KB
Database Queries52

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0057 590.4063152.6406
Module start 'layout' 0.00570.0032 743.046939.4922
Module start 'content' 0.00890.5916 782.5391471.3594
Module end 'content' 0.60060.0014 1,253.898412.1094
Script end 0.6020  1,266.0078 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00350.5792160.0002
Check MTime0.00170.2794160.0001
Mysql Total
Database connection0.00070.113910.0007
Mysqli_queries0.554492.0886520.0107
Looping result0.00040.0636500.0000
Template Total0.573395.220.2866
Template load0.00200.328220.0010
Template processing0.571394.896520.2856
Template load and register function0.00010.018910.0001
states
state_id_array0.00100.160610.0010
state_identifier_array0.00070.124120.0004
Override
Cache load0.00170.2792340.0000
Sytem overhead
Fetch class attribute can translate value0.00040.071310.0004
Fetch class attribute name0.00090.146830.0003
XML
Image XML parsing0.00040.066610.0004
class_abstraction
Instantiating content class attribute0.00000.001540.0000
General
dbfile0.00070.1172160.0000
String conversion0.00000.006240.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
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
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 23
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs