CSS Dropdown Top menu Forum

Author Message

J-A Eberhard

Wednesday 28 March 2007 2:14:23 am

This forum is for comments and trouble about the CSS Dropdown Top menu extension on http://ez.no/community/contribs/template_plugins/css_dropdown_top_menu

To Pat - In debug mode, do you see the call to the double_top.tpl
To Sinisa - Could you send me the html output?

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

J-A Eberhard

Wednesday 28 March 2007 10:14:36 am

In pagelayout, you have to place this

  <div class="float-break">
      {menu name=TopMenu}
  </div>

and take away this one

  <div id="topmenu" class="float-break">
    {include uri='design:menu/flat_top.tpl'}
  </div>

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

Yann Decam

Wednesday 28 March 2007 1:05:38 pm

J-A
The double_top.tpl is only used when logged onto the front-end and with the modification of pagelayout, the menu appear but the menu is not complete.
Also as anonymous user i still got nothing.
Below the picture.
http://www.france-modelisme.com/snap.jpg

J-A Eberhard

Wednesday 28 March 2007 1:22:20 pm

Have a look in the double_top.tpl template.
Each fetch has a

class_filter_array, array(1)

parameter.
By default only object of class 1 are fetch (the folders). If you want all elements from the ezwebin to get fetched replace by

 class_filter_array, array(1,19,20,31)

Same logic apply also to sub folders, you can select at each level which classes are fetched.

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

Seb Udontneedtoknow

Tuesday 10 April 2007 4:53:12 am

Hello,
I've just installed the extension and I was wondering if it was possible to allow more than 4 levels deep for the menu.
If yes, how to setup this ?
Thanx a lot.
Seb

J-A Eberhard

Tuesday 10 April 2007 5:02:27 am

Hi,
In theory yes, but I believe it will be hard to navigate (so easy to get the mouse over the border of an element and the whole menu closes down)
If you want to try, you are welcome.
Jacques-andré

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

Erik Briggs

Thursday 26 April 2007 2:13:38 pm

I had a problem with my level 3 displaying messed up in IE7 (and I have no need of level 4), so I fixed it by removing the level 4 reference in the template. IE6 and FF never had any issues at all.

Brendan Pike

Thursday 05 July 2007 10:03:49 pm

Hi, I tried out this extension today and found some curious behavior, I only have 2 levels of folders currently but in IE7 the second levels height was small and mouse overs would not always show the tables. Here's the odd thing, I found that line 25:
<!--[if IE 7]><!--></a><!--<![endif]-->
was not been used by IE7, if I changed it to:
<!--[if IE]><!--></a><!--<![endif]-->
then it worked fine in IE7.

Any thoughts on why IE7 wouldn't respond to the if IE 7 conditional?

my IE version is 7.0.5730.11

Cheers

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Brendan Pike

Thursday 12 July 2007 10:04:59 pm

Think I identified a new bug today that may effect some users.

line 151 of the css # div.menu ul, ol The margin: 0 causes numbers lists within the content to fall too far left of the content column. Removing it didn't appear to have any negative side effects in FF2 or IE7.

www.dbinformatics.com.au

We are always interested in hearing from experienced eZ PHP programmers and eZ template designers interested in contract work.

Brian Baxter

Saturday 04 August 2007 2:46:18 pm

When I added this to my installation, I had a link in the menu that went outside of ezpublish to another part of my website, now the link is no longer there.

To be more specific, the link was created in ezpublish and is an external link. when I added this crontribution the link disappeared. But the remaining folders are still there.

Behind every great fortune lies a crime.
http://www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
http://www.galants.org - The Home for Galant Enthusiasts
http://www.locatemyip.com - More than just free IP displays

J-A Eberhard

Friday 10 August 2007 7:54:16 am

If the content class is the 'link' from eZ publish standard install, then you have to add the content class number in your array (11).

array(1, 11, 16, 17, 19, 20, 23, 38, 39)

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

Brian Baxter

Friday 10 August 2007 12:21:48 pm

Thanks that worked great, too bad I had already added a link to the top by the login/logout buttons. Where would one find out this information for future reference?

Behind every great fortune lies a crime.
http://www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
http://www.galants.org - The Home for Galant Enthusiasts
http://www.locatemyip.com - More than just free IP displays

Brian Baxter

Friday 17 August 2007 6:03:13 am

Ok I have another question, what is the class identifier for a forum.

Behind every great fortune lies a crime.
http://www.3cwired.com - Web Design/SEO/Repair/Sales/Upgrades
http://www.galants.org - The Home for Galant Enthusiasts
http://www.locatemyip.com - More than just free IP displays

