[ckan-dev] ITemplateHelpers

Adrià Mercader amercadero at gmail.com
Tue Apr 17 13:31:41 UTC 2012


+1

On 17 April 2012 15:20, Ross Jones <ross.jones at okfn.org> wrote:
> 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
>
>
> _______________________________________________
> 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