[Typo3-dev] TYPO3 hook for BE interface generation [was: scan code for hook]
Christian Jul Jensen
christian at jul.net
Mon Sep 6 23:47:06 CEST 2004
Sylvain Viart <sylvain at ledragon.net> writes:
Sylvain Viart <sylvain at ledragon.net> writes:
> Now, my problem is as follow:
>
> A need more than one hook, I need almost one hook entry point by
> area. Hopefully the items in the same area are created together. :-)
>
> So, what about the current design of generating the GUI ?
>
> It seems to me, that some big part of this code as some
> duplicate. What about having ONE permission entry point (function) for
> controlling the draw any BE element ?
You should (as Robert said) identify the hooks you need, explain why
you need them, and if you think that he code could be restructured in
a way that would optimize this, write your ideas about it, and send
them to Kasper.
If it makes sense, which it sounds like to me, and is possible to make
in sensible way, I'm sure he'll try to solve it.
> If I patch sysext/cms/layout/class.tx_cms_layout.php and
> sysext/cms/layout/db_layout.php, can I make a new extension with the
> patched file and tell TYPO3 to use mine instead of the default system
> extension ?
The class has XCLASS definitions in the bottom, so you can override
the parts of the class you want. This is not good for general
extensions of the system, but for local modification it is the
cleanest way, because you can have it in an extension.
> Some documentation about changing system extension ?
http://typo3.org/documentation/document-library/doc_core_api/Introduction-0f4547d2d1/
--
Julle
More information about the TYPO3-dev
mailing list