These are a few rather small changes that could make things easier, so IMHO it is better to have them in one thread instead of create one for every tiny bit
Class Extensions
It would be great if the last Add-on touched was remembered (through cookie or DB) instead of having just one setting through config.php
Class Extensions
- Make the extension class name optional when adding a new class extension
If left empty and an Add-on is selected, guess the class name from the base class asVendorId\AddOnId\XF\Base\Class
, if it does not exist error just as a wrong class name had been given - Add a CLI command to create a new class extension
- Make the callback class name and method optional wehn adding a new listener
If left empty empty and an Add-on is selected, guess the class name and method from event and hint asVendorId\AddOnId\Listener::eventNameHintAsCamelCase
, if it does not exist error just as a wrong callback had been given - Add a CLI command to create a new code event listener
It would be great if the last Add-on touched was remembered (through cookie or DB) instead of having just one setting through config.php
Last edited:
Upvote
4