J-A Eberhard

Friday 17 August 2007 6:15:18 am

Have a look in http://mydomain.com/admin/class/classlist/1 at the ID attribute.
In 3.9.2 it's 59 but it can be another number in another install / version of eZ publish.
regards
JAE

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

Jianjun Hu

Tuesday 25 September 2007 6:46:15 am

Hi, J-A Eberhard

I have installed the lastest <b>topdrop</b> extension successfully with eZ Publish 3.9.2. It works well. But I only want the menu to go forward no more than two levels. Could you please tell me how to do?
Thanks!

OnlyBlue

☆..·°∴°.☆°°.☆°.
°∴ °☆ .·enjoy star° .·★°∴°
∴°.°★ .·°
  ミ☆°∴°.★☆° ∴·°
°.☆° .·∴° 

Is it a pleasure after all to practice in due time what one has learnt?

J-A Eberhard

Wednesday 26 September 2007 4:52:20 am

Hi,

Have a look at the template, it's as a 4 level loop to fetch attributes.
In level 3 and 4 just leave empty the list of classes that should be fetched.

class_filter_array, array()

Regards

J-A Eberhard

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

Martynas Bilevičius

Sunday 14 October 2007 10:07:32 am

Hi, i try menu but how i cant set what also show first node "HOME " now it shoew only all nodes inside Home node .

J-A Eberhard

Sunday 14 October 2007 10:52:40 am

Hi,
This is normal behavior of any menu, to see what's inside the main node.
If you was displaying this node, you will have only one entry in the menu toolbar, the main node, with all other nodes below it.
I think it will not help to navigate your site.

Jacques-André

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

Niklas Gunnäs

Sunday 14 October 2007 12:10:13 pm

Hi

Thanks for a very nice extension

I need help with how to make top menu show what area/section that is active/selected. Just like her on ez.no where developer is marked/selected if developer and any subarea/section is chosen

Best regards

Per Claussen

Wednesday 05 March 2008 1:48:54 am

Anyone tried to use this extension with eZ Publish 4 ?

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 04:17:04
Script start
Timing: Jan 18 2025 04:17:04
Module start 'layout'
Timing: Jan 18 2025 04:17:04
Module start 'content'
Timing: Jan 18 2025 04:17:05
Module end 'content'
Timing: Jan 18 2025 04:17:05
Script end

Main resources:

Total runtime1.2656 sec
Peak memory usage4,096.0000 KB
Database Queries142

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0065 589.1484152.6406
Module start 'layout' 0.00650.0035 741.789139.4766
Module start 'content' 0.01001.2540 781.26561,020.8125
Module end 'content' 1.26410.0014 1,802.078136.1484
Script end 1.2655  1,838.2266 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00340.2707160.0002
Check MTime0.00150.1213160.0001
Mysql Total
Database connection0.00120.094310.0012
Mysqli_queries1.133089.52501420.0080
Looping result0.00170.13261400.0000
Template Total1.227997.020.6140
Template load0.00260.201720.0013
Template processing1.225396.823320.6127
Template load and register function0.00010.007610.0001
states
state_id_array0.00090.071110.0009
state_identifier_array0.00160.126920.0008
Override
Cache load0.00230.18511020.0000
Sytem overhead
Fetch class attribute can translate value0.00170.1330100.0002
Fetch class attribute name0.00300.2400230.0001
XML
Image XML parsing0.00290.2259100.0003
class_abstraction
Instantiating content class attribute0.00010.0053300.0000
General
dbfile0.00130.0994270.0000
String conversion0.00000.000740.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
10content/datatype/view/ezimage.tpl<No override>extension/sevenx/design/simple/templates/content/datatype/view/ezimage.tplEdit templateOverride template
20content/datatype/view/ezxmltext.tpl<No override>extension/community_design/design/suncana/templates/content/datatype/view/ezxmltext.tplEdit templateOverride template
26content/datatype/view/ezxmltags/paragraph.tpl<No override>extension/ezwebin/design/ezwebin/templates/content/datatype/view/ezxmltags/paragraph.tplEdit templateOverride template
11content/datatype/view/ezxmltags/line.tpl<No override>design/standard/templates/content/datatype/view/ezxmltags/line.tplEdit templateOverride template
5content/datatype/view/ezxmltags/literal.tpl<No override>extension/community/design/standard/templates/content/datatype/view/ezxmltags/literal.tplEdit templateOverride template
1print_pagelayout.tpl<No override>extension/community/design/community/templates/print_pagelayout.tplEdit templateOverride template
 Number of times templates used: 74
 Number of unique templates used: 7

Time used to render debug report: 0.0002 secs