How can I change the menu orientation?

Author Message

yubin cai

Monday 14 January 2008 7:20:41 pm

in eZ publish , Typical installation of eZ Publish 4.0.0 with Website Interface 1.3-0, the menu is landscape orientation just like usually, but I wish the menu is vertical.
for example:
trans
products | solutions | training | support .......
to
products
solutions
training
support
.......
I try to use new templete to realization, but not. How can I change the menu orientation? much appreciation for reply.

André R.

Tuesday 15 January 2008 8:27:51 am

You'll need to make changes to template code to archive that at the moment.
Templates you need to make changes to:
pagelayout.tpl
menu/flat_left.tpl

EDIT: About design and template overrides:
http://ez.no/developer/forum/setup_design/design_visual_part_of_it_how_to#msg156787

eZ Online Editor 5: http://projects.ez.no/ezoe || eZJSCore (Ajax): http://projects.ez.no/ezjscore || eZ Publish EE http://ez.no/eZPublish/eZ-Publish-Enterprise-Subscription
@: http://twitter.com/andrerom

yubin cai

Tuesday 15 January 2008 7:20:02 pm

Thank you for your reply.
There are more pagelayout.tpl and menu/flat_left.tpl, which are correct?
I modify files which path is \extension\ezwebin\design\ezwebin\templates, and can not see any changes on the web sit.
Could you indicate the path to me? Thanks.

Greg McAvoy-Jensen

Tuesday 15 January 2008 7:35:54 pm

Yubin,

You'll want to be familiar with how templates get overridden (http://ez.no/doc/ez_publish/technical_manual/4_0/templates/the_template_override_system) and how to see which templates are being used (http://ez.no/doc/ez_publish/technical_manual/4_0/reference/configuration_files/site_ini/templatesettings/showusedtemplates). This knowledge will help you find which templates are being used and, if desired, develop a template to override one. Feel free to continue asking more specific questions as you go, and welcome to eZ Publish!

Granite Horizon, Certified Developer of eZ Publish Web Solutions
Provider of the SaaS Solution Granite Horizon In The Cloud | http://granitehorizon.com/cloud
http://granitehorizon.com | +1 916 647 6350 | California USA | @granitegreg
Blog: http://granitehorizon.com/blog

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 18 2025 20:58:37
Script start
Timing: Jan 18 2025 20:58:37
Module start 'layout'
Timing: Jan 18 2025 20:58:37
Module start 'content'
Timing: Jan 18 2025 20:58:37
Module end 'content'
Timing: Jan 18 2025 20:58:37
Script end

Main resources:

Total runtime0.0156 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.0054 588.0313152.6406
Module start 'layout' 0.00540.0028 740.671939.4766
Module start 'content' 0.00830.0052 780.148493.3359
Module end 'content' 0.01350.0020 873.484434.3047
Script end 0.0156  907.7891 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.002918.4574140.0002
Check MTime0.00127.4194140.0001
Mysql Total
Database connection0.00074.604810.0007
Mysqli_queries0.002214.256230.0007
Looping result0.00000.140710.0000
Template Total0.001711.010.0017
Template load0.00085.347810.0008
Template processing0.00095.642910.0009
Override
Cache load0.00063.712010.0006
General
dbfile0.00074.302180.0001
String conversion0.00000.045940.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