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)
-   -   Page Title in 4.2 (https://forum.x-cart.com/showthread.php?t=46663)

cflsystems 12-29-2009 06:25 AM

Re: Page Title in 4.2
 
You are definitely missing something

manishp 12-29-2009 07:32 AM

Re: Page Title in 4.2
 
Quote:

Originally Posted by cflsystems
You are definitely missing something


Strange!! It started working fine after i bounced my local virtual machine.

Great Mod and thanks so much for sharing your work!:D/

kidroush 01-07-2010 09:52 AM

Re: Page Title in 4.2
 
I just want to change the Page Title on the home page. How do I do this is 4.2.2?

philrisk 01-08-2010 05:34 AM

Re: Page Title in 4.2
 
I have just installed this mod. Works perfectly. Thanks for putting all that together.

kidroush 01-11-2010 07:49 AM

Re: Page Title in 4.2
 
Just figured out how to change just the home page title if anyone is interested. Just edit: lbl_site_title
Actually, this label is blank so just insert your Page Title text that you want and whatever you enter here will be displayed as the Page Title for your home page only!

retrieval 04-29-2010 04:19 PM

Re: Page Title in 4.2
 
Here's a quick and dirty way to display only the current page in the title (for 4.2):

-Set your titles to display like so: "Page :: category :: site"

-Open up /skin1/customer/service_head.tpl

-At the top of the page, replace <title>{$html_page_title|escape}</title> with the following:

<title>{capture assign=temp_regex}{literal}/::[\w\W\s]{1,}/{/literal}{/capture}{$html_page_title|escape|regex_replace:$te mp_regex:""}</title>

-Your titles should now be limited to displaying the current page. Make sure you don't use any "::" in your product titles if you do this!

nickff 08-31-2010 01:03 PM

Re: Page Title in 4.2
 
Thanks so much for this cfl! Worked perfectly.

Bean 02-07-2011 02:50 AM

Re: Page Title in 4.2
 
Hi Steve,
I've just installed this on 4.2.3 - However, for some reason, the Homepage title isn't showing? It just shows the "PUT HERE THE TITLE YOU WANT ON HOME PAGE". The variable is picked up in the $html_page_title though?
I edited lbl_site_title, but no joy?

Great mod though - Much appreciated!! :)

cflsystems 02-07-2011 02:53 AM

Re: Page Title in 4.2
 
:) Of course. Replace "PUT HERE THE TITLE YOU WANT ON HOME PAGE" with whatever you want.

Bean 02-07-2011 02:55 AM

Re: Page Title in 4.2
 
Oh - Really? Haha!

Um.

Whoops.


Thank you!!


*slopes off*

vasilis 12-13-2011 03:51 PM

Re: Page Title in 4.2
 
Could that mod be implemented on a 4.3.1 Gold version site which has the Power SEO url's (MagneticOne) module installed but disabled?


All times are GMT -8. The time now is 06:21 PM.

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