osCommerce Posted February 4, 2009 Share Posted February 4, 2009 First the page is not picking up the stylesheet. I have uploaded downloadscat.tpl and also the template file again in binary but no luck. Anything else I should try? I am also customizing my breadcrumb trail and having an issue with the code on this page. This is what I have <table width="100%" border="0" cellspacing="0" cellpadding="0" align="center" style="border-bottom:1px solid;"> <tr> <td valign="top" height="30">{$LANG.globalyouarehere}: <a href="index.php">Home</a>{if $loggedin} > <a href="clientarea.php">Client Area</a>{/if} > <a href="downloads.php">Downloads</a> > <a href="downloads.php/{$dlcat.id}/{$dlcat.urlfriendlyname}">{$dlcat.urlfriendlyname}</a></td> <td valign="top" height="30" style="text-align:right;">{if $loggedin}{$LANG.welcomeback} {$clientsdetails.firstname}! <a href="logout.php">{$LANG.clientareanavlogout}</a>{else}{$LANG.please} <a href="clientarea.php">{$LANG.loginbutton}</a> or <a href="register.php">{$LANG.clientregistertitle}</a>{/if}</td> </tr> </table> But it is only showing up as You are here: Home > Client Area > Downloads > It should have the category name at the end. That code is placed at the very top of the template file, line #1. Thanks. 0 Quote Link to comment Share on other sites More sharing options...
osCommerce Posted February 4, 2009 Author Share Posted February 4, 2009 I am only having the template problem when SEO friendly urls box is checked. Unchecked the pages are fine. 0 Quote Link to comment Share on other sites More sharing options...
Gears Posted February 5, 2009 Share Posted February 5, 2009 Same problem here. I've added the necessary lines to .htaccess and then ticked the KB SEO Friendly URLS box and now the style sheet isn't being picked up. I'll respond once I figure out the solution. 0 Quote Link to comment Share on other sites More sharing options...
osCommerce Posted February 5, 2009 Author Share Posted February 5, 2009 In header.tpl make sure this line is above the links to your stylesheet; {if $systemurl}<base href="{$systemurl}" />{/if} 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.