I am using the "Bootstrap Accordion Menu" Plugin. I have 4 Modules implemented because i am using 2 languages and have different positions for the mobile version. On the German version the menu module works fine, however, on the English version it does not. I have checked all settings, tried to copy the working one .. but on the english version the page is not loaded with the top menu items that are also a parent. (Profile, Expertise, References ..)
Do you have any idea why this could be? I have tried to create a separate mod_menu for the english menu, but this won't work. since i have double checked all settings to the working (german) menu, i have no clue why this issue comes up. This is the mod_bootstrap_accordionmenu code.
<?php
/**
* Joomla! module - Bootstrap Accordion Menu
*
* @author Yireo ([email protected])
* @copyright Copyright 2012 Yireo.com. All rights reserved
* @license GNU Public License
* @link http://www.yireo.com
*/
// Deny direct access
defined('_JEXEC') or die;
?>
<?php if($params->get('load_js', 1) == 1) : ?>
<script type="text/javascript">
if (typeof modBootstrapAccordionMenu_hover === "undefined") {
var modBootstrapAccordionMenu_hover = <?php echo (int)$params->get('js_hover', 0); ?>;
}
</script>
<?php endif; ?>
<div class="accordion" id="<?php echo $tag_id; ?>">
<div class="accordion-group">
<?php foreach($parents as $parent) : ?>
<?php $collapse_status = ($parent->active) ? 'in' : 'out'; ?>
<div class="accordion-heading">
<?php if(!empty($parent->childs)) : ?>
<a class="accordion-toggle menulist accordion-parent <?php echo implode(' ', $parent->classes); ?>" data-toggle="collapse" data-parent="#<?php echo $tag_id; ?>" data-href="<?php echo $parent->href; ?>" href="#<?php echo $parent->html_id; ?>"><?php echo $parent->title; ?><i class="fa fa-chevron-down pull-right"></i></a>
<?php else: ?>
<a class="menulist accordion-toggle <?php echo implode(' ', $parent->classes); ?>" href="<?php echo $parent->href; ?>"><?php echo $parent->title; ?></a>
<?php endif; ?>
</div>
<?php if(!empty($parent->childs)) : ?>
<div id="<?php echo $parent->html_id; ?>" class="accordion-body collapse <?php echo $collapse_status; ?>">
<div class="accordion-inner">
<?php modBootstrapAccordionMenuHelper::submenu($parent->childs); ?>
</div>
</div>
<?php endif; ?>
<?php endforeach; ?>
</div>
</div>