| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Title for home.php | ||||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Title for home.php
How can I change the <title> for home.php only?
Sometimes X-cart makes me feel stupid.
__________________
Scott DeToffol Online Marketing and E-Commerce Consulting in Minneapolis X-Cart Gold Version 4.1.9 for www.sundogtrading.com X-Cart Pro Version 4.2.3 for www.heavyglare.com |
|||||||
#2
|
|||||||
|
|||||||
Re: Title for home.php
Try this (not tested):
Code:
shouldn't this thread be in template editing? thread moved.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#3
|
|||||||
|
|||||||
Re: Title for home.php
PS -- if you're giving page titles your energy -- I STRONGLY recommend the "suite" of meta-tag mods from BCSE
Product Meta Tags Plus! Static Page Meta Tag Control Category Meta Title Control These three mods give you total control over every page's title and keyword and descr. Don't go live without this in place! One major weakness of stock x-cart is the SEO-hostile page titles... Google sees the stock page titles as spam... duplicate content, etc... you really need unique page titles, PER PRODUCT -- these mods will get you there. Good luck.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#4
|
|||||||
|
|||||||
Re: Title for home.php
I recently installed Product Meta Tags Plus, but it doesn't help with home.php
__________________
Scott DeToffol Online Marketing and E-Commerce Consulting in Minneapolis X-Cart Gold Version 4.1.9 for www.sundogtrading.com X-Cart Pro Version 4.2.3 for www.heavyglare.com |
|||||||
#5
|
|||||||
|
|||||||
Re: Title for home.php
Quote:
{if $main eq "catalog" && $current_category.category eq ""} HOME PAGE TITLE {else} (with appropriate closing {/if} if needed) before anything else.
__________________
xcart 4.5.4 gold+ w/x-payments 1.0.6; xcart gold 4.4.4 |
|||||||
#6
|
|||||||
|
|||||||
Re: Title for home.php
That works, thanks
__________________
Scott DeToffol Online Marketing and E-Commerce Consulting in Minneapolis X-Cart Gold Version 4.1.9 for www.sundogtrading.com X-Cart Pro Version 4.2.3 for www.heavyglare.com |
|||||||
#7
|
|||||||||
|
|||||||||
Re: Title for home.php
Quote:
Where do you add this code? In home.PHP and if so where. Sorry new to PHP. Thanks
__________________
Gold V4.0.19 X-AOM DSEFU HTML Pages BCSE- Price Match BCSE- Product Metatag Pro BCSE- EZCheckout BCSE- Image Verification (Captcha) BCSE- Ad/Banner V2.0 BCSE- MAP Pricing BCSE- Static Page Meta Tag Apache/Linux Server EWD Hosting Collectible Swords USA Swords By Us |
|||||||||
#8
|
|||||||
|
|||||||
Re: Title for home.php
Nope, add it just under <title> in /skin1/customer/home.tpl
__________________
Scott DeToffol Online Marketing and E-Commerce Consulting in Minneapolis X-Cart Gold Version 4.1.9 for www.sundogtrading.com X-Cart Pro Version 4.2.3 for www.heavyglare.com |
|||||||
#9
|
|||||||||
|
|||||||||
Re: Title for home.php
Quote:
Thanks for the info.
__________________
Gold V4.0.19 X-AOM DSEFU HTML Pages BCSE- Price Match BCSE- Product Metatag Pro BCSE- EZCheckout BCSE- Image Verification (Captcha) BCSE- Ad/Banner V2.0 BCSE- MAP Pricing BCSE- Static Page Meta Tag Apache/Linux Server EWD Hosting Collectible Swords USA Swords By Us |
|||||||||
#10
|
|||||||
|
|||||||
Re: Title for home.php
Cheers for this. Very helpful.
__________________
X-Cart version 4.0.13 (unix) |
|||||||
|
|||
X-Cart forums © 2001-2020
|