• Resolved PAKelsey

    (@pakelsey)


    I am relatively new to Zotero and recently came across Zotpress and have been trying to incorporate it into my website.

    I currently have three individual groups of varying access in Zotero. Within each I have numerous collections with some subcollections.

    My goal is to share all of my materials with my students based on the group and, in some cases, the collection.

    To that end, I’ve looked everywhere and tried everything possible, but I’m at the point that I need t post my questions.

    1. Currently, using [zotpress collection=”KZVRPQGJ”], which appears to be a valid collection itself with two subcollections results in “Sorry, there’s no items to display.” Any thoughts on to why this would be? Note: I can see individual items when using [zotpress userid=”180260″].

    2. Ideally, what I am trying to get at is being able to display all of my items categorized with their respective collection label. For example, COURSE XYX (collection) , TOPIC A(subcollection), with listings of items 1, item 2, item 3, etc. Is there a way to display this?

    Any help would be appreciated. I’m not sure if it a plugin issue or a coding issue on my part.

    (BTW: this plugin is truly a godsend. I’ve been using the plugin Link Library for a similar task, but Zotpress being linked to Zotero is much better.)

    Thanks,

    Patrick

    http://wordpress.org/extend/plugins/zotpress/

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Katie

    (@kseaborn)

    Short answer: multiple shortcodes. I believe the shortcode currently displays just the collection’s items (not subcollections or their items). So you would have to use shortcodes for each subcollection, which would allow you to have specific titles and have separate collections displayed for your groups as you’ve described. Is this what you’re looking for?

    Thread Starter PAKelsey

    (@pakelsey)

    Thanks for writing.

    I don’t know if my first question may contribute to the second, i.e., the short code to show or display a collection. What is the definition of a collection for Zotpress? Subcollection? Why might my collection (or folder) might come up as there being nothing to display?

    Assuming the two points are not related, I think what you’re saying is accurate. I would like to display one Group that has 50+ folders or individual collections without having to go through and installing code for each and every collection individually. In theory, I could install a title and add the short code for that particular collection, but it might become burdensome and/or if I added a folder/collection then I’d have to re-doc my Zotpress short codes.

    Displayed, it might look like:

    GROUP ABC
    Course X (collection? or, subcollection?)
    Article A (item)
    Article B (item)
    Article C (item)
    Course Y
    Course Z

    In the end, I’d like to do what I did with Link Library (visit http://patrickkelsey.com/scad/news-feed/) to catalog categories with the actual links.

    Plugin Author Katie

    (@kseaborn)

    Items only belong to the collection they’re in (e.g. not the collection’s collection). If the collection only has subcollections, then no items will be displayed. Is that how it’s working for you?

    Thread Starter PAKelsey

    (@pakelsey)

    Okay. I have items in just the group, the collection,

      and

    subcollections just to see what is displayed (for testing purposes).

    The coding I’m using to test this out is:
    USERID – [zotpress userid=”173663″]
    NICKNAME – [zotpress nickname=”onlineresources” datatype=”collections”]
    COLLECTION – [zotpress collection=”FDIEUJZ3″]

    The USERID and NICKNAME displays correctly. I get every item in the group and the collection & subcollections (labels only), respectively.

    However, for COLLECTION I get “Sorry, there’s no items to display.” . This particular group is open access. I think it should be coming back with a small number of items specific to this one collection.

    Aside from this issue, I think what you are saying is that if I have 50 folders (collections) I will need to create short codes for each of the 50 if I was to segregate and label them appropriately. I would create a manual label attach the short code and just keep tabs on any new collections created hereafter.

    Is there short coding to display the contents of a group in its entirety segregated with collection labels?

    Plugin Author Katie

    (@kseaborn)

    I see — I missed that you’re using multiple groups. You have to specify which group you’re using or Zotpress doesn’t know where to pull the collection from.

    I don’t think there’s a way to do that if this shortcode doesn’t do the trick:

    [zotpress userid=”173663″ collection=”FDIEUJZ3″]

    Thread Starter PAKelsey

    (@pakelsey)

    Got it. So, in short there is not a current technique to show the collection, with its label/title, and its items in a single short code. The alternative is then to install a label/title and then append the short code for each collection individually. Is that accurate?

    If so, is there any plans for being able to share a group in its entirety without coding each collection individually?

    Plugin Author Katie

    (@kseaborn)

    Just to make sure I understand correctly — are you looking for something like the “Browse” section in Zotpress or the library viewer on the Zotero website?

    Thread Starter PAKelsey

    (@pakelsey)

    Yes. I would love to be able to share the contents of a Zotero Group library in its entirety with one short code and not a short code for each collection within the Group.

    Plugin Author Katie

    (@kseaborn)

    So you’d like to embed the library in your website, as opposed to directing students to the library on Zotero website?

    Thread Starter PAKelsey

    (@pakelsey)

    Yes, that would be about it. I can’t always get them to try something new, so I’ll just show them what they are missing.

    Plugin Author Katie

    (@kseaborn)

    I’m not sure if this is possible, but I’ll add it as a feature request. As long as you have your Zotero library made public, your students should be able to view it on the Zotero website without having to create an account.

    Plugin Author Katie

    (@kseaborn)

    I just realized there might be an existing feature that will suit your purposes — have you tried the “link” attribute in the shortcode?

    [zotpress datatype=”collections” collection=”________” sortby=”title” order=”asc” link=”yes”]

    Thread Starter PAKelsey

    (@pakelsey)

    Katie,

    First, thanks a bunch. This almost worked as is. Had I a single group library, it would have done it. However, I had three groups each with a different permission.

    The catch is that the coding you provided would have applied to the default group only. Because of my distinct needs, I toyed around with it and found that I could insert the nickname and then be able to distinguish between my groups.

    My final coding is:

    [zotpress nickname=”onlineresources” datatype=”collections” sortby=”title” order=”asc” link=”yes”]

    Check it out at PatrickKelsey.com/scad. I’ve used your plugin for the Online Resources and File Sharing segments to date. I have much work to do, but it’s coming together.

    Plugin Author Katie

    (@kseaborn)

    Great! Happy to hear it worked out in the end.

    Thread Starter PAKelsey

    (@pakelsey)

    So the suggestion worked out on one front where I wanted to display, easily, the collections of a single library. Today, I was trying to install code where I could display one collection in a library and its subcollection. My objective was to splice by group library into a few smaller segments and link the collections to individual pages for easy reference. I was trying all sorts of coding, but no luck. Is it even possible to display one collection its subcollections without having to install numerous codes?

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Displaying of collection, subcollections, and items altogether’ is closed to new replies.