View Single Post
  #6  
Old 12-02-2010, 03:29 PM
 
masada3336 masada3336 is offline
 

Senior Member
  
Join Date: Jan 2009
Posts: 115
 

Default Re: Hardcoding Title tag

Anyone know how I would hardcode some text in front of the title tags? I can't find anywhere there is the actual <title> tag...I've looked everywhere I can think, but can't find it. Thanks for the help!

I'm specifically trying to add some text before every title tag, like <title>CUSTOM TEXT {usual title here}</title>

Quote:
Originally Posted by calpicms
I am trying to hard code my a title tag into skin/common_files/customer/service_head.tpl


{if $main eq "catalog" AND $current_category.categoryid lt 1}
<title>HOMEPAGE</title>
{else}
{get_title page_type=$meta_page_type page_id=$meta_page_id}
{/if}


For some reason it is not figuring out the if logic to recognize that it's the homepage. What would the correct IF statement be to recognize you are on the homepage?

Thanks!
__________________
4.4.5 - with Customized Smart Template
Reply With Quote