I'm learning more everyday in the Drupal world but something that seemed simple at the outset is confusing me.
I have this existing system path: node/5801
and the alias that is mapped to is: legal/important-restrictions
I have a page-node-5801.tpl.php template.
Within a block I have (edited to one example):
<ul id="footer_links_only">
<li class="lastItem"><a href="legal/important-restrictions">Important Restrictions</a></li>
</ul>
When I visit the page and click on the Important Restrictions link, the page-node-5801.tpl.php template is called and all seems ok.
However, if I click again on that Important Restrictions the url becomes:
/legal/legal/important-restrictions
so the "/legal" is getting repeated once the page has been visited.
Actually, once any link in that list is clicked, the remaining links get messed up either by getting the /legal/legal or in some cases, the url gets /node/node/legal.
Trying a different link using:
<li class="lastItem"><a href="node/5801">Important Restrictions</a></li>
Get's a page not found.
I'm trying to use a different template for a legal section. I could use css to hide and move content around but why load info only to hide it for good?