Share » Forums » Install & configuration » CSS Dropdown Top menu Forum

CSS Dropdown Top menu Forum

CSS Dropdown Top menu Forum

Wednesday 28 March 2007 2:14:23 am - 52 replies

Author Message

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 ?

J-A Eberhard

Wednesday 05 March 2008 1:53:15 am

It does work with eZ 4.0

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

You must be logged in to post messages in this topic!

36 542 Users on board!

Forums menu