A.L.E.C wrote:
> Roland Liebl wrote:
>
>> 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.
>
> We definitely need this feature. We need also:
>
> 1. Handling of image locations:
>
> <roundcube:button imageSel="/images/buttons/filter_add_sel.png" ...

I kind of solved this in r2515 by defining /this/ to be the path to the 
plugins skin folder. Also links to plugins/... will be converted to 
whatever the plugins_dir property is set to.
>
> How to set image location in plugins skins/ directory?
>
> 2. Handling of situations when plugin not contain templates for non-default 
> skin.
> Then we should use template for 'default' skin instead of displaying error.

Fallback to skins/default/ was added in r2514

~Thomas

_______________________________________________
List info: http://lists.roundcube.net/dev/

Reply via email to