PDA

View Full Version : Listing META Title does not work!



PGGO
February 2, 2013, 07:21 AM
I’m trying to enable Listing META Title (see img1) under admin panel, in order to apply title template to all listings.

The problem is that it’s not working. Instead, the system uses H1 tag as a META Title for all listings.

Mike
February 4, 2013, 08:09 AM
Please try to do following:

open tempaltes/your_Templates/tpl/header tpl and replace <title> section with the code, don't forget to save backup of file.



<title>{if $pageInfo.meta_title}{$pageInfo.meta_title}{else}{ foreach from=$title item='title_item' name='titleF'}{if $smarty.foreach.titleF.first}{$title_item}{else} &#171; {$title_item}{/if}{/foreach}{/if}</title>

PGGO
February 4, 2013, 08:57 PM
it works, Great Thank You!