View Single Post
  #5  
Old 04-15-2015, 02:07 PM
 
Phil Richman Phil Richman is offline
 

Advanced Member
  
Join Date: May 2012
Posts: 94
 

Default Re: Adding "Contact Us" link to the top of the template

Quote:
Originally Posted by Phil Richman
In .tpl files you just use straight html. Something as simple as
<a href="contact_us.html">Contact Us</a> or you can make an ordered list out of the 3 links with something like

<ul class="new-top-links" >
<li>
<a href="contact_us.html">Contact Us</a>
</li>
<li>
<a href="link2.html">Link2</a>
</li> <li>
<a href="link3.html">Link3</a>
</li>
</ul>

Hopefully that makes sense. Just a quick example. If you have any problems just post again and I will try to help you further.
Sorry I just realized i misspoke. Rather than /skins/default/en/layout/header.bar.tpl you should make a copy of that file and move the copy to /skins/custom_skin/default/en/layout/header.bar.tpl

You will need to enable the custom skin mod. In xcart 5 you never make your changes to the original files, but always make a custom version of them. Otherwise you will lose them during updates. The update process replaces all stock xcart files which would throw out your custimizations. Sorry about that I didn't stop to think about you being new and possibly not knowing that. Let me know if that doesn't make sense.
__________________
Ver 5.2.6
Reply With Quote