Suggestion : dropdown menu !

Author Message

Thomas VIDAL

Friday 23 September 2005 2:03:39 am

Hi all,

Many of websites now have dropdown menu... and in ezpublish if you want to add a dropdown menu it's VERY difficult ! So... if you can add a dropdown menu in the menu template, or if you can make a great document on "how to make a dropdown menu" it will be perfect !

Many thanks for all that's already be done.

Have a nice day,

Thomas

Felipe Jaramillo

Tuesday 27 September 2005 5:25:10 am

Hi Thomas,

I suggest you check out this contribution:

http://ez.no/community/contribs/template_plugins/suckerfish_dropdown_menu

It's actually a very clean and easy to implement dropdown menu.

Maybe it could be integrated into a future release by default, but it works pretty well for now.

Best regards,
Felipe

Felipe Jaramillo
eZ Certified Extension Developer
http://www.aplyca.com | Bogotá, Colombia

Thomas VIDAL

Tuesday 27 September 2005 9:17:41 am

hi felipe,

Yes, I have seen this topic. But in my case (and I think in a lot of case) I want to use different pictures to create the dropdown menu.
Anyway, a CMS is to manage the content... but we do not forget the design.

Thanks a lot,

Thomas

Felipe Jaramillo

Friday 30 September 2005 1:01:26 pm

Hi Thomas,

If you look closely, the code that displays the menu is standard ez template language.

You can create menus with images either by displaying an image attribute using attribute-view-gui or create an array with the object id's and the related images.

We have created dropdowns that have an image in the first level of navigation (eg. using image buttons for sections), but i guess it can be done with second and third levels too.

From all the CMS's we've used, the suckerfish solution used by this contrib is the most flexible.

Let me know if you'd need anything more complicated.

Regards,

Felipe

Felipe Jaramillo
eZ Certified Extension Developer
http://www.aplyca.com | Bogotá, Colombia

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 19:34:24
Script start
Timing: Jan 18 2025 19:34:24
Module start 'layout'
Timing: Jan 18 2025 19:34:24
Module start 'content'
Timing: Jan 18 2025 19:34:24
Module end 'content'
Timing: Jan 18 2025 19:34:24
Script end

Main resources:

Total runtime0.7781 sec
Peak memory usage4,096.0000 KB
Database Queries60

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 587.9141152.6250
Module start 'layout' 0.00660.0039 740.539139.4453
Module start 'content' 0.01050.7661 779.9844506.3672
Module end 'content' 0.77660.0015 1,286.351612.1641
Script end 0.7781  1,298.5156 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00360.4595160.0002
Check MTime0.00140.1740160.0001
Mysql Total
Database connection0.00100.123210.0010
Mysqli_queries0.719792.4932600.0120
Looping result0.00080.0981580.0000
Template Total0.738694.920.3693
Template load0.00220.278020.0011
Template processing0.736594.646720.3682
Template load and register function0.00040.050310.0004
states
state_id_array0.00120.158010.0012
state_identifier_array0.00150.191320.0007
Override
Cache load0.00180.2366310.0001
Sytem overhead
Fetch class attribute can translate value0.00100.129020.0005
Fetch class attribute name0.00280.364840.0007
XML
Image XML parsing0.00030.032220.0001
class_abstraction
Instantiating content class attribute0.00000.001340.0000
General
dbfile0.00060.0790100.0001
String conversion0.00000.001540.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
4content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
6content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
2content/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: 14
 Number of unique templates used: 5

Time used to render debug report: 0.0002 secs