![]() |
Hardcoding Title tag
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! |
Re: Hardcoding Title tag
{if $main eq "catalog" && $current_category.category eq ""}
|
Re: Hardcoding Title tag
it still did not work.
|
Re: Hardcoding Title tag
run cleanup.php. also make sure you are modifiying correct file - 4.4.0 uses some files from the respective skin directory not common files, look in the directory which skin you are using for the same file
|
Re: Hardcoding Title tag
you are correct about me forgetting to update the same file in the skin directory. thank you so much for helping me out!
|
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:
|
All times are GMT -8. The time now is 12:03 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.