I installed Pressbooks LTI plugin, My Pressbooks&Pressbooks LTI provider and Moodle are both the latest stable version.
I need enable Content Selection feature, preferrably LTI 1.3.
I tried almost every possible configuration matching of the both sides. In Moodle side, it still shows: An error occurred when launching the external tool:Sorry, there was an error connecting you to the application.
I have to be honest. I know that the Content Selection feature is part of the LTI Specification, but I have never found it very useful.
For the content selector to work well, you have to make a connection to a book, and then from the content selector, you can choose the chapters and parts that you want to select. What this means, to my understanding, is that every book would need to be set up as a separate LTI tool with the format https://site/book/format/lti
Most LMS admins I know, would much rather create the connection to the Network of books, not to individual books. I find it more convenient to export the entire book from Pressbooks as a 1.1 book, and then from the Moodle import page select the chapters that I want displayed.
While I can’t help you with the content selector tool, I would be very happy to help you troubleshoot the 1.1 connection.
Thank you all! Now I change to the LTI 1.1 in both sides. It seems progressing. But when I click the “Select content” in Moodle, it shows up an error as below:
@dac.chartrand Could you please show your complete configuration(expanding all config sections on that pge) of your Pressbooks external tool in Moodle?
If you are using the 1.1 LTI option, (which I think is the way to go and the most popular) you should not use the select content button.
First, just doublecheck your setting from Moodle: In this example below, I have selected to not show the tool to the faculty members. Since we will always be importing from Pressbooks. This is just to avoid them trying to use the content selection tool.
Next, go to your pressbooks server, and export the book you want as an 1.1 LTI package. The package that you download will include a link to each Pressbooks chapters (Or whatever chapters you have selected to export from the organize screen)
@beckej Thank you! But I cannot use the course Restore feature to import the Pressbooks-exported “Common Cartridge 1.1 (LTI Links)” file. Instead, I add a resource of “IMS content package” and upload the file. And the Table of Content shows up normally in Moodle, but no clickable LTI links to the detail pages.
I’m confused why you said you “cannot use the course restore feature.”
Has your administrator disabled it?
The package you have downloaded from Pressbooks is a Moodle backup file in the IMS Common Cartridge format. This file type is made to be used using the course restore features and not the same as the IMS “content package”. It won’t work the way you were uploading it.
You should be able to click on Restore from the admin menu, and upload your backup file.
Most people use LTI 1.1, configure manually, and use Common Cartridge to mass import. It’s more convenient than using a per book config to get to a menu that lets you select 1 chapter at a time. Furthermore, LTI 2.0 is deprecated. The next version is LTI 1.3, is coming soon but is currently not supported. Someone else can probably explain this confusing version numbering better than I.
On LTI versioning, see: https://www.imsglobal.org/lti-adoption-roadmap. TL;DR is that the accepted LTI was 1.1. IMS Global released 1.2 (simpler) and 2.0 (more complicated) as replacements for 1.1, but they didn’t work very well and weren’t adopted much (most people stuck with 1.1). IMS Global scrapped 1.2 & 2.0 and rebuilt a better implementation to succeed 1.1 and released that as 1.3. They’re now saying 1.3 is the way to go for everyone. The recommended adoption path is now 1.1 -> 1.3. Our current plugin supports 1.1 and elements of 2.0 – we plan to update our plugin to support the newish 1.3 spec sometime soon, as Dac said.
Finally, it turned out that the error is caused by the pressbooks-cas-sso plugins enabled in my Pressbooks. After disabling it, the Content-selection features plays perfectly with LTI 1.1.
Thank you all!
Edit: Today, I re-enable the pressbooks-cas-sso plugin, the LTI still works. Very confusing. Anyway, all works now!
I installed LTI plugin and connected with Moodle. Connection was made automatically through Add tool feature. So it uses LTI 2.0 as I read in this thread. When I select chapter I get error: “Sorry, there was an error connecting you to the application.”.
If I like to establish connection with LTI 1.3 I don’t see public key in administration of pressbooks. Aslo, If I try to configure LTI 1.1 it’s not working.
Most people use LTI 1.1, configure manually, and use Common Cartridge to mass import. It’s more convenient than using a per book config to get to a menu that lets you select 1 chapter at a time.
Hi @SteelWagstaff. Tnx for quick reply. I followed the documentation and managed to connect with PressBooks. When I select chapter I get error mentioned earlier.
Sounds like you might have a configuration error – I’d check your key/secret pair and Tool URL values. Here’s a screenshot of a sample configuration I set up recently for a staging network and self-hosted Moodle instance we run:
Tool URL should be the root address of your Pressbooks network WITHOUT a trailing backslash or spaces at the end.