Review and Update Generated Files
Kickstarer generated several Frontend plugin files for us and added several code lines to ensure proper configuration of the plugin. Let's see what exactly was generated and how it is related to the plugin. We will also adjust certain lines to better fit our needs.
Frontend Plugin Files
Frontend plugin files are located in the pi1
directory of our extension. Kickstarter generated two files: class.tx_feuserlist_pi1.php
and locallang.xml
. The first file contains the plugin code, while the second contains language strings for the plugin.
class.tx_feuserlist_pi1.php
This is the file that TYPO3 will include as part of the Frontend plugin execution process. As we already know from the previous chapters, according to TYPO3 coding guidelines, the file will contain the tx_feuserlist_pi1
PHP class.
Each class file starts with GPL license. It must appear in every TYPO3 related code file. Next goes a special comment, which looks like this:
/** * [CLASS/FUNCTION INDEX of SCRIPT...