Elxis CMS Forum

Extensions => Modules => Topic started by: cfb1972 on October 02, 2010, 13:27:47

Title: Top Menu: how to show drop-down menus?
Post by: cfb1972 on October 02, 2010, 13:27:47
can the Top Menu show drop-down sub-menus? I've placed a Category under Home (Home>Articles) but when hoovering the mouse on top of Home nothing happenen, I mean I was expecting to see the Articles sub-menu...any idea how this work?
Title: Re: Top Menu: how to show drop-down menus?
Post by: webgift on October 02, 2010, 13:37:16
Welcome to our community.
Please don't repeat the posts.
Answer is here : http://www.elxis-downloads.com/downloads/menus/55.html
Search the forum about and you will find interesting results. ;)
Title: Re: Top Menu: how to show drop-down menus?
Post by: cfb1972 on October 02, 2010, 13:38:52
Sorry, I couldn't find that.
Thanks
Title: Re: Top Menu: how to show drop-down menus?
Post by: webgift on October 02, 2010, 13:44:50
This forum is like Encyclopedia ;).
You can read about Elxis on our Wiki too: http://wiki.elxis.org/wiki/Main_Page

Title: Re: Top Menu: how to show drop-down menus?
Post by: cfb1972 on October 02, 2010, 14:02:35
I've installed that module but what that means: "Edit your template index.php and add bellow your template's CSS these lines:"
Template's CSS?
Title: Re: Top Menu: how to show drop-down menus?
Post by: webgift on October 02, 2010, 14:03:55
Firstly you want to use that as horizontal or as vertical menu ?
Title: Re: Top Menu: how to show drop-down menus?
Post by: cfb1972 on October 02, 2010, 14:05:47
Horizontal...instead of the standard Top Menu module. And I need to be able to show drop-down menus.
Title: Re: Top Menu: how to show drop-down menus?
Post by: webgift on October 02, 2010, 14:14:33
Ok.
Go to the template folder that you use.
You will find that on : elxis_root/templates/name_of_template_you_use/

1. You will find a file name : index.php open that with a program like : Notepad++ (http://notepad-plus-plus.org/release/5.8.1). It's free
2. Open the file and add these two lines before of </head>

<link rel="stylesheet" type="text/css" href="<?php echo $mosConfig_live_site; ?>/modules/mod_iosdvmenu/iosdvmenu.css" />
<script type="text/javascript" src="<?php echo $mosConfig_live_site; ?>/modules/mod_iosdvmenu/iosdvmenu.js"></script>

3. Save that file as UTF-8 without BOM

4. Go to the administrator area : Modules->site modules -> [Click on] IOS DV Menu -> [At field] Published: [change to ] Yes.

Ready!
Title: Re: Top Menu: how to show drop-down menus?
Post by: cfb1972 on October 02, 2010, 14:29:25
It's not working as expected.
What I get now is the sub-menu item showing all the time not only I hoover the cursor over it.
Have a look:


[attachment deleted by admin]
Title: Re: Top Menu: how to show drop-down menus?
Post by: cfb1972 on October 02, 2010, 14:30:17
And the header of index.php look like:


[attachment deleted by admin]
Title: Re: Top Menu: how to show drop-down menus?
Post by: webgift on October 02, 2010, 14:32:44
As i mentioned copy these two lines just before </ head>


NOT <head>
Title: Re: Top Menu: how to show drop-down menus?
Post by: cfb1972 on October 02, 2010, 14:49:58
I've done that now but still nothing...now the sub-menu does not show at all  ???



[attachment deleted by admin]
Title: Re: Top Menu: how to show drop-down menus?
Post by: webgift on October 02, 2010, 15:20:21
DV is Vertical only Menu! ;D
Oh ... Sorry! the code that you show me is right!

Appearance of that :
(http://img829.imageshack.us/img829/4575/verticalmenuphiloxenia.png)

Code :

(http://img375.imageshack.us/img375/4431/codephiloxenia.png)

This module Suckerfish Menu (http://www.elxis-downloads.com/downloads/menus/3.html) is either for Horizontal or for Vertical menus.
I always confuse that modules!