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   875 Views

Avatar
baba-papa

Community Member, 279 Posts

15 October 2009 at 3:26am

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

Forum Moderator, 5513 Posts

15 October 2009 at 1:47pm

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

Avatar
baba-papa

Community Member, 279 Posts

15 October 2009 at 5:14pm

Thanks, willr.