Dynamic DoubleTop menu?

Author Message

Ashley Knowles

Sunday 26 March 2006 8:46:36 pm

I see how this website has a dynamic/javascript DoubleTop menu system, and I would like to implement something similar with my ezPublish implementation. Are there any extensions or code examples around that I could refer to?

Siniša Šehović

Sunday 26 March 2006 10:53:46 pm

Hi

I would also like to know how to do that!

S.

---
If at first you don't succeed, look in the trash for the instructions.

Betsy Gamrat

Monday 27 March 2006 5:49:25 am

Try the existing system design settings.

Under the admin console, go to Design > Menu Management and then choose "Double Top Menu". You can see it running at http://robots-wizard.com/.

Siniša Šehović

Monday 27 March 2006 6:45:05 am

:-)

That is not "really" dinamic top menu like this one on eZ Systems.

S.

---
If at first you don't succeed, look in the trash for the instructions.

Betsy Gamrat

Monday 27 March 2006 7:13:49 am

You are right - it isn't dynamic.

As usual, it depends on how much time you have to invest in the task. If you just need double top menus - this is the <b>fastest</b> solution.

I agree it would be nice if eZ included the dynamic code or distributed its source. In place of that, my approach would be to create a template that generates the javascript to manage the menus. That type of code can be surprisingly easy to develop, if you have the time.

I'm going to watch this thread, hoping someone else posts the answer that I can copy.

Betsy Gamrat

Friday 31 March 2006 4:51:31 pm

http://ez.no/community/contribs/applications/dynamic_double_top_menu

:)

Pascal France

Saturday 01 April 2006 9:40:26 am

Hi,

Don't take care about the screenshot shown on the contrib page.
You can see the real menu here:

http://www.linuxorable.net/ez_publish

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

Ashley Knowles

Sunday 09 April 2006 5:39:24 pm

That's great.... Unfortunately, I have opted for a normal drop down menu (using Suckerfish), time constraints were getting the worse of me.

Thanks for the contributions though :)

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

Main resources:

Total runtime1.0246 sec
Peak memory usage4,096.0000 KB
Database Queries76

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0055 587.9063152.6250
Module start 'layout' 0.00550.0034 740.531339.4453
Module start 'content' 0.00891.0144 779.9766658.7813
Module end 'content' 1.02330.0012 1,438.757816.1719
Script end 1.0245  1,454.9297 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00330.3212160.0002
Check MTime0.00130.1274160.0001
Mysql Total
Database connection0.00100.093410.0010
Mysqli_queries0.948192.5331760.0125
Looping result0.00090.0836740.0000
Template Total0.996997.320.4984
Template load0.00250.242920.0012
Template processing0.994497.055120.4972
Template load and register function0.00020.022810.0002
states
state_id_array0.00080.074710.0008
state_identifier_array0.00140.139520.0007
Override
Cache load0.00220.2156380.0001
Sytem overhead
Fetch class attribute can translate value0.00100.093240.0002
Fetch class attribute name0.00100.0943100.0001
XML
Image XML parsing0.00110.111740.0003
class_abstraction
Instantiating content class attribute0.00020.0149130.0000
General
dbfile0.00110.1110210.0001
String conversion0.00000.000840.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
8content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
9content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
5content/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: 25
 Number of unique templates used: 6

Time used to render debug report: 0.0001 secs