ballyn
Verified User
I'm working on a (free) plugin that will add a new webmail interface to DA.
Instead of using hooks to add links to the UI, I'd like to replace the default skin pages that show squirrel and uebi with ones that show the new system as well.
Ideally, I'd like DA to use a similar system as it does for templates with a "custom" folder that will override the standard skin files in order to persist these changes through an upgrade and to avoid messing with the default skins. In the meantime...
Do you think it's okay for a plugin to modify the skins, or should there be an optional script that could be run after the plugin is installed if you wish to modify the skins? Would you rather see the links implemented as hooks? Any other ideas?
Making this optional during the plugin install would probably be the best solution, but the permission and security issues involved make this not worth the effort for a single, one-time script IMHO.
Instead of using hooks to add links to the UI, I'd like to replace the default skin pages that show squirrel and uebi with ones that show the new system as well.
Ideally, I'd like DA to use a similar system as it does for templates with a "custom" folder that will override the standard skin files in order to persist these changes through an upgrade and to avoid messing with the default skins. In the meantime...
Do you think it's okay for a plugin to modify the skins, or should there be an optional script that could be run after the plugin is installed if you wish to modify the skins? Would you rather see the links implemented as hooks? Any other ideas?
Making this optional during the plugin install would probably be the best solution, but the permission and security issues involved make this not worth the effort for a single, one-time script IMHO.