Can anyone assist in creating a multi website link (similar to the store selector) but it has to be for multiple websites.
e.g. I have http://www.mydomain.com/website1, http://www.mydomain.com/website2 and so on up to http://www.mydomain.com/website8
I actually want this to appear under the "Home" link in the top menu.
Any help or suggestions would be appreciated.
2 answers
Hi dotcomstudio!
To create multi website link and assign them to home link in top menu please do the following steps:
-- Open: "app\design\frontend\default\jm_natristemplate\ca talognavigation" edit top.phtml
-- Find this line (about line 171):
HTML Code:
<a <?php echo $homecls;?> href="<?php echo $this->getUrl('') ?>" title="Home"><span>Home</span></a>
-- Change to:
HTML Code:
<a <?php echo $homecls;?> href="<?php echo $this->getUrl('') ?>" title="Home" onmouseout="toggleMenu(this,0)" onmouseover="toggleMenu(this,1)"><span>Home</span></a> <ul class="level0"> <li class="level1 first" id=""> <a href="www.mydomain.com/website1"> <span>Website 1</span> </a> </li> <li class="level1" id=""> <a href="www.mydomain.com/website2"> <span>Website 2</span> </a> </li> <li class="level1" id=""> <a href="www.mydomain.com/website3"> <span>Website 3</span> </a> </li> <li class="level1" id=""> <a href="www.mydomain.com/website4"> <span>Website 4</span> </a> </li> <li class="level1" id=""> <a href="www.mydomain.com/website5"> <span>Website 5</span> </a> </li> <li class="level1" id=""> <a href="www.mydomain.com/website1"> <span>Website 6</span> </a> </li> <li class="level1" id=""> <a href="www.mydomain.com/website1"> <span>Website 7</span> </a> </li> <li class="level1 last" id=""> <a href="www.mydomain.com/website8"> <span>Website 8</span> </a> </li> </ul>
Hope this helps you.
Thank you very much this is perfect.
This question is now closed