| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Lokking for home.php | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
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 |
|||||||||
#2
|
|||||||
|
|||||||
Re: Lokking for home.php
Why not just <a href="/">Home</a> ?
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#3
|
|||||||
|
|||||||
Re: Lokking for home.php
PS - here's my location.tpl -- modified for CDSEO:
Code:
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#4
|
|||||||||
|
|||||||||
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} |
|||||||||
#5
|
|||||||
|
|||||||
Re: Lokking for home.php
Don't forget to replace <font with <span as <font> is a depreciated tag.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#6
|
|||||||
|
|||||||
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.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#7
|
|||||||||
|
|||||||||
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 ? |
|||||||||
#8
|
|||||||
|
|||||||
Re: Lokking for home.php
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#9
|
|||||||||
|
|||||||||
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 |
|||||||||
#10
|
|||||||
|
|||||||
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.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|