[ckan-dev] WG: At CKAN webbrowser I cannot see datasets in list but in activity stream, is there a extra module needed?

Ries, Jutta jutta.ries at hrz.tu-darmstadt.de
Tue Apr 30 06:22:28 UTC 2019


Hi

As additional information: we also did have problems with creating new rest_packages. 
Therefore we added some code in python modules create and update.
Maybe it is also a rest_package view problem?

* Jutta



-----Ursprüngliche Nachricht-----
Von: ckan-dev <ckan-dev-bounces at s116.okserver.org> Im Auftrag von ckan-dev-request at s116.okserver.org
Gesendet: Freitag, 26. April 2019 14:00
An: ckan-dev at s116.okserver.org
Betreff: ckan-dev Digest, Vol 102, Issue 20

Send ckan-dev mailing list submissions to
	ckan-dev at lists.okfn.org

To subscribe or unsubscribe via the World Wide Web, visit
	https://lists.okfn.org/mailman/listinfo/ckan-dev
or, via email, send a message with subject or body 'help' to
	ckan-dev-request at lists.okfn.org

You can reach the person managing the list at
	ckan-dev-owner at lists.okfn.org

When replying, please edit your Subject line so it is more specific than "Re: Contents of ckan-dev digest..."


Today's Topics:

   1. Re: At CKAN webbrowser I cannot see datasets in list but in
      activity stream, is there a extra module needed? (Gavin Cannizzaro)
   2. most popular groups in our own theme. (Judith Moran)


----------------------------------------------------------------------

Message: 1
Date: Thu, 25 Apr 2019 09:53:29 -0400
From: Gavin Cannizzaro <gcannizzaro at mindgrub.com>
To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
Subject: Re: [ckan-dev] At CKAN webbrowser I cannot see datasets in
	list but in activity stream, is there a extra module needed?
Message-ID:
	<CAH7_1PJRZhZy=ubqL7R2Pbh3r84ZAu6=AnaETAWJJJJo8w8=Pg at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Jutta, what version of CKAN are you running?  We have the same issue, though are pegged to 2.7.

--Gavin
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190425/d3eb3904/attachment-0001.html>

------------------------------

Message: 2
Date: Fri, 26 Apr 2019 06:56:39 +0000
From: Judith Moran <Judith.Moran at nt.gov.au>
To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
Subject: [ckan-dev] most popular groups in our own theme.
Message-ID:
	<7776cc65b9784d459a7f53302731a419 at DCH-MEX24.prod.main.ntgov>
Content-Type: text/plain; charset="us-ascii"

Hi,

I am following the example in 2.8.2 guide for the above.

https://docs.ckan.org/en/2.8/theming/templates.html?highlight=ckan.common

Adding your own template helper functions


I have successfully updated the plugin.py with the additions..... some syntax errors on indents but fixed them from the error log.

Now when I add the simple code below.....  I get "Server Error"

The previous developer bypassed layout1.html and is using ONLY index.html to generate the home page.
Does this make it any difference to adding the code into index.html instead of layout1.html??




{% block featured_organization %}

  {# Show a list of the site's most popular groups. #}
  <h3>Most popular groups</h3>
  <ul>
    {% for group in h.example_theme_most_popular_groups() %}
      <li>{{ group.display_name }}</li>
    {% endfor %}
  </ul>

{% endblock %}

Anyone got any suggestions...

Thx

Judy.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190426/66f45b47/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
ckan-dev mailing list
ckan-dev at lists.okfn.org
https://lists.okfn.org/mailman/listinfo/ckan-dev
Unsubscribe: https://lists.okfn.org/mailman/options/ckan-dev


------------------------------

End of ckan-dev Digest, Vol 102, Issue 20
*****************************************



More information about the ckan-dev mailing list