Shape 5

Joomla Templates => Velocity - Club => : CloudTek September 05, 2017, 11:29:47 AM



: Use top_menu instead of Menu position
: CloudTek September 05, 2017, 11:29:47 AM
What the fastest way to swap a menu published in the Menu position to be instead in the top_menu position?
I'm not sure if I can't find it and I'm just derping, or if these older templates don't have the same settings as newer ones...


Thanks!


: Re: Use top_menu instead of Menu position
: CloudTek September 05, 2017, 11:44:44 AM
After further review, it looks like the top_menu positions (along w/ search, and login/register) are not populating when the page loads, even after activating a published module to those positions. 

Any suggestions on how to figure out what's disabling that section?


: Re: Use top_menu instead of Menu position
: mikek September 06, 2017, 06:38:54 AM
Hello,

I am not sure exactly what you are trying to accomplish. Are you trying to disable the S5 Flex Menu and use a standard Joomla menu? If so, you can disable the flex menu, but you can't put another menu in its same location, that's not a module position. You can use top_menu to publish a menu, but that will show below the flex menu area.

As long as you have one of the items you mentioned published the sub menu area will show. It's called with the following code:

<?php if ($s5_login  != "" || $s5_register  != "" || $s5_pos_top_menu == "published" || $s5_pos_search == "published") { ?>   

So if any one of those is true the sub area shows. Make sure you have the menu module published to all pages.