[Typo3] dynamically replacing template tags

Christopher bedlamhotel at gmail.com
Thu Sep 15 16:48:18 CEST 2005


On 15/09/05, Matthew Manderson <matthew at manderson.co.uk> 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.
> 

Oops. I think you mean 'uid'. 'pid' is the parent page to any given
page. In the following tree:

+-- Root Page (uid = 1)
     +-- Page a (uid = 2)
     +-- Page b (uid = 3)
          +-- Page c (uid = 4)

Pages (a) and (b) have uids of '2' and '3' respectively, but both have
the pid '1'. Page c has the uid '4', but its pid is '3'.

-Christopher



More information about the TYPO3-english mailing list