|
From: Steve L. <sw...@ca...> - 2008-06-09 00:24:16
|
Jonathon Hare wrote: > Your second issue is interesting - I believe we ran into this on Jiri's > windows machine [tomcat 5.5.something], but couldn't find a fix other > than to upgrade tomcat (I successfully used 5.5.23, 6.0.14 and 6.0.18 on > the mac, and didn't have any problems with jsp:includes). If that > doesn't work, or you can't change your tomcat version, a possible fix > might be to rename the tests.xhtml file to tests.jsp and modify > index.jsp to reflect this (googling for that exception seems to > highlight a few people having problems when including non-jsp files...). Thanks, I'm on apache-tomcat-5.5.17. Your little fix seems to have worked (the renaming files) so I'm all set now. I could probably manage to upgrade during the week. Thanks again for the quick response. Really useful. I've taken the liberty of sending it back to the list in case anyone else gets this problem. How easy is it to get the Moodle plugin going? I'm wondering whether to install Moodle on my laptop to show the integration step. If there are instructions anywhere, a pointer would be great! Steve |
|
From: Jonathon H. <js...@ec...> - 2008-06-10 08:38:56
|
Hi Steve There is a distinct lack of documentation for the moodle plugin... Basically, you need to checkout the moodle-qtiplayr-plugin directory, and copy this directory to your moodle "mod" directory - I think you also need to rename it to "qtiplayr". Then in a browser, go to the moodle admin pages & it should auto install. There is a page in which you can set the url of the playr which the plugin should talk too, linked from the moodle module settings pages (this is standard for all moodle plugins, so is documented on the moodle site to some extent). To use the plugin, set-up or select a course, and then you should be able to select qtiplayr as an activity to add... The options for setting the activity are fairly self-explanatory :) Let me know if you try this and run into any problems. -Jon On 9 Jun 2008, at 01:24, Steve Lay wrote: > Jonathon Hare wrote: > > Your second issue is interesting - I believe we ran into this on > Jiri's > > windows machine [tomcat 5.5.something], but couldn't find a fix > other > > than to upgrade tomcat (I successfully used 5.5.23, 6.0.14 and > 6.0.18 on > > the mac, and didn't have any problems with jsp:includes). If that > > doesn't work, or you can't change your tomcat version, a possible > fix > > might be to rename the tests.xhtml file to tests.jsp and modify > > index.jsp to reflect this (googling for that exception seems to > > highlight a few people having problems when including non-jsp > files...). > > Thanks, I'm on apache-tomcat-5.5.17. Your little fix seems to have > worked (the renaming files) so I'm all set now. I could probably > manage to upgrade during the week. > > Thanks again for the quick response. Really useful. I've taken > the liberty of sending it back to the list in case anyone else gets > this problem. > > How easy is it to get the Moodle plugin going? I'm wondering > whether to install Moodle on my laptop to show the integration > step. If there are instructions anywhere, a pointer would be great! > > Steve > > |
|
From: Steve L. <sw...@ca...> - 2008-06-11 11:22:11
|
This message was useful. I got the plugin going with a colleague of mine (he ran moodle, I ran the webapps) using these instructions. We were able to successfully add a test, take it and view the report. I also tried to get it going on my laptop (Mac with Tiger and php4) alone but I get an error from the module which suggests to me that you might require php5. Here it is: [11-Jun-2008 07:12:00] PHP Parse error: parse error in /Users/swl10/Sites/moodle/mod/qtiplayr/playrlib.inc.php on line 37 Steve Jonathon Hare wrote: > Hi Steve > > There is a distinct lack of documentation for the moodle plugin... > Basically, you need to checkout the moodle-qtiplayr-plugin directory, > and copy this directory to your moodle "mod" directory - I think you > also need to rename it to "qtiplayr". Then in a browser, go to the > moodle admin pages & it should auto install. There is a page in which > you can set the url of the playr which the plugin should talk too, > linked from the moodle module settings pages (this is standard for all > moodle plugins, so is documented on the moodle site to some extent). To > use the plugin, set-up or select a course, and then you should be able > to select qtiplayr as an activity to add... The options for setting the > activity are fairly self-explanatory :) > > Let me know if you try this and run into any problems. > > -Jon |
|
From: Steve L. <sw...@ca...> - 2008-06-12 01:45:40
Attachments:
pathfix.diff
|
Just to follow up on this, given that we only had the moodle part of the demo running with the aid of Windows <-> Mac connectivity we didn't go live with that on the day. However, this evening we've worked on getting playr working on the Windows box with some success. In doing this we discovered a bug in constructr when running on a Windows server. The problem is to do with the writing of paths directly into href attributes when writing out to XML files. These paths need to go through an encoding process to turn them in to valid relative URIs. Our content was failing because constructr was using the DOS-style backslash path separator which isn't valid in a URI. I've attached a diff to this message to show you how I fixed the problem for our content but the real solution is to hunt down a class for dealing with other characters that need escaping too. I have some python code which does something very similar if you end up needing to roll your own -- I had a quick look and couldn't see an obvious way to do this with java.net.URI or java.net.URL. Tell me if you want me to commit this diff back to the SVN or if you want to fix this properly yourself ;-) Steve |
|
From: Jonathon H. <js...@ec...> - 2008-06-11 11:40:49
|
Yeah, I think you may be right - I seem to remember having to use some php5 only http functionality (the alternative was some obscure php plugin) as time was tight... It works fine on my Macs with php5 (both Tiger and Leopard). -Jon On 11 Jun 2008, at 12:21, Steve Lay wrote: > This message was useful. I got the plugin going with a colleague > of mine (he ran moodle, I ran the webapps) using these > instructions. We were able to successfully add a test, take it and > view the report. > > I also tried to get it going on my laptop (Mac with Tiger and php4) > alone but I get an error from the module which suggests to me that > you might require php5. Here it is: > > [11-Jun-2008 07:12:00] PHP Parse error: parse error in /Users/ > swl10/Sites/moodle/mod/qtiplayr/playrlib.inc.php on line 37 > > Steve > > Jonathon Hare wrote: >> Hi Steve >> There is a distinct lack of documentation for the moodle plugin... >> Basically, you need to checkout the moodle-qtiplayr-plugin >> directory, and copy this directory to your moodle "mod" directory >> - I think you also need to rename it to "qtiplayr". Then in a >> browser, go to the moodle admin pages & it should auto install. >> There is a page in which you can set the url of the playr which >> the plugin should talk too, linked from the moodle module settings >> pages (this is standard for all moodle plugins, so is documented >> on the moodle site to some extent). To use the plugin, set-up or >> select a course, and then you should be able to select qtiplayr as >> an activity to add... The options for setting the activity are >> fairly self-explanatory :) >> Let me know if you try this and run into any problems. >> -Jon > |