| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Page Title in 4.2 | ||||
|
|
Thread Tools | Search this Thread |
#41
|
|||||||||
|
|||||||||
Re: Page Title in 4.2
You are definitely missing something
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#42
|
|||||||
|
|||||||
Re: Page Title in 4.2
Quote:
Strange!! It started working fine after i bounced my local virtual machine. Great Mod and thanks so much for sharing your work!
__________________
X-Cart: 4.2.1 |
|||||||
#43
|
|||||||
|
|||||||
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?
__________________
Lance X-Cart Gold Version 4.6.1 |
|||||||
#44
|
|||||||
|
|||||||
Re: Page Title in 4.2
I have just installed this mod. Works perfectly. Thanks for putting all that together.
__________________
Live with Gold 4.5.1 Dedicated Linux server MaxCDN 4 pull zones Dedicated SSL |
|||||||
#45
|
|||||||
|
|||||||
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!
__________________
Lance X-Cart Gold Version 4.6.1 |
|||||||
|
#46
|
|||||||
|
|||||||
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!
__________________
v. 3.4.5 |
|||||||
#47
|
|||||||
|
|||||||
Re: Page Title in 4.2
Thanks so much for this cfl! Worked perfectly.
__________________
nick hoag looking forward to the future http://thefutureforward.com xcart versions 4.2.x, 4.3.x, 4.4.x |
|||||||
#48
|
|||||||||
|
|||||||||
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!!
__________________
X-Cart 4.4.2 Gold |
|||||||||
#50
|
|||||||||
|
|||||||||
Re: Page Title in 4.2
Oh - Really? Haha!
Um. Whoops. Thank you!! *slopes off*
__________________
X-Cart 4.4.2 Gold |
|||||||||
|
|||
X-Cart forums © 2001-2020
|