[TYPO3-templavoila] Can a FCE get information about its parent Layout FCE?
Rudy Gnodde
rgn at windinternet.nl
Wed Jul 13 15:48:19 CEST 2011
Hello Lee,
Op 13-7-2011 15:31, Lee Perry schreef:
> Hi,
>
> I have a (Content-)FCE which is inside a content element of another
> (Layout-)FCE.
> Can this Content-FCE get information about its parent Layout-FCE?
>
> Maybe by a CONTENT Object with a SELECT of this parent Layout-FCE to get
> e.g. the "tx_templavoila_to" field.
> So, anybody has an idea how to get this parent information, because
> there is no parent information inside the Content-FCE data only the
> Content-FCE ids inside the parents "tx_templavoila_flex" field ...
>
> Another idea could be the "oldStyleColumnNumber" but I think this only
> works with a content element inside a page template and not inside a FCE
> content element ...
>
You can use the register for this. If you set something in the register
in the parent FCE before the content is loaded you can get that value on
the child FCE.
Regards,
Rudy Gnodde
WIND Internet
http://www.windinternet.nl
More information about the TYPO3-project-templavoila
mailing list