[ckan-dev] Featured groups and Organisations

Aaron McGlinchy McGlinchyA at landcareresearch.co.nz
Thu Nov 13 03:11:49 UTC 2014


Bump on the query below, plus to add to it - within the featured organisation and group, the list of datasets featured seems to continually grow.

Is there a setting to limit the number of datasets shown under the featured organisation/group, and also is there any control/logic over what/how many datasets get featured e.g. the most recently uploaded 5-10 datasets, the most often accessed datasets...

The documentation says that "This setting is used to display a group and datasets on the home page in the default templates (1 group and 2 datasets are displayed)."  But we are having way more than 2 datasets featured.

Thanks
Aaron
------------------------------

Message: 4
Date: Fri, 19 Sep 2014 01:35:41 +0000
From: Aaron McGlinchy <McGlinchyA at landcareresearch.co.nz>
To: "ckan-dev at lists.okfn.org" <ckan-dev at lists.okfn.org>
Subject: [ckan-dev] Featured groups and Organisations
Message-ID:
        <A924326C14714F409FB3703B815FF9FD122ABAF5 at HERMES.landcare.ad.landcareresearch.co.nz>

Content-Type: text/plain; charset="us-ascii"

Hi,
    We have a pretty standard install of CKAN 2.2, with Featured Organisation's and Featured Groups enabled.

I know that you can specify what gets featured using

ckan.featured_groups = group_one group_two

and

ckan.featured_orgs = org_one org_two


However I assumed (apparently incorrectly) that if you did not specify a value that a random organisation and group would be featured.  The organisation and group featured on our home screen haven't been changing, so I think it must just use the first created organisation and first created group - is that the case?

If so, I think it would be more useful if not specified then it is randomly selected, otherwise to get some variety on what's displayed I have to be continually changing the config file settings 'under the hood' (one step up on this would be in the Sysadmin config  setting in the UI to be able to specify which group(s) and organisation(s)). [if I understand correctly I may suggest this 'tweak' for the roadmap]

Meantime, can I just check - I have an organisation called "Aarons Organisation", its part of the URL ckan assigns is "aarons-organisaion".  I presume to specify that organisation to be featured I would add

ckan.featured_orgs = aarons-organistation

as opposed to ckan.featured_orgs = aarons_organisation  (or as per the CKAN docs example should I use an underscore _ instead of a dash - in place of spaces)?

Thanks
Aaron

________________________________

Please consider the environment before printing this email
Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz


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

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/optionss/ckan-dev


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

End of ckan-dev Digest, Vol 47, Issue 14
****************************************

________________________________

Please consider the environment before printing this email
Warning: This electronic message together with any attachments is confidential. If you receive it in error: (i) you must not read, use, disclose, copy or retain it; (ii) please contact the sender immediately by reply email and then delete the emails.
The views expressed in this email may not be those of Landcare Research New Zealand Limited. http://www.landcareresearch.co.nz



More information about the ckan-dev mailing list