Wednesday 31 January 2007 1:17:13 pm
Hi Espen sorry for the late answer, I don't have much time at my hands right now. Normally the flat_left.tpl is in the folder extension\ezwebin\design\ezwebin\templates\menu (eZ 3.9) or in \design\base\templates\menu (eZ 3.8.4). You can also find that out yourself: Enable debug output and the list of used templates (righthand menu in the admin part). Then clear the cache and load the page with the menu again. The you will see the name and the path of the flat_left template in the debug output below your page. As you should not change the original file but create an override instead you should add something like the following code to the override.ini of your siteaccess. The entry for Source corresponds to the path below the templates folder in your design directory. The entry for Matchfile corresponds to the name of your override template which should be located under the override/template folder of your design directory. If you sort your override templates in folders, specify the name of this folder there as well.
[my_flat_left]
Source=menu/flat_left.tpl
MatchFile=my_flat_left.tpl
Subdir=templates
Create the override template and put in the code for your left menu. Here another example for creating a manual override: http://ez.no/doc/ez_publish/technical_manual/3_8/templates/the_template_override_system/template_override_example Once you have done that, empty the cache and refresh the page. Now your override for the flat_left.tpl should be used.
You can also do without the overrides and just create your own template with the left menu and then include this template in the pagelayout.tpl using the include function: http://ez.no/doc/ez_publish/technical_manual/3_8/reference/template_functions/miscellaneous/include This might actually be the easier solution. Claudia
|