[ckan-dev] Allow tagcloud on Czech CKAN

David Read david.read at okfn.org
Tue Oct 4 10:39:19 UTC 2011


2011/10/3 Ondřej Vadinský <ondrej.vadinsky at vse.cz>

> Hello,
>
> we would like to have a tagcloud displayed on Czech CKAN homepage. From
> what I
> read on the wiki [1] and documentation [2] and from what I've seen in
> index.html template, it should be there, but it is not generated. Could you
> suggest what is wrong?
>

Hi Ondrej,

I love the tag cloud and would love to see it on more CKAN's!

I'm afraid the wiki on this [1] got a bit mangled, which I've corrected now.
There are two snippets of code needed for the tag cloud and you have only
got the first one on the page. So simply add in the bit that starts: <py:if
test="len(c.facets.get('tags', {}))">

Do let us know if that does the trick. Cheers,

David

Regards,
>
> Ondřej Vadinský
>
> [1] http://wiki.ckan.org/Recipes
> [2] http://docs.ckan.org/en/latest/theming.html
>
> _______________________________________________
> ckan-dev mailing list
> ckan-dev at lists.okfn.org
> http://lists.okfn.org/mailman/listinfo/ckan-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20111004/885f5753/attachment-0001.html>


More information about the ckan-dev mailing list