[ckan-dev] ITemplateHelpers
Ross Jones
ross.jones at okfn.org
Tue Apr 17 13:20:55 UTC 2012
Yes please, that'd be really really useful :)
On 17 Apr 2012, at 14:18, Toby Dacre wrote:
> I'd like to add a new ITemplateHelpers plugin interface to allow plugins to register new template helper functions.
>
> I think this would be helpful in reducing the need to have python code in templates which is good for both readability and customisation of templates. It would work in a similar way to the IActions interface. The functions would be available via h in templates but not via lib/helpers.py
>
> Does this seem a reasonable thing to be doing?
>
> Toby
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
More information about the ckan-dev
mailing list