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

Per Claussen

Wednesday 05 March 2008 3:39:38 am

I'm experiencing problems - is this extension compatible with th ezwebin ext?

Gautier Hankenne

Wednesday 05 March 2008 8:21:55 am

Hello,

Trying this thing in eZ 4.0.0 and it have a strange behaviour:
it shows only the submenu items where I'm in and nothing appears underneath other menu items...

Any help?

Gautier

J-A Eberhard

Wednesday 05 March 2008 1:31:00 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 more classes from the to get fetched add their class id

 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

Gautier Hankenne

Thursday 06 March 2008 2:17:33 am

Thanks,

Here is my filter array:

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

I changed it for each level but doesn't work...

When I go on my page, it shows only the submenu of the page (like a normal ul list) but no other submenu when I'm going on the other menu items...

When I look into the HTML source no other submenus are present... :-s

Any solutions?

Many thanks!

Mickael Robin

Thursday 06 March 2008 6:37:40 am

Template override problem.

Hi, I tried to install this extension on eZ publish 4.0 with ezwebin but I can't have it working, using the administration interface. (I activated the extension, regenarated the autoload array and emptied the caches...).

I'm testing on a folder-made tree so it is not a matter on class filtering.

According to the debug output, it seems that the double_top.tpl file of the extension does not override the original one located at design/base/templates/menu/double_top.tpl

This is strange because the "menu.ini.append.php" file in the extension's "settings" folder has well overriden the original menu settings from the menu.ini file ([SelectedMenu] CurrentMenu=TopOnly TopMenu=flat_top LeftMenu= )

=> Am I supposed to modify an override.ini.append.php file? Logically, the extensions's settings should automatically set this override...

Thanks in advance for your solutions or ideas :-)

Mikrob

drx f.

Friday 28 March 2008 7:11:13 am

It´s not working for me.... FIXED

I´m using ezpublish 4.0.0 with ezwebin 1.3 and installed this extension according to the instructions, but i don´t get any dynamic menu, what happens is that when a menu which has submenu items is selected the sub menu items are displayed vertically between the bottom of the menu and the top of the path creating a space which expands as there are more subitems...

anyone know a solution for this I´d really like to have this extension working for my upcoming website...

I sorted it out, the double_top.tpl was not being overrided properly so i just copied it to my design folder....

thanx neway

Cheers

Mickael Robin

Tuesday 01 April 2008 11:57:44 am

Indeed, it seems that the "double_top.tpl" file of the topdrop extension can not override the standard one using ezwebin1.3.

As drx f. just mentionned it, it is possible to solve this problem by the "hard" way : copying the template in /extension/ezwebin/design/ezwebin/templates/menu
Note that it is then not necessary to copy the stylesheet, images and settings files, which are active even if the template override doesn't work.

Nevertheless, it would be nice to have this extension working out of the box...
=> does anyone see a way to solve this <b>override problem</b>???

Cheers,

MikRob

Brendan Pike

Thursday 17 April 2008 8:22:50 pm

Just wondering if anyone has checked this extension with the upcoming Internet Explorer 8?

I had a quick play with one installation and top drop had sever problems, although I didn't have time to try and find out why.

Has anyone else had any IE8 / top drop experiences, it may become a significant issue for websites using this extension.

Cheers

p.s @ Gabriel R.
Regarding your Superfish comments on the contribution page, is this something you have done or a suggesting someone try.

www.dbinformatics.com.au

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

B. Nkengsong

Sunday 20 April 2008 7:05:10 am

Right with MikRob

It should be possible to plug it as any extension.

Beegee

Sanagha Technologies Corp.
http://www.sanagha.com | http://www.sanagha.net | http://tourisphere.sanagha.net | http://education.sanagha.net
IT Consultant

J-A Eberhard

Sunday 20 April 2008 11:18:26 pm

Hi,

Never tested with IE8

Will make it a 'full' extension ASAP I have time...

Thanks for comments

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

Yudi Setiawan

Thursday 01 May 2008 11:33:01 pm

Hi all,

I'm a newbie to eZ Publish.
And I just started using this extension which I think a very nice one.
Thanks for creating it.

Currently when we use the Link object, it will point to the object id and not the link itself that contained by that Link object.

