[TYPO3-templavoila] RFC: Flexpointer handling in Typo3 Core classes (@Dmitry)
Dmitry Dulepov
dmitry at typo3.org
Mon Dec 4 08:34:00 CET 2006
Hi!
Martin Klaus wrote:
> Some time ago, i've written the experimental Extension
> (mk_tvfrontend) to enable working FE-Editing with Templavoila.
> (wich works also with nested Flexforms and referenced CE's)
> see: http://bugs.typo3.org/view.php?id=3191
Good to know! FE editing for TV is one of painful things...
> -> Let the frontend rendering know something abaut the concept
> flexformPointer. At the moment the frontend can handle
> records in the form : <uid> and <table>_<uid>
> so why not simply add <flexformPointerString> to describe a record?
I think there is no any special reason, it simply was not done in typo3
core.
> I think this feature should not be enabled
> by extension (x-classing) but should be added to TV and the frontend
> core classes. (see detailed description below)
There is one strict rule: core should not be depended on extensions. So
we cannot introduce knowledge about tv or dependency on tv into core.
This change will be banned. However we can use hooks! I am not sure what
technically must be done to access flexFormPointer but can it be done
with hooks? If yes, we can add a hook in core and tv can hook in and do
whatever it needs. If not, may be a concept of flexFormPointer can be
extended/moved to core.
As to TS, I remember that we already have a hook to process custom
content objects. May be, it can be used in some way?
In general I like the idea but I am not sure how to implement it all at
the moment: I am too far from that area of the code right now.
--
Dmitry Dulepov
Web: http://typo3bloke.net/
Skype: callto:liels_bugs
"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