-
AuthorPosts
-
March 26, 2011 at 10:19 pm #161981
I am using the JA OPAL template and would like to use a different menu system. I’ve installed the new menu system and assigned it to the JA MENU position, but the new menu is not displaying. When I look through the modules, none of them are JA MENU, so I can’t figure out how to disable the standard menu either.
So basically, I want to remove the standard menu at the top under the header area, and replace it with the new one in a module.
Any ideas?
Thanks!
March 26, 2011 at 10:42 pm #383439<em>@volotech 230397 wrote:</em><blockquote>I am using the JA OPAL template and would like to use a different menu system. I’ve installed the new menu system and assigned it to the JA MENU position, but the new menu is not displaying. When I look through the modules, none of them are JA MENU, so I can’t figure out how to disable the standard menu either.
So basically, I want to remove the standard menu at the top under the header area, and replace it with the new one in a module.
Any ideas?
Thanks!</blockquote>
The module position I am refering to is here – http://www.joomlart.com/static/guides/layout/?ja_opal
The main menu just under the header area, named JA MENU. That’s where I want to install this new menu system and remove the current one.
huypl Friendhuypl
- Join date:
- February 2011
- Posts:
- 162
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 20 times in 20 posts
March 28, 2011 at 8:19 am #383600Hi volotech,
Try this way:
Open templatesja_opalblocksheader.php
Find and delete these lines:
[PHP] <div id=”ja-mainnav” class=”clearfix”>
<?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?><!– jdoc:include type=”menu” level=”0″ / –>
<?php if ($this->hasSubmenu() && ($jamenu = $this->loadMenu())) : ?>
<div id=”ja-subnav” class=”clearfix”>
<?php $jamenu->genMenu (1); ?>
<!– jdoc:include type=”menu” level=”1″ / –>
</div>
<?php endif;?>
</div> [/PHP]Then clear cache, and the mega menu won’t be shown again.
March 28, 2011 at 9:01 pm #383703<em>@huypl 230610 wrote:</em><blockquote>Hi volotech,
Try this way:
Open templatesja_opalblocksheader.php
Find and delete these lines:
[PHP] <div id=”ja-mainnav” class=”clearfix”>
<?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?><!– jdoc:include type=”menu” level=”0″ / –>
<?php if ($this->hasSubmenu() && ($jamenu = $this->loadMenu())) : ?>
<div id=”ja-subnav” class=”clearfix”>
<?php $jamenu->genMenu (1); ?>
<!– jdoc:include type=”menu” level=”1″ / –>
</div>
<?php endif;?>
</div> [/PHP]Then clear cache, and the mega menu won’t be shown again.</blockquote>
Hi huypl, in my ja_opal folder there is no sub-folder named /blocks/ :((
huypl Friendhuypl
- Join date:
- February 2011
- Posts:
- 162
- Downloads:
- 0
- Uploads:
- 1
- Thanks:
- 2
- Thanked:
- 20 times in 20 posts
March 29, 2011 at 10:51 am #383804Hi volotech,
Sorry for this, please open templatesja_opalindex.php
Find this line
[PHP]<?php if ($jamenu) $jamenu->genMenu (0); ?>[/PHP]
and replace with
[PHP]<?php //if ($jamenu) $jamenu->genMenu (0); ?>
<jdoc:include type=”modules” name=”ja-menu” />[/PHP]Then open templatesja_opaltemplateDetails.xml
Add this line between the <positions> tag
[PHP]<position>ja-menu</position>[/PHP]Then create a mod_mainmenu and set this menu to the ja_menu position.
rreeaallyy Friendrreeaallyy
- Join date:
- March 2011
- Posts:
- 4
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
April 12, 2011 at 6:39 pm #385984I’ve done this and now the Opal style is removed and the menu is just bare text. How do I change the style back to the Opal menu style?
thangnn1510 Friendthangnn1510
- Join date:
- October 2014
- Posts:
- 1608
- Downloads:
- 0
- Uploads:
- 80
- Thanks:
- 73
- Thanked:
- 278 times in 256 posts
April 13, 2011 at 3:30 am #386025<em>@rreeaallyy 233744 wrote:</em><blockquote>I’ve done this and now the Opal style is removed and the menu is just bare text. How do I change the style back to the Opal menu style?</blockquote>. Could you give us the screenshot and link to your site bug?
rreeaallyy Friendrreeaallyy
- Join date:
- March 2011
- Posts:
- 4
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
April 14, 2011 at 1:48 am #386264rreeaallyy Friendrreeaallyy
- Join date:
- March 2011
- Posts:
- 4
- Downloads:
- 0
- Uploads:
- 0
- Thanked:
- 1 times in 1 posts
April 14, 2011 at 7:55 pm #386428I’ve solved the problem. I replaced the template index.php and templateDetails.xml with the originals then went into the menu configuration and added the link I needed to mainmenu*.
-
AuthorPosts
This topic contains 9 replies, has 4 voices, and was last updated by rreeaallyy 13 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum