Dear Gardener,
Thank you very much for your advice.
In my case I don't like to have different items to the top-navi. It should be almost the same (except 2 of the items).
I would like to referre to the "Main Menu" which could be found below "Menus".
As far as I understand: I have to double all items and we will have around 400.
What I did:
I made a duplicate of "Main Menu" module and positioned it at position 5.
I got a dublicate of the main menu, that's what I wished for, but It's not formated like it is in the top-Navi (Template Customizer).
Another approach would be: I follow the instructions to the point where I have to change the following code:
Find the code
<jdoc:include type="<?php echo $this->getParam('navigation_type', 'megamenu') ?>" name="<?php echo $this->getParam('mm_type', 'mainmenu') ?>" />
Replace with:
<jdoc:include type="<?php echo $this->getParam('navigation_type', 'megamenu') ?>" name="'topmenu" menutype="topmenu" />
Instead of that I would leave the sequenze as it is.
That means I would have two different .php-files (mainmenu, contentmenu - in the tutorial topmenu) in different positions, with different referenzes, but the source would be the same:
<jdoc:include type="<?php echo $this->getParam('navigation_type', 'megamenu') ?>" name="<?php echo $this->getParam('mm_type', 'mainmenu') ?>" />
Some progress:
Now I used the tutorial you suggested, at the end I doubled the mainnav.php and made a contentnav.php. I made the customization to the point where I should change the jdoc code. But I left it as it is since I would like to have the same menu.
By the way, the code you describe in the tutorial is different to the code I got in the files.
That's my code I have in the mainnav.php:
<?php
/**
* @package T3 Blank
* @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
* @license GNU General Public License version 2 or later; see LICENSE.txt
*/
defined('_JEXEC') or die;
?>
<!-- MAIN NAVIGATION -->
<nav id="t3-mainnav" class="wrap t3-mainnav navbar-collapse-fixed-top">
<div class="container navbar">
<div class="navbar-inner">
<button type="button" class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse">
<i class="icon-reorder"></i>
</button>
<div class="nav-collapse collapse<?php echo $this->getParam('navigation_collapse_showsub', 1) ? ' always-show' : '' ?>">
<?php if ($this->getParam('navigation_type') == 'megamenu') : ?>
<jdoc:include type="megamenu" />
<?php else : ?>
<jdoc:include type="modules" name="<?php $this->_p('mainnav') ?>" style="raw" />
<?php endif ?>
</div>
</div>
</div>
</nav>
What do you think, Any suggestions?
Thanks alot,
Sep