[Typo3-dev] Accessing KEYWORDS through php classes
David Worms
open at adaltas.com
Tue Nov 22 10:01:03 CET 2005
Brice Bernard wrote:
> Hi everyone,
>
> In my PHP class, I'd like to add keywords (in meta tag) to my page. In
> TYPOSCRIPT we would do :
>
> <TYPOSCRIPT>
> page.meta.KEYWORDS = keyword1,keyword2,...
> </TYPOSCRIPT>
>
> But I don't know how to add these keywords directly via PHP (and cOBJ
> probably?) If anyone can light my way... ; )
>
> - Brice -
Hi Brice,
If this is possible in typoscript, then you might probably be able to
overwrite your config with sth like:
$TSFE->tmpl->setup["page."]["meta."]["KEYWORDS"] = "new value";
David
More information about the TYPO3-dev
mailing list