Quick note about adding TYPO3 extension as a library

During developing a little TYPO3 extension currently I chose the option "Just include library" in the extension kickstarter. During development all went fine but after intergrating the extension on the production site, I couldn't get it up and running.
This short note about a failure which can cause many minutes of debugging should help you and me in the future to not forget to include the necessary TypoScript setup to make that thing work.

- The library option in extension kickstarter

- The TypoScript object browser shows the correct integration of the library
During kickstarting an extension with the TYPO3 extension "kickstarter" you have the possibility to load the extension as a library.
If you also check the option "Provide TypoScript example for USER cObject in 'page.1000'" the t3lib_extMgm class will add the TypoScript setup accordingly.
To ensure the plugin is working, check the TypoScript object browser if the object is created correctly.
If another object uses this position, try to locate a free cObject "slot" and add the extension invocation to it.
This procedure is also necessary if you're using multiple extensions which are used as a library only.
TypoScript: moving library extension to another PAGE cObject slot
page.1001 =< plugin.tx_yourextensionkey_pi1


Comments
No comments