I tried to fix it by modifying some code :
{if eq( $:item.class_identifier, 'link')}
<li><a class="{concat('menu_',$i)}" href={$:item.data_map.location.content|wash()}>{$:item.name}
{else}
<li><a class="{concat('menu_',$i)}" href={$:item.url_alias|ezurl}>{$:item.name}
{/if}

Hope this info helps.
And please correct me if I do it the wrong way.

Thank you.

Per Claussen

Thursday 08 May 2008 3:20:54 am

topdrop extension works fine - except in Opera, where the dropdown is displayed, but when I try to choose something in the dropdown it disappears. That is, the dropdown disappears as soon as the mousepointer is outside the top menu line.

Anyine experiencing the same problem? Solutions? It probably is a css problem

PC

Mark Emms

Friday 30 May 2008 1:23:22 am

This is a great extension - many thanks.

I have the same problem as Niklas though - how to implement a selected class for the 1st level so that it is clear which area of the site the user is in.

Have tried to implement suggestions here:

http://ez.no/developer/forum/setup_design/highlight_itens_in_the_menu/re_highlight_itens_in_the_menu__2

but with no joy.

{def 
$goleft=ezini( 'TopDrop', 'goleft', 'design.ini')
$root_node=fetch( 'content', 'node', hash( 'node_id', $pagedata.root_node) )
$item_class = array()
$current_node_in_path = first_set($pagedata.path_array[1].node_id, 0  )
} 

{let top_cat=2 used_node=false()}
{set used_node=2}

<div class="menu floatRight">
    <ul>{def $base=fetch( 'content', 'node', hash( 'node_id', 2 ) )} 
    {* FIRST LEVEL *}
    {def $i=0}
    {section loop=fetch(content,list,hash(parent_node_id,$top_cat, class_filter_type, "include", class_filter_array, array(1, 16, etc),sort_by,$base.sort_array))}
    {let child_check=fetch(content,list,hash(parent_node_id,$:item.node_id, class_filter_type, "include", class_filter_array, array(1, 16, etc),sort_by,$base.sort_array))}
    {set $i=inc( $i )}
	{set $item_class = cond($current_node_in_path|eq($item.node_id), array("selected"), array())}

    {if $i|gt( $goleft )}
    <li class="last_tab">
    {else}
    <li>
    {/if}

  
            <a class="{$item_class|implode(" ")}" {*etc!!!*}

$item_class remains empty...

Help greatly appreciated

Mark Emms

Saturday 31 May 2008 4:58:05 am

OK - here's the solution that I've got:

$root_node=fetch( 'content', 'node', hash( 'node_id', $pagedata.root_node) )

does not work because $pagedata does not exist so I removed that.

then use

$current_node_in_path = first_set($module_result.path[1].node_id, 0  )

in place of

$current_node_in_path = first_set($pagedata.path_array[1].node_id, 0 )

:-)

Christoph von Siebenthal

Wednesday 16 July 2008 5:49:53 am

I have installed it, it look very nice with firefox.
But the menus doesn't drop down in (don't smile) IE7.
IE6 works fine.
As nobody reacts it must have worked at a time.
Hope anybody can help me!

Brendan Pike

Thursday 14 August 2008 11:51:03 pm

Howdy, is this extension still been maintained? I'm having the same trouble as Christoph currently. I'll see if I have an older copy handy and see if it resolves the problem with IE7, currently there is no display on mouse over.

www.dbinformatics.com.au

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

Budiono bee

Saturday 10 January 2009 11:58:08 am

Dear All,
I'm new in using ez publish 4.
Please kindly explain (step by step) how to resolve problem with ezpublish 4 like drx f./Mickael Robin explain before.

Thank you before

J-A Eberhard

Tuesday 13 January 2009 11:40:36 pm

Hi,

You have to setup your ez publish to use the 'flat top' to have it working.

I'm running it on several ez publish with ezwebin installed, both 4.0 and 4.1 alpha with no specific problems, should works as it is.

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

Budiono bee

Thursday 15 January 2009 2:46:33 pm

did u mean replacing

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

with

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

in extension\ezwebin\design\ezwebin\templates\pagelayout.tpl? i did that

J-A Eberhard

Thursday 15 January 2009 3:04:29 pm

Yes, this is exactly my template code.

In debug mode, do you see the call to the topdrop template ?

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