Elxis CMS Forum

Support => Technical support => Topic started by: benone on January 29, 2010, 21:39:44

Title: DSMENU Installation
Post by: benone on January 29, 2010, 21:39:44
Hi people.

I need help with the drop list menu installation. Issue is I downloaded the dsmenu folder and uploaded the folder, mod_dsmenu.xml and mod_dsmenu.php into the modules folder of my website. I inserted the piece of code from the readme file as indicated for a horizontal menu.

Now from Elxis admin back-end, under Menu Manager I created new menu with Name "Dsmenu" and Title "Books".

(* When you save this menu, a new mod_mainmenu module with the Title you have entered above, will be created automatically. *

Parameters for the module created are to be edited through the 'Modules Manager [site]': Modules -> Site Modules)

After moving to Site Modules and setting up parameters, the menu title "Books" does not display at all on the Top menu bar where I want it!

Notice that I have set the following parameters:

Menu Name: Dsmenu
Menu Style: Horizontal
Menu Class Suffix: Empty
Module Class Suffix: Empty
Published: Yes
Show Title: Yes
Other parameters: Default

Notice that I have done a guess work to be able to understand the correct steps for the installation of the dsmenu contribution. Any guide to help me setup this stuff is greatly appreciated. Thank you.
Title: Re: DSMENU Installation
Post by: Ivan Trebješanin on January 29, 2010, 21:53:18
You should it install regularly trough modules->install. That way, you just have to select *.zip file and elxis will install everything right.
Title: Re: DSMENU Installation
Post by: benone on January 29, 2010, 22:03:24
Great!!!

I'll do so and let you know. thanks in advance.
Title: Re: DSMENU Installation
Post by: benone on January 30, 2010, 19:07:15

This issue has become a nightmare for me. After doing some guess work I find out how to install the Dsmenu. Do I have to hack into Css to obatin the result I want? I need at the least a simple example as how to display sub menu items at the front page top menu with the dsmenu contribution. Any help? Knowledge to the people!  ;D

Title: Re: DSMENU Installation
Post by: Coursar on January 30, 2010, 22:05:46
what help you need?

If you need another style than provide included dsmenu css-styles, of course, you can edit css files.

Some examples of dropdown menus based on dsmenu:

www.interbridge.org
www.melafen.ru
Title: Re: DSMENU Installation
Post by: Ivan Trebješanin on January 30, 2010, 22:12:28
Here is one live example (module was built for this client): http://www.sprv.org.rs/

Module parameters are set as following:
Module Class Suffix:    none
Menu Name:       mainmenu
Menu Style:       horizontal
SEO PRO Itemid preload: Yes

Module is published at position "top".

Also, menu items are created so to have "children" items. I can't remember anything else worth mentioning. If you are still stuck, I can install it for you.
Title: Re: DSMENU Installation
Post by: benone on January 31, 2010, 02:33:54
Thank you all for your support!!! By the way I'm still off track. no matter what I do I can get the thing to show sub menu items.

@ Ivan: I'm sending you the access info, if you could please have a look. Thanks.
 
Title: Re: DSMENU Installation
Post by: Ivan Trebješanin on January 31, 2010, 03:36:54
So, it was overflow:hidden in template's CSS. You can actually remove everything regarding top menu from template's CSS to avoid any conflicts.

PS
Also, some items in topmenu were unpublished. That took me longer to figure that out then to find css conflict.   :D
Title: Re: DSMENU Installation
Post by: benone on January 31, 2010, 04:01:57
YEEHAW!!!

So you mean there were some bugs walking over my css territory? I will drink my brains out over this early morning! Thanks a lot for the rescue. ;D
Title: Re: DSMENU Installation
Post by: Ivan Trebješanin on January 31, 2010, 14:59:45
So you mean there were some bugs walking over my css territory?

No, actally that was no bug, just simple css conflict.
Title: Re: DSMENU Installation
Post by: benone on February 12, 2010, 22:33:38
I finally moved my website to another host. It's been 3 days the DSMenu has gone on strike again. I'm posting this here in case it happens to another person. I don't know what I've done wrong. I have uninstalled it for now and afraid to install it again because it will spit out the following error:

URI: index.php
Message: Column 'language' in where clause is ambiguous
SELECT m.*, count(p.parent) as cnt FROM elx_menu AS m LEFT JOIN elx_menu AS p ON p.parent = m.id WHERE m.menutype='topmenu' AND m.published='1' AND ((language IS NULL) OR (language LIKE '%spanish%')) GROUP BY m.id ORDER BY m.parent, m.ordering
PHP Error [Warning]

URI: index.php
Path: /modules/mod_dsmenu.php
Line: 66
Invalid argument supplied for foreach()

And when it does I will only find a commented message on line 66.

@ Ivan: could you please try to fix it for me? I will PM you the access code. Thanks in advance.
Title: Re: DSMENU Installation
Post by: benone on February 13, 2010, 02:00:04
Happy to say Ivan has helped me solve the problem. Thanks.  ;D
Title: Re: DSMENU Installation
Post by: benone on February 13, 2010, 02:03:44
He had to update the mod_dsmenu file to get the problem fixed. He also promised to make it available to all. Thanks again.