Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Template Questions

Hardcoding a part of the Navigation


Reply

3 Posts   867 Views

Avatar
baba-papa

15 October 2009 at 3:26am Community Member, 279 Posts

Hi,

due to my page layout I am forced to hardcode some of my navigation links:

$BaseHref/contact/


This leads to the following output: www.mysite//contact
It works but it looks bad. Is there another way to hardcode navigation links?

Avatar
Willr

15 October 2009 at 1:47pm Forum Moderator, 5511 Posts

$BaseHref includes a / (hence why you get 2 //) Just write it as {$BaseHref}contact.

Avatar
baba-papa

15 October 2009 at 5:14pm Community Member, 279 Posts

Thanks, willr.