[ckan-dev] ITemplateHelpers
John Glover
john.glover at okfn.org
Tue Apr 17 13:43:39 UTC 2012
Sounds good to me.
John
2012/4/17 Adrià Mercader <amercadero at gmail.com>:
> +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
>
> _______________________________________________
> 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