[ckan-dev] ckanext-pages: How to add template stuff

Adrià Mercader adria.mercader at okfn.org
Tue Nov 19 17:23:47 UTC 2013


Hi Ralf,

I don't think that the pages content is evaluated before being
inserted on the page template right now, or if it is possible at all.

Adrià

On 15 November 2013 11:50, Ralf <user66 at arcor.de> wrote:
> Hi,
>
> I am using ckanext-pages to add some static pages to my CKAN site.
>
> Question:
> How can I use or integrate the template stuff from regular CKAN pages (like
> "about") into those pages? For example, I want to add disqus to a page. In
> regular pages this is done via
>
>        {% block disqus_comments %}
>           {{ h.disqus_comments() }}
>        {% endblock %}
>
> Is this also possible within pages created with ckanext-pages?
>
> Cheers
> Ralf
> _______________________________________________
> 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



More information about the ckan-dev mailing list