menuconfig.tpl override

Author Message

Pascal France

Thursday 03 August 2006 1:05:55 pm

Hi,

I would like to use an override of desing/admin/template/visual/menuconfig.tpl but I don't know how to do ?

I noticed that for design/standard/templates/setup/quick_settings.tpl that if I want to use an override I only have to copy this file in desing/admin/override/template/setup/ and then it is automatically used by all admin siteaccess. So I don't need to write override rule.

But nothing works with menuconfig.tpl

Is there a way to use an override or should I modify the file itself ?

Regards

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

Claudia Kosny

Saturday 12 August 2006 6:40:56 pm

Hi Pascal,

try to set the override via the admin interface (tab design, templates in lefthand menu). When I tried it this way (ez 3.8.3, shop package), an override rule was set in override.ini.append.php for siteaccess shop_admin and the override template was used without problems.

I am not sure why it does not work when you put the overriding template in the appropiate folder. It seems to be caused by some interference between the three override.ini files actually used: override.ini.append.php and override.ini.append.compat in siteaccess admin and the override.ini in siteaccess shop_admin. This is really just a vague assumption, I did not do any tests to confirm this.

Good luck

Claudia

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 31 2025 06:20:28
Script start
Timing: Jan 31 2025 06:20:28
Module start 'layout'
Timing: Jan 31 2025 06:20:28
Module start 'content'
Timing: Jan 31 2025 06:20:28
Module end 'content'
Timing: Jan 31 2025 06:20:29
Script end

Main resources:

Total runtime0.0239 sec
Peak memory usage2,048.0000 KB
Database Queries3

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0052 588.1250151.2109
Module start 'layout' 0.00520.0021 739.335936.6484
Module start 'content' 0.00730.0147 775.984489.9219
Module end 'content' 0.02190.0019 865.906329.9922
Script end 0.0239  895.8984 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002711.1897140.0002
Check MTime0.00135.5102140.0001
Mysql Total
Database connection0.00072.753610.0007
Mysqli_queries0.00208.540730.0007
Looping result0.00000.045810.0000
Template Total0.00135.510.0013
Template load0.00104.132410.0010
Template processing0.00031.365810.0003
Override
Cache load0.00072.732710.0007
General
dbfile0.006627.664480.0008
String conversion0.00000.033940.0000
Note: percentages do not add up to 100% because some accumulators overlap

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_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