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.