[TYPO3] Another TypoScript problem/question

Stephen Bungert s.bungert at metrinomics.de
Mon Apr 21 18:10:59 CEST 2008


temp.nsnCurrPtitle = TEXT
temp.nsnCurrPtitle.data = DB : pages : 55 : title

Then this returns the page 55's Title.

Works great! As long as I enter a number like 55 or 56.

I then tried to get the current Pid with this

temp.nsnCurrPid = TEXT
temp.nsnCurrPid.data = global:HTTP_GET_VARS|id

This works, and shows me the current Page ID.

So why can't I use temp.nsnCurrPid in temp.nsnCurrPtitle.data?

temp.nsnCurrPtitle.data = DB : pages : temp.nsnCurrPid : title

Returns nothing. How come?





More information about the TYPO3-english mailing list