1. MenuKiller
  2. Commercial Templates
  3. Sunday, 05 May 2013
  4.  Subscribe via email
I had to make this change to header.php in order to get my mulilingual menues to work
From:
<div id="hornav">
<?php echo $hornav; ?>
</div>

To:
<div id="hornav">
<jdoc:include type="modules" name="hornav" />
</div>

but without: <?php echo $hornav; ?> google map plugin (tried 2 different ones) don't work.

So, now I tried both:
<div id="hornav">
<jdoc:include type="modules" name="hornav" />
<?php echo $hornav; ?>
</div>

I see my map, but i also have two sets of menus.. any ideas how i can either fix the issue or just hide the default menu. Is this also an issue with nocturn?
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

Would you have a URL to an example of the 2 menus?

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 1
Accepted Answer Pending Moderation
0
Votes
Undo
http://mathmotionmontreal.ca/index.php/en/contact-us

This is the map page... it's not nocturn template but the same issue is happening.. i need to add:
<div id="hornav">
<jdoc:include type="modules" name="hornav" />
to get my multilanguge menues to work.. but as soon as i take out:
<?php echo $hornav; ?>
I look my map plugin.

This is the current code that has the 2 menus and the map:



<div class="hornavmenu">
<?php if($this->params->get('hornavPosition') == '1') : ?>
<div id="hornav">
<jdoc:include type="modules" name="hornav" />
</div>
<?php else : ?>
<div id="hornav">
<jdoc:include type="modules" name="hornav" />
<?php echo $hornav; ?>
</div>
<?php endif; ?>
</div>
  1. more than a month ago
  2. Commercial Templates
  3. # 2
Accepted Answer Pending Moderation
0
Votes
Undo
Hello

To remove the second menu try adding the following to the Custom CSS field of your templates parameters...


[code type=css]#hornav #moomenu {display: none;}[/code]

Ciarán
  1. more than a month ago
  2. Commercial Templates
  3. # 3
Accepted Answer Pending Moderation
0
Votes
Undo
Worked great. Thank you.
  1. more than a month ago
  2. Commercial Templates
  3. # 4
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!

Join Our Newsletter

* indicates required
We respect your privacy and do not tolerate spam and will never sell, rent, lease or give away your information (name, email, number, etc.) to any third party. Nor will we send you unsolicited email.
Joomla51 - Mullaghmore, Co. Sligo, Ireland
Joomla51.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by
Open Source Matters
the trademark holder in the United States and other countries.

We use cookies on our website. Some of them are essential for the operation of the site, while others help us to improve this site and the user experience (tracking cookies). You can decide for yourself whether you want to allow cookies or not. Please note that if you reject them, you may not be able to use all the functionalities of the site.

Ok