Forums / Setup & design / TopIdentifierList[] doesn't works

TopIdentifierList[] doesn't works

Author Message

Pascal France

Thursday 18 May 2006 7:17:01 am

Hi,

With eZP 3.7.5, when I set double topmenu I can define the classes which are shown in the top and left menus with TopIdentifierList[] and LeftIdentifierList[] in menu.ini.append.php
LeftIdentifierList[] works fine but TopIdentifierList[] not at all.
By default, it is set like that:

TopIdentifierList[]
TopIdentifierList[]=folder
TopIdentifierList[]=feedback_form
TopIdentifierList[]=gallery
TopIdentifierList[]=forum

I can remove "TopIdentifierList[]=folder", folder objects are even shown and if I change TopIdentifierList[]=folder by a specific class (TopIdentifierList[]=my_folder) my_folder objects are not displayed but folder objects are always displayed.

I cleared all caches by hand.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Kristof Coomans

Thursday 18 May 2006 8:48:36 am

In which ini file did you change it? Check if the siteaccess specific settings didn't get replaced by the general override settings.

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Pascal France

Thursday 18 May 2006 10:09:43 am

Hi Kristof,

The changes are done in settings/siteaccess/linuxorable/menu.ini.append.php

I really don't known what append.
I did a grep -R "MenuContentSettings" * in eZP install folder and the only config files returned are settings/menu.ini, settings/siteaccess/admin/menu.ini.append.php and settings/siteaccess/linuxorable/menu.ini.append.php

I can remove all TopIdentifierList[]=folder in these files, folder objects are always displayed. And I can change all TopIdentifierList[]=folder by TopIdentifierList[]=my_folder, my_folder objects are not displayed and folder objects yes !!!

Maybe, doing an upgrade from 3.7.5 to 3.7.6 will solve the problem.

Pascal

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Kristof Coomans

Thursday 18 May 2006 11:05:57 pm

Hi Pascal

Did you check if the template of your top menu is taking these settings into account (the template in the base design should be allright).

Are you sure you created those setting under the [MenuContentSettings] group in menu.ini.append?

independent eZ Publish developer and service provider | http://blog.coomanskristof.be | http://ezpedia.org

Pascal France

Friday 19 May 2006 12:05:14 am

Hi Kristof,

Well, I did an upgrade and now all works fine.

Even I never changed anything in these files, I checked design/base/template/menu/* files from 3.7.5 and they are the same weight than 3.7.6 files.

You can see here:
http://www.linuxorable.net/temp/templates/menu.ini.append.php.txt
my 3.7.5 don't working file. Maybe you will see something I didn't see.

Pascal

PS: I never did it before, but restoring a mysql dump from an old version to a new installation is really easy and works fine. So, you can have a new site take less than 1 hour. Great eZP team job !!

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

Pascal France

Sunday 21 May 2006 6:52:48 am

Sorry for this dummy post

Ce qui embellit le désert c'est qu'il cache un puits... quelque part... (A. de Saint-Exupéry) - http://luxpopuli.fr/eZ-Publish

eZ debug

Timing: Jan 19 2025 00:12:16
Script start
Timing: Jan 19 2025 00:12:16
Module start 'content'
Timing: Jan 19 2025 00:12:17
Module end 'content'
Timing: Jan 19 2025 00:12:17
Script end

Main resources:

Total runtime1.3494 sec
Peak memory usage4,096.0000 KB
Database Queries203

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0061 588.8438180.8359
Module start 'content' 0.00611.1957 769.6797578.3672
Module end 'content' 1.20190.1474 1,348.0469341.3984
Script end 1.3493  1,689.4453 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00450.3332210.0002
Check MTime0.00160.1177210.0001
Mysql Total
Database connection0.00080.056210.0008
Mysqli_queries1.273394.35812030.0063
Looping result0.00220.16412010.0000
Template Total1.319997.820.6600
Template load0.00220.166120.0011
Template processing1.317797.648820.6588
Template load and register function0.00030.019010.0003
states
state_id_array0.00080.056010.0008
state_identifier_array0.00130.097020.0007
Override
Cache load0.00190.1433380.0001
Sytem overhead
Fetch class attribute can translate value0.00150.113830.0005
Fetch class attribute name0.00120.089670.0002
XML
Image XML parsing0.00090.067730.0003
class_abstraction
Instantiating content class attribute0.00000.001380.0000
General
dbfile0.00180.1338270.0001
String conversion0.00000.000530.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
6content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
10content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
3content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
2content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 24
 Number of unique templates used: 7

Time used to render debug report: 0.0001 secs