hi guys,
i want to add a link to the contact us page in the category menu at the top.
clearly i know i need to create a new category but i thought i could just enter contacts in the url key and that would do it but i guess there is more to it than that.
Any tips ?
thanks in advance.
7 answers
Go to this File app\design\frontend\default\jm_oganistemplate\cat alognavigationtop.phtml
Find this Code
Code:
<?php if ( $tmpTools->getParam("usertool_color", '4') == "4" ) : ?> <li class="level0 parent" > <a onmouseout="toggleMenu(this,0)" onmouseover="toggleMenu(this,1)" href="#"><span>Oganis's Color</span></a> <?php echo $tmpTools->genToolMenu ($tmpTools->getParam('usertool_color'),'txt'); ?> </li> <?php endif; ?>
Add the following code just below the above code
Code:
<li> <a href="<?php echo $this->getUrl('contacts') ?>" title="Contact Us"><span>Contact Us</span></a> </li>
Note: If you Find my Post useful please click on the Thanks Icon
thanks Chavan -- done as you suggested.
- Created category
- Added your edit
- link opens -- http://www.lifestyle-impex.co.uk/contacts.html
- contact form is at -- http://www.lifestyle-impex.co.uk/contacts/
ive enclosed a few screenshots of the other parameters to help.
so what am i missing ?
thank you
you are creating the contact page as a category. you must not do it that way.
Please do as I suggested in my previous post.
Note: If you Find my Post useful please click on the Thanks Icon
i have now done just as you suggest but there is no link in the menu
please clear cache in the cache Management and check the site. if not please post your admin details and ftp details via PM.
Note: If you Find my Post useful please click on the Thanks Icon
Thanks for the user Credentials
I have fixed it http://www.lifestyle-impex.co.uk/ . The issue is you have added the code in the "else" part of the code . you need to add that code in the "if" part of the code too. Thats it.
Note: If you Find my Post useful please click on the Thanks Icon
Thanks to Chavan,
he provided instructions and like a dope i messed it up.
anyway he was kind enough to fix my error.
cant ask for more than that.
This question is now closed