How can i put an external link on the main menu

I need to add links to the main menu that link to a subdomain of the website which is made in joomla

2 answers

Profile photo of thangnn1510 0.00 $tone June 30, 2011

To add external links to the menu you need add some custom code. Please do the following:

1. app\design\frontend\default\jm_adamitetemplate\ca talognavigationtop.phtml

2. Add this code:


<li><a href="your link">your title</a></li>

to below:


 <?php if ( $tmpTools->getParam("usertool_color", '4') == "4" ) : ?>
        <li class="level0 parent" >
        	<a onmouseout="toggleMenu(this,0)" onmouseover="toggleMenu(this,1)" href="#"><span>Colors</span></a>         
            <?php echo $tmpTools->genToolMenu ($tmpTools->getParam('usertool_color'),'txt'); ?>
        <?php endif; ?>

This question is now closed

Written By