Hi,
Can anyone point me in the right direction for developing plugins for Revo? I’d like to develop the directresize Revo plugin to a level similar to the Evo version. As it currently stands it needs a bit more work.
What I’m struggling with at the moment is defining the plugin properties. I have "rtfm" and seen the entries on defining a default lexicon value in the plugin code using
$modx->lexicon->load('directresize:default');
I can follow that if I use the "setting_" prefix on a my properties e.g. "setting_directresize.prefix" then it will create a system setting under directresize called prefix.
What I’d really like to do is have most of these settings listed under the properties tab for the plugin. Now I realise that I can do this manually via the manager gui to add properties.
Is there a way I can add these properties to the plugin programatically? The aim being that if I package up the plugin can I define it such that anyone installing the plugin will get these property settings in the plugin properties tab rather than having to delve into the system settings?
I’m struggling to understand the differences between settings under the system settings menu item and the properties tab in the plugin. Anything to help this beginner!
My apologies if this has already been covered elsewhere, I couldn’t find the information so any links would be appreciated.
Regards
Adrian