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!