View Single Post
  #46  
Old 04-29-2010, 04:19 PM
 
retrieval retrieval is offline
 

Newbie
  
Join Date: May 2005
Posts: 1
 

Default 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
Reply With Quote