X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Main index page title (https://forum.x-cart.com/showthread.php?t=51946)

FTI 01-24-2010 01:30 PM

Main index page title
 
Hello, I want to change the title on the main index page. But I don't want to use the Company name field in admin panel. I want to write a big fat title for the index page, but I don't want it to show in invoices and other parts, cause it is just too long. So In 2 words separate title for the website, but still I want to use the Company name for other parts of the website. And also my comapny name and site name are different. I can't put company name as a title, and I need the comapany name for invoices.

Can you help me? :roll:

cflsystems 01-24-2010 04:55 PM

Re: Main index page title
 
Open skin1/customer/service_head.tpl, find
Code:

<title>{$html_page_title|escape}</title>
and replace with
Code:

{if $main eq "catalog" && $current_category.category eq ""}
<title>YOUR NEW TITLE HERE</title>
{else}
<title>{$html_page_title|escape}</title>
{/if}


worldomega 02-19-2010 05:31 AM

Re: Main index page title
 
4.3.1 service_head.tpl is very different. How can you do this in 4.3?

cflsystems 02-19-2010 06:49 AM

Re: Main index page title
 
Try this - replace {get_title page_type=$meta_page_type page_id=$meta_page_id} with

{if $main eq "catalog" && $current_category.category eq ""}
<title>YOUR NEW TITLE HERE</title>
{else}
{get_title page_type=$meta_page_type page_id=$meta_page_id}
{/if}

FTI 02-20-2010 07:10 AM

Re: Main index page title
 
Thanks, I'll try :)

worldomega 02-27-2010 05:08 AM

Re: Main index page title
 
It worked! Thanks!

FTI 06-07-2010 02:11 AM

Re: Main index page title
 
This worked for me also. Thanks! :)


All times are GMT -8. The time now is 03:27 PM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.