Shape 5

Joomla Club Extensions => Accordion Menu - Club => : jc786 October 07, 2009, 04:13:34 AM



: installing multiple copies of the same menu?
: jc786 October 07, 2009, 04:13:34 AM
Hi,
How can i install multiple copies of this mod so that i can use it for different menus?
thanks


: Re: installing multiple copies of the same menu?
: jc786 October 07, 2009, 04:20:41 AM
forgot to mention that i renamed the zip file and also the 2 files in the zip folder but still got an error  message:
Module Install: Another module is already using directory: "/public_html/modules/mod_s5_accordion_menu"



: Re: installing multiple copies of the same menu?
: jonahh October 08, 2009, 12:09:55 AM
You would have to rename the PHP and XML file.  Then open up the php file and rename any instances of this same in the XML file.


: Re: installing multiple copies of the same menu?
: rfarrell December 15, 2009, 12:32:28 AM
Do you need to rename the helper.php as well?


: Re: installing multiple copies of the same menu?
: jonahh December 15, 2009, 02:13:29 PM
now you shouldnt have to as it'll be in a different folder


: Re: installing multiple copies of the same menu?
: mrooke January 28, 2010, 02:57:54 PM
Im trying to do this as well... I have renamed the php and xml, then went through each of those and renamed everything that had the original name in it.. did not work for me, then i renamed the java script and css stuff still with no success. It still shares the background image of the original extension,  Can you be more specific on what needs to be changed and where?

Thanks


: Re: installing multiple copies of the same menu?
: jonahh January 28, 2010, 07:21:39 PM
Did you then rezip and reinstall?  If so you must have missed something if its still not working.


: Re: installing multiple copies of the same menu?
: troyjadams April 10, 2010, 07:07:14 AM
Hi,

I am also having some problems with this... I have followed the instructions above and receive the following error when I enable the module:

Fatal error: Cannot redeclare class JMenuTree2 in /public_html/joomla1/modules/mod_s5_accordion_community_menu/helper.php  on line 411

I am trying to configure a second menu (within the Touch of Soul template) that should appear while users are logged in.

Thanks!

Troy.


: Re: installing multiple copies of the same menu?
: troyjadams April 10, 2010, 07:42:27 AM
Hi again,

I made some changes to "helper.php" (I renamed JmenuTree2 to JmenuTree22 and then modMainMenuHelper2 to ModMainMenuHelper22). This allowed the front page to display without the critical error. The second Accordion Menu now doesn't display correctly (see IncorrectDisplay.jpg). The first menu does (see CorrectDisplay.jpg).

Have you got any suggestions? I really need to have two menus on the front page. One as the "Main Site Menu" and another menu for the "Community" when users are logged in. The "Community Menu" will have completely different items than the "Main Menu"...

Thanks for your help!

Troy.


: Re: installing multiple copies of the same menu?
: jonahh April 12, 2010, 04:07:31 PM
Looks like a CSS issue, make sure you didn't remove or rename any of the DIVs that we have in the file