• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Lack of interest Add-on Development

R

ragtek

Guest
#1
It would be cool, if we could create the "Code Event Listener Files" automatic, if we add a "Code Event Listener"

ATM, the system checks, if the class and the method exist.

If it doesn't exist, we only get a errormessage
Error

Please enter a valid callback method.
For example:

Ragtek_AddonID_Eventlistener_Foo::Bar

The Interface is checking, if Ragtek_AddonID_Eventlistener_Foo exists with an method Bar

If it doesn't exist, the script could create a skeleton where we only have to add the code^^
PHP:
class Ragtek_AddonID_Eventlistener_Foo
{
static public function Foo(args)
{
}
}
Next thing, which could be maybe cool for 3rd-party devs, would be to create at least the addon directory automatic after creating a add-on in the Admincenter.