[Typo3] dynamically replacing template tags

tapio tapio.markula at dnainternet.net
Fri Sep 16 18:40:17 CEST 2005


Matthew Manderson wrote:
>>Is there a variable for PageTitle that can be inserted into
>>page.bodtTagAdd = id="$pagetitle"  or something like that?
> 
> You asked so you can explore...
> 
> id="{field:pid}"
> 
> pid being the TYPO3 page id that shows when you hover the page in the
> page tree.
> 
> Matthew

put something before, for example id="p{field:pid}", when
you get *valid* id values!( id="123" is invalid for CSS).



More information about the TYPO3-english mailing list