[TYPO3-templavoila] Possible to reference DS-Content (without the belonging TO)
Dmitry Dulepov
typo3 at fm-world.ru
Wed Mar 15 13:51:12 CET 2006
Hi!
Jean-Baptiste Rio wrote:
> I think that there is, maybe, a simplier way to do that : Add a new
> plugin to TV which allows to point to an external FCE content (so
> defined in a another content) BUT with the ability to select another
> DS/TO couple. The plugin will query the pi_flexform field of the
> external content and displays it with the new couple, using the same
> functions as the existant TV plugin (tx_templavoila_pi1).
>
> What do you think about it ?
I thought about making it without extension. But extension also can do
it. It needs to select tt_content element with flexform and TO. Then it
should use set up a hook to TV to modify loaded record before calling
pi1->main. Hook should change TO to a new one when called. Hook should
be unset after call to pi1. This is the outline of such extension.
Dmitry.
--
"It is our choices, that show what we truly are,
far more than our abilities." (A.P.W.B.D.)
More information about the TYPO3-project-templavoila
mailing list