[TYPO3-dev] Executing code when extension is installed

Dmitry Dulepov dmitry.dulepov at typo3.org
Mon Jan 24 09:28:37 CET 2011


Hi!

Michael Knoll wrote:
> I'm searching for a possibility to execute code, when an extension is
> installed. I'm working on an extension managing user access rights. To
> manage the extension's rights itself, some database records should be
> created depending on TypoScript configuration.
>
> Can anybody please help me on how I can execute code, when an extension
> is installed?

I ended up on executing the code in the ext_tables.php and setting a 
registry entry that that code was executed.

-- 
Dmitry Dulepov
TYPO3 core&security team member
E-mail: dmitry.dulepov at typo3.org
Web: http://dmitry-dulepov.com/




More information about the TYPO3-dev mailing list