[ckan-dev] override a template used within CKAN

Hendrik Bunke bunke.hendrik at gmail.com
Tue Dec 10 09:33:21 UTC 2013


Did you announce you template directory like described here:
http://docs.ckan.org/en/847-new-theming-docs/theming/templates.html#replacing-a-default-template-file
?

basically:
 toolkit.add_template_directory(config, 'templates')

regards
hendrik


On 9 December 2013 17:50, Laura Lazzati <laulazzati at yahoo.com.ar> wrote:

> yes, I am doing the same, i mean, i created my own templates directory,
> the snippets directory inside it, and i place there the file with the same
> name and extension but with some changes, but CKAN stil seems to call the
> original file. This also happened to me when I tried to override the
> template for the follow button, which is also called within a function in
> the code of ckan.
>
>
>   El día lunes, 9 de diciembre de 2013 13:07, Sean Hammond <
> sean.hammond at okfn.org> escribió:
>  > I am trying to override a template that is called within CKAN's code (I
> > mean, a  CKAN function calls it), but it keeps using the original one.
> > In fact, the template that I am overriding is activity_item.html.
> > Any ideas?
>
>
> What are you doing to try to override it? This might help:
>
> http://docs.ckan.org/en/847-new-theming-docs/theming/templates.html
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
>
>
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
> Unsubscribe: http://lists.okfn.org/mailman/options/ckan-dev
>
>


-- 
Dr. Hendrik Bunke
http://gplus.to/hbunke
http://twitter.com/hbunke
http://www.hbxt.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20131210/bf33bb68/attachment-0003.html>


More information about the ckan-dev mailing list