[Typo3-dev] Accessing KEYWORDS through php classes

Brice Bernard brikou at gmail.com
Tue Nov 22 14:26:04 CET 2005


Thank you, I don't have much time to try your suggestion but I will

; )

Brice



2005/11/22, David Worms <open at adaltas.com>:
> 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
> _______________________________________________
> Typo3-dev mailing list
> Typo3-dev at lists.netfielders.de
> http://lists.netfielders.de/cgi-bin/mailman/listinfo/typo3-dev
>


--
- Brice -




More information about the TYPO3-dev mailing list