[TYPO3-dev] Executing code when extension is installed

Xavier Perseguers typo3 at perseguers.ch
Sat Jan 22 13:47:21 CET 2011


Hi Michael,

> 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?

You either should use the UPDATE! feature you might use in your 
extension but then user should manually choose this option from dropdown 
menu when "opening" your extension in EM or look for a hook you could 
implement in EM code.

HTH
Xavier




More information about the TYPO3-dev mailing list