Activities: Aspire resource list

mod_aspirelist
Maintained by Picture of Tony Butler Tony Butler, Picture of Ruslan Kabalin Ruslan Kabalin
The Aspire resource list module enables a teacher to include a selection of resources from associated Talis Aspire resource lists directly within the content of their course. Please note that this plugin depends on a paid subscription to the Talis Aspire reading lists service (http://campus.talisaspire.com/).
28 sites
32 downloads
2 fans

The Aspire resource list module enables a teacher to include a selection of resources from associated Talis Aspire resource lists directly within the content of their course.

The resource list can be displayed either in a separate, linked page, or embedded in the course page itself (hidden initially, with a link to toggle visibility).

The development of this module was based on previous work by the University of Sussex and Falmouth Exeter Plus (on behalf of Falmouth University).

Please note that this plugin depends on a paid subscription to the Talis Aspire reading lists service.

Screenshots

Screenshot #0
Screenshot #1

Contributors

Picture of Tony Butler
Tony Butler (Lead maintainer)
Please login to view contributors details and/or to contact them

Comments RSS

Show comments
  • Picture of Kevin Barnes
    Tue, 20 Sep 2016, 10:22 PM
    Hi there

    I'm currently having problems with plugin version 2.9.5. We have the following settings:

    Aspire URL: http://myreadinglists.kcl.ac.uk
    Aspire URL HTTPS alias: https://kcl.rl.talis.com
    Aspire Code Regex: ^([0-9A-Z]{8})
    Year Code Regex: (2012|2013|2014|2015|2016|2017|2018)[A-Z]

    The rest of the settings remain blank or default.

    Any assistance would be gratefully received,
  • Picture of Tony Butler
    Wed, 21 Sep 2016, 12:20 AM
    Hi Kevin,

    Could you send me a sample course idnumber please?

    Thanks,
    Tony
  • Picture of Kevin Barnes
    Wed, 21 Sep 2016, 3:39 PM
    Hi Tony

    Thanks for you reply.

    An example is:

    7FFLJ9070000012016SY

    Thanks
  • Picture of Tony Butler
    Wed, 21 Sep 2016, 6:13 PM
    Hi Kevin,

    You just need to include delimiters around your regular expressions e.g. /^([0-9A-Z]{8})/ and /(2012|2013|2014|2015|2016|2017|2018)[A-Z]/ should work fine.

    Hope this helps.

    Cheers,
    Tony
  • Picture of Kevin Barnes
    Wed, 21 Sep 2016, 10:53 PM
    Hi Tony

    Thank you so much. That appears to have resolved the problem.

    Thanks again.
  • Picture of Jon Bolton
    Thu, 20 Oct 2016, 8:07 PM
    Hi Tony - we have module codes and school codes, so at present we’re limited to using one or the other in Moodle. Would it be a big job to have the option to add knowledge groups to the custom database table?
  • Picture of Tony Butler
    Thu, 20 Oct 2016, 8:26 PM
    Hi Jon. I've a feeling that would involve a fairly major rework, but I'll look into it and get back to you.
  • Picture of Jon Bolton
    Thu, 20 Oct 2016, 8:42 PM
    Ok, thanks. Just to clarify, I’m not suggesting that the current method is changed. What I was thinking was an additional option in the existing knowledge group options for 'custom' and an additional field in the custom database options for mapping into the custom table. If the 'custom’ option was selected, the additional custom field would be used instead of the values in the existing list.
  • Picture of Jon Bolton
    Thu, 20 Oct 2016, 8:49 PM
    The custom table is really helpful for many-to-many relationship. It’s just limiting to have one method of knowledge group sad
    Done a quick change to my custom table on my test site - see https://www.dropbox.com/s/wczecjmh4ef9mmi/talis-moodle-custom.png?dl=0
  • Picture of Jon Bolton
    Thu, 20 Oct 2016, 8:51 PM
    Wrong link, sorry! Too many windows open smile
    Correct link is https://www.dropbox.com/s/7t2rp2scnmanx93/talis-moodle-custom.png?dl=0
  • Picture of Tony Butler
    Thu, 20 Oct 2016, 8:52 PM
    Presumably the module/school codes will still be globally unique. Or is there a possibility of collisions?
  • Picture of Jon Bolton
    Thu, 20 Oct 2016, 8:59 PM
    In our case, module codes are generated by another system in the format of AA11111. School codes are generated manually and have different format, usually AAAAAA, so negligible possibility of collision.
  • Picture of Tony Butler
    Thu, 27 Oct 2016, 5:02 AM
    Hi Jon, please cherry-pick the commit at https://github.com/tonyjbutler/moodle-mod_aspirelist/commit/16a70a27d5bc7a9ee0393e336c6d3f9c50b109ec and purge your caches to update the lang strings. I've given it a quick test but I'd be grateful if you could try it on a test server first with a number of different configs to make sure I haven't broken anything. Thanks, Tony
  • Picture of Jon Bolton
    Thu, 27 Oct 2016, 5:29 PM
    Tony, you have surpassed yourself! Thank you so much.

    Testing on Moodle 3.1.2+ (Build: 20160923) / mysql 5.5.47.0 / php 5.4.45.1.6.1...

    Knowledge Group settings: Module
    Source: Course ID Number

    courseid is blank = displays "Sorry, there are no resource lists associated with this Course."

    courseid contains correct List code = shows the correct reading list for that module.

    courseid contains incorrect List code = shows a reading list if the code matches an existing list, otherwise displays "Sorry, there are no resource lists associated with this Course."

    WORKS AS EXPECTED smile

    ---

    Knowledge Group settings: custom database
    Source: knowledgegroupcolumnname

    If Knowledge Group column is missing in database or incorrectly mapped in Settings = defaults to globally set Default Knowledge Group.

    Correct List code and correct Knowledge Group = shows the reading list.

    Correct multiple List codes and correct Knowledge Group = shows multiple reading lists.

    Correct multiple List codes with different correct Knowledge Groups = shows multiple reading lists.
    eg. courseid=15, taliscode=EDSW, knowledgegroup=school
    courseid=15, taliscode=SW21012, knowledgegroup=module

    Incorrect List code but correct Knowledge Group = shows a reading list if the code matches an existing list, otherwise displays "Sorry, there are no resource lists associated with this Course."

    Correct List code but incorrect Knowledge Group = does not show that list.

    If List code is missing in custom database table:
    - If List code does not exist as courseid = displays "Sorry, there are no resource lists associated with this Course."
    - If List code exists as courseid = defaults to globally set Default Knowledge Group and shows the reading list.

    If Knowledge Group field is missing in custom database table:
    - Unlikely in my db as it's an enum choice field – but if Knowledge Group field is missing/empty, it defaults to globally set Default Knowledge Group. If courseid and taliscode are present, it shows the reading list.

    WORKS AS EXPECTED smile
  • Picture of Tony Butler
    Thu, 27 Oct 2016, 5:45 PM
    Many thanks Jon, that's some very thorough testing. Now I feel reassured. smile
1 2 3
Please login to post comments