| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
removing powered by xcart | ||||
|
|
Thread Tools | Search this Thread |
#11
|
|||||||
|
|||||||
Re: removing powered by xcart
Thankyou very much for your help.
I now (almost) have what I wanted.. It now reads: Site by My Company Name. I cannot get the link to work though (a href). Where the link is supposed to be is underlined, but it just does nothing!
__________________
X-Cart 4.2.2 Pro Apache/2.0.52 (Red Hat) PHP 4.4.9 MySQL 5.0.83 |
|||||||
#12
|
|||||||||
|
|||||||||
Re: removing powered by xcart
Post your code
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#13
|
|||||||
|
|||||||
Re: removing powered by xcart
My code is as follows:
bottom.tpl remains untouched (ie: include file copyright.tpl & main/prnotice.tpl) prnotice.tpl is: {* $Id: prnotice.tpl,v 1.11 2008/10/29 16:50:20 max Exp $ vim: set ts=2 sw=2 sts=2 et: *} {*** NOTE: If you are reselling X-Cart stores, please contact us (http://www.x-cart.com) before changing the Powered-by note here. ***} {if $main eq "catalog" and $current_category.category eq ""} Site by <a href="http://www.mycompany.co.uk">My Company</a> {else} Site by My Company {/if}
__________________
X-Cart 4.2.2 Pro Apache/2.0.52 (Red Hat) PHP 4.4.9 MySQL 5.0.83 |
|||||||
#14
|
|||||||||
|
|||||||||
Re: removing powered by xcart
Link code is ok. The way you have it this is a link only on the home page and that link takes you to the same home page right? So the link works but you probably won't see it because it will just refresh the same page. You could switch the code to show link on all pages and text on home page only.
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#15
|
|||||||
|
|||||||
Re: removing powered by xcart
What I want really, is the link on all pages
__________________
X-Cart 4.2.2 Pro Apache/2.0.52 (Red Hat) PHP 4.4.9 MySQL 5.0.83 |
|||||||
#16
|
|||||||||
|
|||||||||
Re: removing powered by xcart
Then take out the if statement. Like this
Code:
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#17
|
|||||||
|
|||||||
Re: removing powered by xcart
Thankyou for that.
Now, I have the wording of the link on all pages (underlined too), but the actual link does not work. However, it works fine in the admin section?
__________________
X-Cart 4.2.2 Pro Apache/2.0.52 (Red Hat) PHP 4.4.9 MySQL 5.0.83 |
|||||||
#18
|
|||||||
|
|||||||
Re: removing powered by xcart
and the http is not needed, as the site path is defined in config.php
Site by <a href="/">My Company</a> BUT IN MY OPINION this entire template can and should be commented out. NOBODY cares who made your website. Unless the site designer demands such an inclusion (and I would negotiate that out of any deal). Your site is built to sell your products. Anything that doesn't directly support the goal of the store is fluff. I would simply remove (comment out) the entire include to the template. My $.02
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
|
#19
|
|||||||
|
|||||||
Re: removing powered by xcart
Thanks for the advice - taken on board..
But this is bugging me now (whether I implement it or not, it will annoy me until solved!). The hyperlink only works on the admin end - the storefront has the wording underlined, but no link?
__________________
X-Cart 4.2.2 Pro Apache/2.0.52 (Red Hat) PHP 4.4.9 MySQL 5.0.83 |
|||||||
#20
|
|||||||||
|
|||||||||
Re: removing powered by xcart
I don't know how you have it but this is how I put it on my 4.2.2 test site just to test what you are talking about.
prnotice.tpl file ---------------- {if $main eq "catalog" and $current_category.category eq ""} Powered by X-Cart <a href="http://www.x-cart.com">{$sm_prnotice_txt}</a> {else} Powered by X-Cart {$sm_prnotice_txt} {/if} --------------------- Whit this setup the link will be a link only on home page customer side. All other pages including admin will have just text. If you want to have the link as link on all pages including admin just like I said before take out the if statement and leave only the link like this prnotice.tpl file ---------------- Powered by X-Cart <a href="http://www.x-cart.com">{$sm_prnotice_txt}</a> --------------------- It does work as I tested it and it does exactly what it supposed to do - show a clickable link on all pages
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
|
|||
X-Cart forums © 2001-2020
|