[TYPO3-english] Adjusting the page title used by indexed_search
Jan Bednarik
info at bednarik.org
Mon Aug 29 23:35:40 CEST 2011
Hi,
there's
config.titleTagFunction
Passes the default <title>-tag content to this function. No typoScript
parameters are passed though.
This should adjust indexed title.
Then
config.noPageTitle = 2
will remove title tag completely
And finally
page.headerData.123 = TEXT
page.headerData.123 {
field = title
noTrimWrap = |<title>MySite: |</title>|
}
will create your custom title.
Regards
Jan
Dne 28.8.2011 21:20, gencha napsal(a):
> On 2011-08-26 08:08, Jan Bednarik wrote:
>> Sure,
>>
>> what I've said is that you can adjust indexed page title by using
>> userFunc on the regular page title.
>>
>> Then, in order not to display this adjusted title on your pages, you can
>> drop the title by config.noPageTitle and substituting it with
>> page.headerData.
>>
>> Jan
>
> Oh, then I guess I don't know how to do that and misunderstood you :)
> Could you give me an example?
>
More information about the TYPO3-english
mailing list