robbysalz Posted November 20, 2011 Share Posted November 20, 2011 Hello all, I have this tmcategories.tpl <div id="tmcategories"> <div id="tmcategories_inner"> <ul id="cat"> {foreach from=$blockCategTree.children item=child name=blockCategTree} {if $smarty.foreach.blockCategTree.last} {include file="$branche_tpl_path" node=$child last='true'} {else} {include file="$branche_tpl_path" node=$child} {/if} {/foreach} <li><a href="cristocat.tumblr.com/">Blog</a></li> </ul> </div> </div> Two internal shop categories, and one external link to our blog. This generates the following awesome result: However, when we go to click the new <li> Blog link, the URL is prefixed with the domain name, as such: So as you can see, instead of pointing to directly to the external URL I've specified, it treats the link as if it were an internal document. I realize this has something to do with the PHP classes defined by the "extends" call at the start of the attached code..any ideas for workarounds? We'd really love to have our three links located in the same nav bar, instead of arbitrarily separated. Thanks guys, it's a real blast reading what everyone has to say on these boards! Link to comment Share on other sites More sharing options...
Pshopic Posted November 20, 2011 Share Posted November 20, 2011 Put "http://" before "cristocat.tumblr.com" It must be like this: <a href="http://cristocat.tumblr.com/"> Link to comment Share on other sites More sharing options...
robbysalz Posted November 20, 2011 Author Share Posted November 20, 2011 I appreciate your wonderful input Prestashopic, your advice worked perfectly! Check your PM's, I have sent you a message. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now