[TYPO3-templavoila] Sheets management

Dmitry Dulepov typo3 at fm-world.ru
Thu Mar 2 08:19:36 CET 2006


Hi!

Jean-Baptiste Rio wrote:
> i made one little change in the renderElement function (line 173 and
> next, in class.tx_templavoila_pi1.php) so that now, it's able to render
> all sheets of a flexible content in FE.
> Have you interest in this enhancement ?

Create a bug report, copy description from here and attach a patch. It
should be carefully evaluated because now sheets work like
multi-templates. See mininews for example of multi-templates.

> I would like to be able to add sheets "on the fly", when i configure a
> plugin with the flexform field. Let me explain. The big goal is to
> provide a "high-level configurable master-detail database table" plugin.
> So the user will have a flexform plugin where he can select a set of
> database field in the first sheet. My need is to be able to generate as
> many extra sheets as the number of fields he has selected, so that he
> can configure individually each field, one field per sheet, based on a
> secondary external flexform XML file which i include on the fly in the
> plugin flexform XML file, when he press the Save button.
> So my question are :
> - What is the best way to plug my "Add sheets on the fly" function in
> Templavoila ? Hook ? XClass ?

Probably it can be done using a "type" field. Just like for normal
content elements: you change type and form changes.

Anyway, I do not think it should be inside TV, it is too much and not
common usage for TV. Probably, should be a separate 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