[ckan-dev] Composite repeating display help

Luke Tully luke at luketully.ca
Wed Jun 19 03:01:35 UTC 2019


Yep here you go.
https://gist.github.com/LukeTully/a2ce3ad90789449c87aa76096d87a6fe

<https://gist.github.com/LukeTully/a2ce3ad90789449c87aa76096d87a6fe>
T <https://gist.github.com/LukeTully/a2ce3ad90789449c87aa76096d87a6fe>hat
pretty much does exactly what you’d want, and might actually just work for
you. You’d render a heading outside the for loop if that’s what you want to
do, but otherwise this will print the name of each contributor in an
ordered list.


On June 18, 2019 at 1:44:38 PM, ckan-dev-request at lists.okfn.org (
ckan-dev-request at lists.okfn.org) wrote:

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. Composite repeating display help (Knight, Kathryn)


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

Message: 1
Date: Tue, 18 Jun 2019 20:40:49 +0000
From: "Knight, Kathryn" <knightke at ornl.gov>
To: CKAN Development Discussions <ckan-dev at lists.okfn.org>
Subject: [ckan-dev] Composite repeating display help
Message-ID: <910623DB-A5D9-44A0-922B-B8BD49ADA45A at ornl.gov>
Content-Type: text/plain; charset="utf-8"

Hi all,

I?m using the Composite Repeating plugin, and would like to modify the
metadata record display so that, for any repeating subfields, they are
printed once followed by a list of the values (so in the example I?ve
provided below, I?d like ?Medical Subject Heading? to show only once, with
a list of the values following).

Has anyone already created a similar display modification? I?ve tried
editing the plugin myself, but with no luck so far?it?s not clear to me how
the composite_repeating.html file should be modified, or if it needs to be
changed in tandem with another file. Thanks in advance for any assistance.

[cid:image001.png at 01D525F4.956D3DB0]

Katie
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <
http://lists.okfn.org/pipermail/ckan-dev/attachments/20190618/1d7e6d12/attachment.html>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.png
Type: image/png
Size: 109470 bytes
Desc: image001.png
URL: <
http://lists.okfn.org/pipermail/ckan-dev/attachments/20190618/1d7e6d12/attachment.png>


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

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 104, Issue 9
****************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.okfn.org/pipermail/ckan-dev/attachments/20190618/bfcc114b/attachment-0002.html>


More information about the ckan-dev mailing list