![]() |
Lokking for home.php
Question before i pull my hair out.
O.K. I have the DESFU mod and all is ok and is not the issue, except for one thing. The breadcrumb on the home page displays the company name and unfortunatly links to home.php, which i for the life of me cannot find to change. Ive played with the location.tpl file and the home.tpl, well just about them all really, but nothing ! All the other home links that i can find used <A href="{$http_location}/"> instead of home.php. The .htaccess files have also been updated so this is for better house keping to coin a phrase - but a real pain in the butt !!! Can someone help me out here again. Richard |
Re: Lokking for home.php
Why not just <a href="/">Home</a> ?
|
Re: Lokking for home.php
PS - here's my location.tpl -- modified for CDSEO:
Code:
{if $location} |
Re: Lokking for home.php
Hi
All done now, but what a headache. here is how; {* $Id: location.tpl,v 1.14 2005/11/17 06:55:36 max Exp $ *} {if $usertype eq "C" or $usertype eq "B"} {if $location} <font class="NavigationPath"> {strip} {section name=position loop=$location} {if $location[position].1 ne "" }{if $location[position].0 ne $config.Company.company_name}<a href="{$location[position].1}" class="NavigationPath">{else}<a href="{$http_location}/" class="NavigationPath">{/if}{/if} {$location[position].0} {if $location[position].1 ne "" }</a>{/if} {if not %position.last%} / {/if} {/section} {/strip} </font> {/if} {else} {if $location} {strip} {section name=position loop=$location} {if $location[position].1 ne "" }<a href="{$location[position].1|amp}">{/if} {$location[position].0} {if $location[position].1 ne "" }</a>{/if} {if not %position.last%} / {/if} {/section} {/strip}<hr /> {/if} {/if} |
Re: Lokking for home.php
Don't forget to replace <font with <span as <font> is a depreciated tag.
|
Re: Lokking for home.php
Quote:
Very interesting... yes, you're right. FYI, the "<font" tag is right out of 4.1.6 stock install (/skin1_original/location.tpl) So much for 4.1.x being xhtml compliant. :( |
Re: Lokking for home.php
Yes exactly which probally answers the question to my problems.
Interesting though what balinor has said, can i ask where he got this info from, as it is from 4.1.6 so it could have not been from there. Not really a bug, but i bet there are plenty more where that can from ? |
Re: Lokking for home.php
|
Re: Lokking for home.php
Hi balinor
Maybe someone should pass it down the line a little, as i am sure its not hard for x-cart to apply an upgrade to. Thanks anyhow Richard |
Re: Lokking for home.php
It isn't just X-Cart who isn't following this standard, look at 99% of the third-party add-ons and you will find lousy code as well. Most developers simply don't care to follow these standards.
|
All times are GMT -8. The time now is 09:30 AM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.