[TYPO3-templavoila] Getting a field value from the page in an FCE
Dmitry Dulepov [typo3]
dmitry at typo3.org
Wed Feb 27 11:57:11 CET 2008
Hi!
Simon Tuck wrote:
> Is there a way to reference a field value in the page record from within
> an FCE? I know I can reference parent record values for an fce with
> register:tx_templavoila_pi1.parentRec.xxx but I can't seem to find a way
> to get anything from the page.
You can get values of all global vars using TS. TSFE has a reference to page record (in "page" variable).
Or you can get a page uid from "pid" field of parent record and select page fields from db...
--
Dmitry Dulepov
TYPO3 core team
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"Nothing is impossible. There are only limits to our knowledge"
More information about the TYPO3-project-templavoila
mailing list