Problems with the creation of a dropdown menu

Author Message

Senek Sasa

Sunday 28 October 2007 2:04:39 pm

Hello,

I have just started to use ezpublish so I am therefore sorry if my question is pretty basic !

My homepage is a frontpage and I would like to add a dropdown menu in a table in the lefthand side column.

I have managed to create the menu (it works under firefox) but because of the CSS interpretation problem of internet explorer 6 (eg: td:hover), the menu is not able to dropdown with the browser.

After looking on many websites, I have found a few javascripts to bypass the problem.

However, I don't quite understand the explanations on the ez.no documentation on how to intergrate the script.

Do I have to directly modify the pagelayout.tpl? If so, how?

Or, should I refer the *.js script in the following file: design.ini.append.php? I have tried it but without much success!

Any other possibilities are also welcome!

Many thanks!

J-A Eberhard

Sunday 28 October 2007 4:12:10 pm

Hi,

You can try my extension http://ez.no/developer/contribs/template_plugins/css_dropdown_top_menu
No javascript, cross browser css.

Open Source Solution Provider
Open-Net Ltd Switzerland
http://www.open-net.ch

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 19 2025 04:43:09
Script start
Timing: Jan 19 2025 04:43:09
Module start 'layout'
Timing: Jan 19 2025 04:43:09
Module start 'content'
Timing: Jan 19 2025 04:43:09
Module end 'content'
Timing: Jan 19 2025 04:43:09
Script end

Main resources:

Total runtime0.8838 sec
Peak memory usage4,096.0000 KB
Database Queries54

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0071 589.2891152.6406
Module start 'layout' 0.00710.0039 741.929739.4766
Module start 'content' 0.01090.8716 781.4063522.5234
Module end 'content' 0.88250.0012 1,303.92978.2813
Script end 0.8837  1,312.2109 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.3827160.0002
Check MTime0.00130.1457160.0001
Mysql Total
Database connection0.00110.122010.0011
Mysqli_queries0.835494.5232540.0155
Looping result0.00050.0559520.0000
Template Total0.850996.320.4254
Template load0.00220.245820.0011
Template processing0.848796.032120.4243
Template load and register function0.00020.027610.0002
states
state_id_array0.00080.089210.0008
state_identifier_array0.00100.116820.0005
Override
Cache load0.00180.2000180.0001
Sytem overhead
Fetch class attribute can translate value0.00060.069620.0003
Fetch class attribute name0.00120.134230.0004
XML
Image XML parsing0.00070.075720.0003
class_abstraction
Instantiating content class attribute0.00000.000930.0000
General
dbfile0.00160.1837150.0001
String conversion0.00000.001440.0000
Note: percentages do not add up to 100% because some accumulators overlap

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
2content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
3content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
1content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
1content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 9
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs