PHP-GTK2 Cookbook Forum
Welcome, Guest
Please Login or Register.    Lost Password?
How to incorporate the main menu content into GAM? (1 viewing) (1) Guest
Go to bottom Post Reply Favoured: 0
TOPIC: How to incorporate the main menu content into GAM?


#3156
Balance (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
How to incorporate the main menu content into GAM? 3 Years, 4 Months ago Karma: 0  
Hello everyone! :)

I know just enough html and css to completely change the look of a template any way I want, but implementing new scripts and modules drives me nuts sometimes. And getting the Glossy Accordion Menu - Module to work definitely drives me nuts...



Basically I got my original joomla main menu module which displays around ten sections and within each of these sections there are around 3 categories. Once you click on a section, you see its categories under it - which is lame and the reason why I want to replace it with the amazing mouse-over effect of the GAM.

---------
Section
v-Section
-Category
-Category
-Category
Section
Section
---------

Now I downloaded the GAM-Plugin and the GAM-Module and enabled both. There's three things I'm perplexed about:

1) With or without anything written in the "Content" window of the GAM - Module Parameters I get the following message displayed five times on the live webiste:
(That is within the new module window that's obviously titled "Glossy Accordeon Menu")

Warning: Parameter 2 to botJoomfishAlternative() expected to be a reference, value given in C:\xampp\htdocs\libraries\joomla\event\dispatcher.php on line 136

Does this mean the GAM - Module is incompatible with the Joomfish Component?? =( How can I fix this?

2) What do I need to put into the "Content" window of the GAM - Module so that it can display all the sections and categories of the original main menu?
Is there some kind of code that I can paste in there to enable the module to simply read and display the contents of the original main menu?
Kinda like this accordion menu module does automatically: http://extensions.joomla.org/extensions/structure-a-navigation/menu-systems/accordion-menus/5459


3) Since the GAM is a module it is displayed inside of a generic module-window in the look of the specific template. How can I get rid of the generic module window and instead get the original look of your blue-gloss GAM?


PS: I'm trying this out on a local joomla installation with XAMPP if it makes any difference. Don't wanna mess up the real website ;)
 
  The administrator has disabled public write access.

#3160
kksou (Admin)
Admin
Posts: 1680
graph
User Online Now Click here to see the profile of this user
Re:How to incorporate the main menu content into GAM? 3 Years, 4 Months ago Karma: 27  
Hi,

First of all, let me set your expectations right first. As mentioned in the web page where you download the plugin, ths original code was written by www.dynamicdrive.com. However, the code was a generic PHP code. It's not written for Joomla. What I've done is to wrap this into a Joomla plugin so that you can use the menu within a Joomla article.

The module was later created so that you can put the menu in a module position, instead of in an article.

As the original author did not write this with Joomla in mind, naturally the menu items are not integrated with the Joomla framework. What this means is that the menuitems are not pulled automatically from your sections and categories of the original main menu. All menu items have to be created MANUALLY.

In any case, if you are still interested to use this plugin/module, please read on.

The module makes use of the plugin. So let's try to get the plugin to work first in an article. Once it works, you can then easily copy and paste the code into the module.

1) Uninstall the module first, leaving only the plugin.

2) Create a new article.

3) Create some menu items as outlined in the documentation, e.g.

[Glossy_Accordion_Menu]
<a href="http://www.site1.com">General</a>
- <a href="url1">Introduction</a>
- <a href="url2">Unique Features</a>
- <a href="url3">How to Use</a>
- <a href="url4">Demo</a>
<a href="http://www.site1.com/links">Links</a>
- <a href="http://www.google.com">Google</a>
- <a href="http://www.yahoo.com">Yahoo</a>
- <a href="http://www.joomla.org/">Joomla</a>
[/Glossy_Accordion_Menu]

Note: please replace all square brackets with curly brackets i.e. { with [, and } with ]

4) Save the article and load the article. Did you see the menu, something like this?

Powered by JoomlaGadgets



5) If (4) is working, it means the plugin is running fine. Now, please download the latest copy of Glossy Accordion Menu module v1.51
This should solve your problem one.

6) In the parameter "Content", paste the code that you've written in the article above. Save the module. Don't forget to publish the module and place in your desired module position.

Let me know if it works.

Regards,
/kksou
 
 
Last Edit: 2010/01/25 09:47 By kksou.
  The administrator has disabled public write access.

#3168
Balance (User)
Fresh Boarder
Posts: 2
graphgraph
User Offline Click here to see the profile of this user
Re:How to incorporate the main menu content into GAM? 3 Years, 3 Months ago Karma: 0  
Hi kksou!

First of all let me say thank you for your incredibly rapid answer. =)


Thanks to your answer I realized that the Glossy Accordion Menu unfortunately isn't the solution I'm looking for. Especially since the page I'm developing is multilingual and would have to support different menu languages when combined with Joomfish...

So in the last days I've looked into commercial solutions that have all the features I ultimately need for the menu to work exactly the way it's supposed to.

-------

However I'm sure your effort to answer my questions wasn't in vain, since others will come here and read it as well. =)


I'd be happy to report if your tips worked but I'm already implementing the commercial menu and since I got a tight deadline for the completion of the page I can't take the risk to try the GAM out right now.

However I'll keep the existance of GAM in the back of my head, since it might be very useful for some coming contracts or projects. =D

Thx again!
 
  The administrator has disabled public write access.



Go to top Post Reply
Powered by FireBoardget the latest posts directly to your desktop

Blog - Forum - Privacy Policy - Contact Us
Links - Classes - Social Business - BPM - Web - General
Copyright © 2006-2013. kksou.com. All Rights Reserved