----- Original Message -----
Sent: Sunday, May 17, 2009 6:16 AM
Subject: Load skins templates from plugin
directory
Hello Devs,
the attached patch is very usefull, IMO. It loads
plugin templates from the plugin folder. It is similar to what you are already
doing by the localization.
E.g.:
$rcmail->output->send("settings.account") ... will
parse the template from
./[conf:plugins_dir]/settings/skins/[conf:skin]/templates/account.html.
So we could use a "Domain Prefix" for plugin
templates. It would make it easier to install a plugin, because
the user does not have to copy things into the main skin folder.
Please let me know, if you will incorporate the
patch. I'm in process to update MyRoundCube to use the new Plugin API and
have to know if I can rely on this method.
Regards,
Roland