[j1.6] [Fix Hack inside]Module position "Menu" not working?

Professional Jomal template designed to be easily adaptable to all kinds of business
GK User
Fri Mar 04, 2011 11:50 am
Hello, when i assign a menu to the "menu" module position in the joomla 1.6 version, nothing happens :/
User avatar
Junior Boarder

GK User
Fri Mar 04, 2011 8:40 pm
the main nav is a built in feature, it will always be the default menu that is shown... please see this page for a list of module positions.. those in light blue a built in ,and not a real position you can use.
http://demo.gavick.com/joomla16/apr2010/index.php?option=com_content&view=article&id=2&Itemid=107
User avatar
Platinum Boarder

GK User
Sat Mar 05, 2011 11:54 am
But it shows the footer menu, which is not the default menu o.0
http://berlinestate.co/

And the footer menu is set to footer_nav and shows up at the "Menu" position ....
User avatar
Junior Boarder

GK User
Sat Mar 05, 2011 12:03 pm
Ok, i resolved the issue with moving all main menu items to footer menu and vis versa.

Correction
This does nto wor because the new footer menu ( main menu) does nto who up in the footer_nav position. Instead i have the footer menu (now main menu) at menu & footer_nav position ...


Though somehow the menu & footer_nav both triggered when used, which is meh.
User avatar
Junior Boarder

GK User
Sat Mar 05, 2011 1:53 pm
This is very confusing issue for me, i hope someone is able to help me resolve this oddity.

I thought i make a new module position (which file?)

Thank you for the help you provide!
User avatar
Junior Boarder

GK User
Sun Mar 06, 2011 12:09 am
i don't understand what the problem really is. there is plenty of guides in this forum for making your own positions...

search for [CUSTOM] and see what shows up
User avatar
Platinum Boarder

GK User
Sun Mar 06, 2011 11:15 am
The problem is that i spent money and now i have to hack the scripts myself because there is some bug.

Again, the problem is that menu position "menu" + "footer_nav" use same menu. I only bought your template because im stacked up with work, now the problems here are really not what i expected. Plus i find it rude to tell me to search the forum, why not point me to the topic you talking about? Or better why not provide an answer to the problem?

I'm a new user so bare with me otherwise i have to conclude that the gavick support from some members is lacking.
User avatar
Junior Boarder

teitbite
Mon Mar 07, 2011 12:01 am
Hi

The only bug is that there shouldn't be this menu positions listed. I've informed our programmer to remove it. In our templates menu is a build in feature. This allow us to style it and use javascript functions to make it work. Please simply set the name of the Main Menu to "mainmenu" and this one will be used on the template.

Explodedk mentioned about this topic 94-sporter/70438-custom-adding-top-extra-banner-modules.html#71226 it is an example of how to add a new position but it's not required in Your case.

Please do not feel offenced by asking You to search the forum. This is the reason for us to have this forum.
User avatar
Moderator

GK User
Mon Mar 07, 2011 1:29 pm
Ok.

So the main menu is called "mainmenu" per default. If i assign the mainmenu to "menu" it doesn't show up (It doesn't show up at all!) It doesn't help to delete the mainmenu and create it again.

If i assign the mainmenu to "footer_nav" it shows up at "menu and "footer_nav".

I now have Footer Menu assigned to "footer_nav" and Main Menu assigned to "footer_nav". Which at least displays the main menu links at "menu" position, if i move the menu items around. Still at "footer_nav" there is the footer menu items with a few "mainmenu" items.

Teitbite, if you like you can get admin access to have a look. The thing is that this problem needs to be resolved or i cannot use this template :(
User avatar
Junior Boarder

GK User
Mon Mar 07, 2011 3:07 pm
I fixed the problem with teh HACK!

Open ../template/layouts/blocks/nav.php and it is this line: 54, heavy modification
Code: Select all
         $this->menu->loadMenu($this->getParam('mainmenu','mainmenu'));
User avatar
Junior Boarder

teitbite
Tue Mar 08, 2011 8:46 am
Hi

Yes that's also a solution :D

But as You can see menu is not using positions. Looking at Your solution I think that it was a configuration problem in the menu section of the template. Please check Your settings. Demo site looks like that:
User avatar
Moderator


cron