[TYPO3-english] meta data from plugin

Bart van den Burg bart at samson-it.nl
Mon Jan 31 15:00:50 CET 2011


Hi,

I wish to set meta description and meta keywords from within my plugin, 
but I don't quite understand how...

In my main template setup i have the following two lines:

page.meta.keywords.field = keywords
page.meta.description.field = description

These work fine, they fetch the values from whatever is configured for 
the page. Now I have a plugin from which i want to dynamically set these 
values. How do I do this?

I tried $GLOBALS['TSFE']->page['meta.']['keywords.']['overwrite'], but 
it doesn't work...

Thanks in advance,
Regards,
Bart


More information about the TYPO3-english mailing list