From Julian.Tenney at nottingham.ac.uk Wed May 1 09:56:57 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 1 May 2013 09:56:57 +0100 Subject: [Xerte-dev] Re: jsTree In-Reply-To: References: <517FE365.7040109@tor.nl>, <12C67A1EEC419342AF5E59DA31562C3F0C515730E4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51763CCA@EXCHANGE1.ad.nottingham.ac.uk> Ah, that's right: some of them use an html list as the data provider and I couldn't see how that would work for us without a lot of transformation. The other problem, if I recall, was that the ones that used XML needed the nodes to be a named a certain way, and again if I remember right, there wasn't one that could take *any* xml as a data provider. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 30 April 2013 17:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: jsTree Take your pick... http://www.programmingsolution.net/useful-js/jquery-treeview.php Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney [Julian.Tenney at nottingham.ac.uk] Sent: 30 April 2013 16:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: jsTree I think that was the one that looked closest. There were three candidates if I recall, but I can't remember which ones they were. I didn't have time to explore some of the details, like events and how dataProviders work, but it looks like a good candidate for some more exploration. I know you're thinking about the wizard - there's quite a lot of detail in the code in there, but essentially it's not a complex thing. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 30 April 2013 16:30 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] jsTree Julian, You mentioned that you have been looking at javascript tree views to use in future work. By chance I encountered this one: http://www.jstree.com/ Packaged as a jQuery plugin. Is that one suitable? If not, why not (it will enable me to look for a more appropriate one). Tom -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Fay.Cross at nottingham.ac.uk Wed May 1 10:10:58 2013 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Wed, 1 May 2013 10:10:58 +0100 Subject: [Xerte-dev] Re: Missing file in html5 player?? In-Reply-To: References: Message-ID: I've just taken the call to this function out of xerte/player_html5/rloObject.htm. I think it's the name of the function that deals with resizing the Flash version but it isn't needed in the html5 one. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 30 April 2013 16:56 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Missing file in html5 player?? Hi, I keep getting a windowResized() doesn't exist error in Chrome console when resizing the LO page. the function in called from the onresize even of the body tag but doesn't exist in the code. It does exist though in modules\xerte\js\rlohelper.js but this isn't being included. Question is should it be? or just the windowResized() function - I don't see any other errors cropping up... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Wed May 1 10:14:40 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 1 May 2013 10:14:40 +0100 Subject: [Xerte-dev] Re: Missing file in html5 player?? In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51763CF4@EXCHANGE1.ad.nottingham.ac.uk> Can you commit to the 2.0 branch as well please -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 01 May 2013 10:11 To: For Xerte technical developers Subject: [Xerte-dev] Re: Missing file in html5 player?? I've just taken the call to this function out of xerte/player_html5/rloObject.htm. I think it's the name of the function that deals with resizing the Flash version but it isn't needed in the html5 one. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 30 April 2013 16:56 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Missing file in html5 player?? Hi, I keep getting a windowResized() doesn't exist error in Chrome console when resizing the LO page. the function in called from the onresize even of the body tag but doesn't exist in the code. It does exist though in modules\xerte\js\rlohelper.js but this isn't being included. Question is should it be? or just the windowResized() function - I don't see any other errors cropping up... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Wed May 1 10:13:57 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 1 May 2013 10:13:57 +0100 Subject: [Xerte-dev] Re: jsTree Message-ID: We'll need to transform the data - you'll never get that lucky!! For one you are using a kind of non standard xml node structure wrote: Ah, that's right: some of them use an html list as the data provider and I couldn't see how that would work for us without a lot of transformation. The other problem, if I recall, was that the ones that used XML needed the nodes to be a named a certain way, and again if I remember right, there wasn't one that could take *any* xml as a data provider. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 30 April 2013 17:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: jsTree Take your pick... http://www.programmingsolution.net/useful-js/jquery-treeview.php Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney [Julian.Tenney at nottingham.ac.uk] Sent: 30 April 2013 16:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: jsTree I think that was the one that looked closest. There were three candidates if I recall, but I can't remember which ones they were. I didn't have time to explore some of the details, like events and how dataProviders work, but it looks like a good candidate for some more exploration. I know you're thinking about the wizard - there's quite a lot of detail in the code in there, but essentially it's not a complex thing. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 30 April 2013 16:30 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] jsTree Julian, You mentioned that you have been looking at javascript tree views to use in future work. By chance I encountered this one: http://www.jstree.com/ Packaged as a jQuery plugin. Is that one suitable? If not, why not (it will enable me to look for a more appropriate one). Tom -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From J.J.Smith at gcu.ac.uk Wed May 1 10:15:50 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 1 May 2013 10:15:50 +0100 Subject: [Xerte-dev] Re: Missing file in html5 player?? Message-ID: Thanks Fay I thought so... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Fay Cross wrote: I've just taken the call to this function out of xerte/player_html5/rloObject.htm. I think it's the name of the function that deals with resizing the Flash version but it isn't needed in the html5 one. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 30 April 2013 16:56 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Missing file in html5 player?? Hi, I keep getting a windowResized() doesn't exist error in Chrome console when resizing the LO page. the function in called from the onresize even of the body tag but doesn't exist in the code. It does exist though in modules\xerte\js\rlohelper.js but this isn't being included. Question is should it be? or just the windowResized() function - I don't see any other errors cropping up... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Wed May 1 10:19:25 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 1 May 2013 10:19:25 +0100 Subject: [Xerte-dev] Re: jsTree In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51763CFF@EXCHANGE1.ad.nottingham.ac.uk> Maybe I've been spoilt with the Flex components then, but I don't see why it's so hard to have a tree component use an XML file as data provider, rather than insisting on a particular format. XML is just a tree after all, but anyway... It would be good if it did xml or json. I also think there's quite a bit of detail in the existing wizard: the overall concept isn't difficult: display the tree, select a node, render the form... -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 01 May 2013 10:14 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: jsTree We'll need to transform the data - you'll never get that lucky!! For one you are using a kind of non standard xml node structure wrote: Ah, that's right: some of them use an html list as the data provider and I couldn't see how that would work for us without a lot of transformation. The other problem, if I recall, was that the ones that used XML needed the nodes to be a named a certain way, and again if I remember right, there wasn't one that could take *any* xml as a data provider. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 30 April 2013 17:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: jsTree Take your pick... http://www.programmingsolution.net/useful-js/jquery-treeview.php Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney [Julian.Tenney at nottingham.ac.uk] Sent: 30 April 2013 16:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: jsTree I think that was the one that looked closest. There were three candidates if I recall, but I can't remember which ones they were. I didn't have time to explore some of the details, like events and how dataProviders work, but it looks like a good candidate for some more exploration. I know you're thinking about the wizard - there's quite a lot of detail in the code in there, but essentially it's not a complex thing. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 30 April 2013 16:30 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] jsTree Julian, You mentioned that you have been looking at javascript tree views to use in future work. By chance I encountered this one: http://www.jstree.com/ Packaged as a jQuery plugin. Is that one suitable? If not, why not (it will enable me to look for a more appropriate one). Tom -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From reijnders at tor.nl Wed May 1 10:23:17 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Wed, 01 May 2013 11:23:17 +0200 Subject: [Xerte-dev] Re: jsTree In-Reply-To: References: Message-ID: <5180DF05.3040308@tor.nl> My vote would be to stick with XML.... Even if it's a little slower. Internally we could work with json, no problem. Then, in the conversion from xml to json, do whatever is needed for the tree view. Op 1-5-2013 11:13, Smith, John schreef: > We'll need to transform the data - you'll never get that lucky!! For one you are using a kind of non standard xml node structure > I think jstree is the way to go though. I've been playing around with some possible editor code but have loads of questions and think we should be careful not to code ourselves into a corner with the editor that will be labour intensive to get out of. > > Also, are you fixed on staying with xml data format? I know we need to be able to handle it to cater for old LOs but should we save out new ones in JSON also? Most of xeniths load time is probably parsing the xml. JSON would be ready once loaded. > > Anyway there array lots of things to consider going forward. Should we start a v2.1 ideas list and then we can pick what we think we can achieve by summer? Html5 editing might be 2 or 3 versions away yet... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Julian Tenney wrote: > > > Ah, that's right: some of them use an html list as the data provider and I couldn't see how that would work for us without a lot of transformation. The other problem, if I recall, was that the ones that used XML needed the nodes to be a named a certain way, and again if I remember right, there wasn't one that could take *any* xml as a data provider. > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 30 April 2013 17:07 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: jsTree > > Take your pick... > > http://www.programmingsolution.net/useful-js/jquery-treeview.php > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney [Julian.Tenney at nottingham.ac.uk] > Sent: 30 April 2013 16:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: jsTree > > I think that was the one that looked closest. There were three candidates if I recall, but I can't remember which ones they were. I didn't have time to explore some of the details, like events and how dataProviders work, but it looks like a good candidate for some more exploration. > > I know you're thinking about the wizard - there's quite a lot of detail in the code in there, but essentially it's not a complex thing. > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 30 April 2013 16:30 > To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) > Subject: [Xerte-dev] jsTree > > Julian, > > You mentioned that you have been looking at javascript tree views to use in future work. > > By chance I encountered this one: http://www.jstree.com/ > > Packaged as a jQuery plugin. Is that one suitable? If not, why not (it will enable me to look for a more appropriate one). > > Tom > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From Julian.Tenney at nottingham.ac.uk Wed May 1 10:27:38 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 1 May 2013 10:27:38 +0100 Subject: [Xerte-dev] Re: jsTree In-Reply-To: <5180DF05.3040308@tor.nl> References: <5180DF05.3040308@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51763D1C@EXCHANGE1.ad.nottingham.ac.uk> The one thing I've always thought json would be better at is coping with situations like this because it's a bit of a pain storing html in attributes, whereas json would just handle it as a string. But I like the human readable structure xml gives you: it's not so easy to eyeball json for a particular thing. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 01 May 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: jsTree My vote would be to stick with XML.... Even if it's a little slower. Internally we could work with json, no problem. Then, in the conversion from xml to json, do whatever is needed for the tree view. Op 1-5-2013 11:13, Smith, John schreef: > We'll need to transform the data - you'll never get that lucky!! For one you are using a kind of non standard xml node structure > I think jstree is the way to go though. I've been playing around with some possible editor code but have loads of questions and think we should be careful not to code ourselves into a corner with the editor that will be labour intensive to get out of. > > Also, are you fixed on staying with xml data format? I know we need to be able to handle it to cater for old LOs but should we save out new ones in JSON also? Most of xeniths load time is probably parsing the xml. JSON would be ready once loaded. > > Anyway there array lots of things to consider going forward. Should we start a v2.1 ideas list and then we can pick what we think we can achieve by summer? Html5 editing might be 2 or 3 versions away yet... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Julian Tenney wrote: > > > Ah, that's right: some of them use an html list as the data provider and I couldn't see how that would work for us without a lot of transformation. The other problem, if I recall, was that the ones that used XML needed the nodes to be a named a certain way, and again if I remember right, there wasn't one that could take *any* xml as a data provider. > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 30 April 2013 17:07 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: jsTree > > Take your pick... > > http://www.programmingsolution.net/useful-js/jquery-treeview.php > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney [Julian.Tenney at nottingham.ac.uk] > Sent: 30 April 2013 16:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: jsTree > > I think that was the one that looked closest. There were three candidates if I recall, but I can't remember which ones they were. I didn't have time to explore some of the details, like events and how dataProviders work, but it looks like a good candidate for some more exploration. > > I know you're thinking about the wizard - there's quite a lot of detail in the code in there, but essentially it's not a complex thing. > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 30 April 2013 16:30 > To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) > Subject: [Xerte-dev] jsTree > > Julian, > > You mentioned that you have been looking at javascript tree views to use in future work. > > By chance I encountered this one: http://www.jstree.com/ > > Packaged as a jQuery plugin. Is that one suitable? If not, why not (it will enable me to look for a more appropriate one). > > Tom > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Wed May 1 10:50:47 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 1 May 2013 10:50:47 +0100 Subject: [Xerte-dev] Re: jsTree Message-ID: Compressed JSON perhaps but console.log it and the console formats it into a treelike structure that i think is fine to read... I'm not suggesting we forget xml altogether just think we should think about our target audience - mobile devices instigated the transition to html5 but these 2 equations generally hold up in the mobile field extra processing = less battery time more bandwidth use = more money Should we have these two areas in our sights by minifying files, using cdn where available and using the most appropriate data formats? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Julian Tenney wrote: The one thing I've always thought json would be better at is coping with situations like this because it's a bit of a pain storing html in attributes, whereas json would just handle it as a string. But I like the human readable structure xml gives you: it's not so easy to eyeball json for a particular thing. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 01 May 2013 10:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: jsTree My vote would be to stick with XML.... Even if it's a little slower. Internally we could work with json, no problem. Then, in the conversion from xml to json, do whatever is needed for the tree view. Op 1-5-2013 11:13, Smith, John schreef: > We'll need to transform the data - you'll never get that lucky!! For one you are using a kind of non standard xml node structure > I think jstree is the way to go though. I've been playing around with some possible editor code but have loads of questions and think we should be careful not to code ourselves into a corner with the editor that will be labour intensive to get out of. > > Also, are you fixed on staying with xml data format? I know we need to be able to handle it to cater for old LOs but should we save out new ones in JSON also? Most of xeniths load time is probably parsing the xml. JSON would be ready once loaded. > > Anyway there array lots of things to consider going forward. Should we start a v2.1 ideas list and then we can pick what we think we can achieve by summer? Html5 editing might be 2 or 3 versions away yet... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Julian Tenney wrote: > > > Ah, that's right: some of them use an html list as the data provider and I couldn't see how that would work for us without a lot of transformation. The other problem, if I recall, was that the ones that used XML needed the nodes to be a named a certain way, and again if I remember right, there wasn't one that could take *any* xml as a data provider. > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 30 April 2013 17:07 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: jsTree > > Take your pick... > > http://www.programmingsolution.net/useful-js/jquery-treeview.php > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney [Julian.Tenney at nottingham.ac.uk] > Sent: 30 April 2013 16:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: jsTree > > I think that was the one that looked closest. There were three candidates if I recall, but I can't remember which ones they were. I didn't have time to explore some of the details, like events and how dataProviders work, but it looks like a good candidate for some more exploration. > > I know you're thinking about the wizard - there's quite a lot of detail in the code in there, but essentially it's not a complex thing. > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 30 April 2013 16:30 > To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) > Subject: [Xerte-dev] jsTree > > Julian, > > You mentioned that you have been looking at javascript tree views to use in future work. > > By chance I encountered this one: http://www.jstree.com/ > > Packaged as a jQuery plugin. Is that one suitable? If not, why not (it will enable me to look for a more appropriate one). > > Tom > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From thomas.rochford at jiscadvance.ac.uk Wed May 1 23:07:23 2013 From: thomas.rochford at jiscadvance.ac.uk (Thomas Rochford) Date: Wed, 1 May 2013 23:07:23 +0100 Subject: [Xerte-dev] Some items for the wish list (when we have one). Message-ID: <054301ce46b8$431eecb0$c95cc610$@jiscadvance.ac.uk> Good Evening everyone, I would like to see the following items included 1) Make the default copyright String show the revision number and possibly the date, e.g Version 2.0 r854 (2013-04-30) Copyright University of Nottingham 2008 - 2012 This is going to make life a lot easier for those of us who are supporting users remotely now that regular updates are coming out. 2) Restore the link to the HTML-5 output in the Properties Project Tab. This was really useful In know there has been some discussion about this and that it's meant to be automated, but at the moment, in r584, you can tick the 'Javascript' option when you publish, but it still displays Flash when you view it. Adding '&engine=html5' obviously works, but may be Beyond some of our users. 3) Change the order in which the 'Blank Templates' are displayed so that 'Xerte Online Toolkit' Is the first one. This is going to make life a lot simpler for newbie developers (and pros too, possibly). And by the way shouldn't it be 'Toolkits' with an 's' on the end? Good to see that we can now export HTML5.Thanks for this Kindest regards, Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu May 2 09:16:20 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 2 May 2013 09:16:20 +0100 Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). Message-ID: <877x7xkud8q8q1ek417xrq04.1367482580324@email.android.com> Hi Thomas Not sure about 1 - don't think the svn can or should do it but perhaps Tom's autopackager could add a version file then we could add an include. Tom? 2. I thought the publish/export problems had been solved but maybe not. Will take a look. 3. Don't know what determines order but yes it would be good to leave the original at top. 's' depends how you look at it i suppose. Julian? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Thomas Rochford wrote: Good Evening everyone, I would like to see the following items included 1) Make the default copyright String show the revision number and possibly the date, e.g Version 2.0 r854 (2013-04-30) Copyright University of Nottingham 2008 ? 2012 This is going to make life a lot easier for those of us who are supporting users remotely now that regular updates are coming out. 2) Restore the link to the HTML-5 output in the Properties Project Tab. This was really useful In know there has been some discussion about this and that it?s meant to be automated, but at the moment, in r584, you can tick the ?Javascript? option when you publish, but it still displays Flash when you view it. Adding ?&engine=html5? obviously works, but may be Beyond some of our users. 3) Change the order in which the ?Blank Templates? are displayed so that ?Xerte Online Toolkit? Is the first one. This is going to make life a lot simpler for newbie developers (and pros too, possibly). And by the way shouldn?t it be ?Toolkits? with an ?s? on the end? Good to see that we can now export HTML5.Thanks for this Kindest regards, Thomas Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Thu May 2 09:18:31 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 2 May 2013 09:18:31 +0100 Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). In-Reply-To: <877x7xkud8q8q1ek417xrq04.1367482580324@email.android.com> References: <877x7xkud8q8q1ek417xrq04.1367482580324@email.android.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51764104@EXCHANGE1.ad.nottingham.ac.uk> I'd prefer the xerte online toolkit at the top as well, then bootstrap and then rss one. Is there an index or ID number the query can sort on? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 02 May 2013 09:16 To: thomas.rochford at jiscadvance.ac.uk; xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). Hi Thomas Not sure about 1 - don't think the svn can or should do it but perhaps Tom's autopackager could add a version file then we could add an include. Tom? 2. I thought the publish/export problems had been solved but maybe not. Will take a look. 3. Don't know what determines order but yes it would be good to leave the original at top. 's' depends how you look at it i suppose. Julian? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Thomas Rochford wrote: Good Evening everyone, I would like to see the following items included 1) Make the default copyright String show the revision number and possibly the date, e.g Version 2.0 r854 (2013-04-30) Copyright University of Nottingham 2008 ? 2012 This is going to make life a lot easier for those of us who are supporting users remotely now that regular updates are coming out. 2) Restore the link to the HTML-5 output in the Properties Project Tab. This was really useful In know there has been some discussion about this and that it?s meant to be automated, but at the moment, in r584, you can tick the ?Javascript? option when you publish, but it still displays Flash when you view it. Adding ?&engine=html5? obviously works, but may be Beyond some of our users. 3) Change the order in which the ?Blank Templates? are displayed so that ?Xerte Online Toolkit? Is the first one. This is going to make life a lot simpler for newbie developers (and pros too, possibly). And by the way shouldn?t it be ?Toolkits? with an ?s? on the end? Good to see that we can now export HTML5.Thanks for this Kindest regards, Thomas Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Thu May 2 09:16:20 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 2 May 2013 09:16:20 +0100 Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). Message-ID: <877x7xkud8q8q1ek417xrq04.1367482580324@email.android.com> Hi Thomas Not sure about 1 - don't think the svn can or should do it but perhaps Tom's autopackager could add a version file then we could add an include. Tom? 2. I thought the publish/export problems had been solved but maybe not. Will take a look. 3. Don't know what determines order but yes it would be good to leave the original at top. 's' depends how you look at it i suppose. Julian? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Thomas Rochford wrote: Good Evening everyone, I would like to see the following items included 1) Make the default copyright String show the revision number and possibly the date, e.g Version 2.0 r854 (2013-04-30) Copyright University of Nottingham 2008 ? 2012 This is going to make life a lot easier for those of us who are supporting users remotely now that regular updates are coming out. 2) Restore the link to the HTML-5 output in the Properties Project Tab. This was really useful In know there has been some discussion about this and that it?s meant to be automated, but at the moment, in r584, you can tick the ?Javascript? option when you publish, but it still displays Flash when you view it. Adding ?&engine=html5? obviously works, but may be Beyond some of our users. 3) Change the order in which the ?Blank Templates? are displayed so that ?Xerte Online Toolkit? Is the first one. This is going to make life a lot simpler for newbie developers (and pros too, possibly). And by the way shouldn?t it be ?Toolkits? with an ?s? on the end? Good to see that we can now export HTML5.Thanks for this Kindest regards, Thomas Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From reijnders at tor.nl Thu May 2 09:29:47 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 02 May 2013 10:29:47 +0200 Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). In-Reply-To: <877x7xkud8q8q1ek417xrq04.1367482580324@email.android.com> References: <877x7xkud8q8q1ek417xrq04.1367482580324@email.android.com> Message-ID: <518223FB.6050606@tor.nl> 1. Will have a look. Should be doable, as I have the revision anyway. 2. That should work. If you choose Javascript in Publish or Properties, it should display the LO in Xenith. If this is an upgrade, did you run upgrade.php? I just did an upgrade of one of our servers, and it works fine on that server. 3. Will have a look. Tom Op 2-5-2013 10:16, Smith, John schreef: > Hi Thomas > > Not sure about 1 - don't think the svn can or should do it but perhaps Tom's autopackager could add a version file then we could add an include. Tom? > > 2. I thought the publish/export problems had been solved but maybe not. Will take a look. > > 3. Don't know what determines order but yes it would be good to leave the original at top. 's' depends how you look at it i suppose. Julian? > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Thomas Rochford wrote: > > > Good Evening everyone, > > I would like to see the following items included > > > 1) Make the default copyright String show the revision number and possibly the date, e.g > Version 2.0 r854 (2013-04-30) Copyright University of Nottingham 2008 ? 2012 > This is going to make life a lot easier for those of us who are supporting users remotely > now that regular updates are coming out. > > 2) Restore the link to the HTML-5 output in the Properties Project Tab. This was really useful > > In know there has been some discussion about this and that it?s meant to be automated, > but at the moment, in r584, you can tick the ?Javascript? option when you publish, but it > still displays Flash when you view it. Adding ?&engine=html5? obviously works, but may be > > Beyond some of our users. > > 3) Change the order in which the ?Blank Templates? are displayed so that ?Xerte Online Toolkit? > > Is the first one. This is going to make life a lot simpler for newbie developers (and pros too, > possibly). And by the way shouldn?t it be ?Toolkits? with an ?s? on the end? > > Good to see that we can now export HTML5.Thanks for this > > Kindest regards, Thomas > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From reijnders at tor.nl Thu May 2 09:30:35 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 02 May 2013 10:30:35 +0200 Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51764104@EXCHANGE1.ad.nottingham.ac.uk> References: <877x7xkud8q8q1ek417xrq04.1367482580324@email.android.com> <12C67A1EEC419342AF5E59DA31562C3F0C51764104@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <5182242B.5060505@tor.nl> I'll have a look. Op 2-5-2013 10:18, Julian Tenney schreef: > I'd prefer the xerte online toolkit at the top as well, then bootstrap and then rss one. Is there an index or ID number the query can sort on? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 02 May 2013 09:16 > To: thomas.rochford at jiscadvance.ac.uk; xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). > > Hi Thomas > > Not sure about 1 - don't think the svn can or should do it but perhaps Tom's autopackager could add a version file then we could add an include. Tom? > > 2. I thought the publish/export problems had been solved but maybe not. Will take a look. > > 3. Don't know what determines order but yes it would be good to leave the original at top. 's' depends how you look at it i suppose. Julian? > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Thomas Rochford wrote: > > > Good Evening everyone, > > I would like to see the following items included > > > 1) Make the default copyright String show the revision number and possibly the date, e.g > Version 2.0 r854 (2013-04-30) Copyright University of Nottingham 2008 ? 2012 This is going to make life a lot easier for those of us who are supporting users remotely now that regular updates are coming out. > > 2) Restore the link to the HTML-5 output in the Properties Project Tab. This was really useful > > In know there has been some discussion about this and that it?s meant to be automated, but at the moment, in r584, you can tick the ?Javascript? option when you publish, but it still displays Flash when you view it. Adding ?&engine=html5? obviously works, but may be > > Beyond some of our users. > > 3) Change the order in which the ?Blank Templates? are displayed so that ?Xerte Online Toolkit? > > Is the first one. This is going to make life a lot simpler for newbie developers (and pros too, possibly). And by the way shouldn?t it be ?Toolkits? with an ?s? on the end? > > Good to see that we can now export HTML5.Thanks for this > > Kindest regards, Thomas > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From ronm at mitchellmedia.co.uk Thu May 2 09:40:11 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 2 May 2013 09:40:11 +0100 Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51764104@EXCHANGE1.ad.nottingham.ac.uk> References: <877x7xkud8q8q1ek417xrq04.1367482580324@email.android.com> <12C67A1EEC419342AF5E59DA31562C3F0C51764104@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <00f101ce4710$a9966e20$fcc34a60$@co.uk> 1. isn't /version.txt sufficient for this? But agree it would be good if it was automated although not sure it should be accessed via management because often it's useful when supporting people (mostly not admins) to ask what version you are using and to direct them where to identify that e.g. /version.txt 2. I think there is a slight bug with this and not sure if it's due to whether an LO is public or not when changing the engine type? I was delivering training yesterday and have seen it before too and current solution is to make the LO public, toggle the egine, view the public link then toggling should work as it's supposed to. 3. I've been manually changing the date via management making the Bootstrap/site template much older than the others. Might not be what you're supposed to do but works! BTW delegates yesterday loved the non-site site template! ;-) HTH Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 09:19 To: For Xerte technical developers Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). I'd prefer the xerte online toolkit at the top as well, then bootstrap and then rss one. Is there an index or ID number the query can sort on? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 02 May 2013 09:16 To: thomas.rochford at jiscadvance.ac.uk; xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). Hi Thomas Not sure about 1 - don't think the svn can or should do it but perhaps Tom's autopackager could add a version file then we could add an include. Tom? 2. I thought the publish/export problems had been solved but maybe not. Will take a look. 3. Don't know what determines order but yes it would be good to leave the original at top. 's' depends how you look at it i suppose. Julian? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Thomas Rochford wrote: Good Evening everyone, I would like to see the following items included 1) Make the default copyright String show the revision number and possibly the date, e.g Version 2.0 r854 (2013-04-30) Copyright University of Nottingham 2008 ? 2012 This is going to make life a lot easier for those of us who are supporting users remotely now that regular updates are coming out. 2) Restore the link to the HTML-5 output in the Properties Project Tab. This was really useful In know there has been some discussion about this and that it?s meant to be automated, but at the moment, in r584, you can tick the ?Javascript? option when you publish, but it still displays Flash when you view it. Adding ?&engine=html5? obviously works, but may be Beyond some of our users. 3) Change the order in which the ?Blank Templates? are displayed so that ?Xerte Online Toolkit? Is the first one. This is going to make life a lot simpler for newbie developers (and pros too, possibly). And by the way shouldn?t it be ?Toolkits? with an ?s? on the end? Good to see that we can now export HTML5.Thanks for this Kindest regards, Thomas Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Thu May 2 10:18:48 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 2 May 2013 10:18:48 +0100 Subject: [Xerte-dev] Text for login page Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C517641A0@EXCHANGE1.ad.nottingham.ac.uk> I can't find the bit in management.php to set text for the empty panel in the middle... how do I set this? [cid:image001.png at 01CE471E.6F33F4B0] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 157920 bytes Desc: image001.png URL: From thomas.rochford at jiscadvance.ac.uk Thu May 2 10:21:11 2013 From: thomas.rochford at jiscadvance.ac.uk (Thomas Rochford) Date: Thu, 2 May 2013 10:21:11 +0100 Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). In-Reply-To: <00f101ce4710$a9966e20$fcc34a60$@co.uk> References: <877x7xkud8q8q1ek417xrq04.1367482580324@email.android.com> <12C67A1EEC419342AF5E59DA31562C3F0C51764104@EXCHANGE1.ad.nottingham.ac.uk> <00f101ce4710$a9966e20$fcc34a60$@co.uk> Message-ID: <001901ce4716$644020e0$2cc062a0$@jiscadvance.ac.uk> Hi Ron I used version.txt for some time but it isn't being maintained anymore. The current version is 1.9 v.601, I think! I'm not really sure that getting users to look at the code is a really good idea. It would be better if it were somehow embedded in the normal display. We have one group of potential users who may be using MAXOS in a very tightly locked down fashion to deliver ESOL and Citizenship training (this would probably be with the WEA and on behalf of one of the Trade Unions. They want the sticks copy protected (I don't agree with that, but that's the way it is) and also to fire up in a way that only offers the courses on the sticks, i.e. no development potential by the users. The users will therefore not have access to the source code. Your idea for 'toggling the engine' by which I understand choosing Flash as the engine, publishing and then setting it back to Javascript seems to work for me too. Thank you for this, but it would be good to see this working as it should. 3 is a brilliant idea. I was thinking it would be good to place this under user control, so tweaking the date or some other field on which the templates can be sorted could be something for the future. Thanks for your help on this!. I'm not close to taking the 'B' off MAXOS200B! Kindest regards, Thomas -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 02 May 2013 09:40 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). 1. isn't /version.txt sufficient for this? But agree it would be good if it was automated although not sure it should be accessed via management because often it's useful when supporting people (mostly not admins) to ask what version you are using and to direct them where to identify that e.g. /version.txt 2. I think there is a slight bug with this and not sure if it's due to whether an LO is public or not when changing the engine type? I was delivering training yesterday and have seen it before too and current solution is to make the LO public, toggle the egine, view the public link then toggling should work as it's supposed to. 3. I've been manually changing the date via management making the Bootstrap/site template much older than the others. Might not be what you're supposed to do but works! BTW delegates yesterday loved the non-site site template! ;-) HTH Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 09:19 To: For Xerte technical developers Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). I'd prefer the xerte online toolkit at the top as well, then bootstrap and then rss one. Is there an index or ID number the query can sort on? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 02 May 2013 09:16 To: thomas.rochford at jiscadvance.ac.uk; xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). Hi Thomas Not sure about 1 - don't think the svn can or should do it but perhaps Tom's autopackager could add a version file then we could add an include. Tom? 2. I thought the publish/export problems had been solved but maybe not. Will take a look. 3. Don't know what determines order but yes it would be good to leave the original at top. 's' depends how you look at it i suppose. Julian? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Thomas Rochford wrote: Good Evening everyone, I would like to see the following items included 1) Make the default copyright String show the revision number and possibly the date, e.g Version 2.0 r854 (2013-04-30) Copyright University of Nottingham 2008 ? 2012 This is going to make life a lot easier for those of us who are supporting users remotely now that regular updates are coming out. 2) Restore the link to the HTML-5 output in the Properties Project Tab. This was really useful In know there has been some discussion about this and that it?s meant to be automated, but at the moment, in r584, you can tick the ?Javascript? option when you publish, but it still displays Flash when you view it. Adding ?&engine=html5? obviously works, but may be Beyond some of our users. 3) Change the order in which the ?Blank Templates? are displayed so that ?Xerte Online Toolkit? Is the first one. This is going to make life a lot simpler for newbie developers (and pros too, possibly). And by the way shouldn?t it be ?Toolkits? with an ?s? on the end? Good to see that we can now export HTML5.Thanks for this Kindest regards, Thomas Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From xerte at pgogywebstuff.com Thu May 2 09:38:00 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Thu, 2 May 2013 09:38:00 +0100 Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51764104@EXCHANGE1.ad.nottingham.ac.uk> References: <877x7xkud8q8q1ek417xrq04.1367482580324@email.android.com> <12C67A1EEC419342AF5E59DA31562C3F0C51764104@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <8B7715A1-75DF-49E7-AF50-54DF5F2474F7@pgogywebstuff.com> It sorts on the date uploaded I just used to rig the date On 2 May 2013, at 09:18, Julian Tenney wrote: > I'd prefer the xerte online toolkit at the top as well, then bootstrap and then rss one. Is there an index or ID number the query can sort on? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 02 May 2013 09:16 > To: thomas.rochford at jiscadvance.ac.uk; xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). > > Hi Thomas > > Not sure about 1 - don't think the svn can or should do it but perhaps Tom's autopackager could add a version file then we could add an include. Tom? > > 2. I thought the publish/export problems had been solved but maybe not. Will take a look. > > 3. Don't know what determines order but yes it would be good to leave the original at top. 's' depends how you look at it i suppose. Julian? > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Thomas Rochford wrote: > > > Good Evening everyone, > > I would like to see the following items included > > > 1) Make the default copyright String show the revision number and possibly the date, e.g > Version 2.0 r854 (2013-04-30) Copyright University of Nottingham 2008 ? 2012 This is going to make life a lot easier for those of us who are supporting users remotely now that regular updates are coming out. > > 2) Restore the link to the HTML-5 output in the Properties Project Tab. This was really useful > > In know there has been some discussion about this and that it?s meant to be automated, but at the moment, in r584, you can tick the ?Javascript? option when you publish, but it still displays Flash when you view it. Adding ?&engine=html5? obviously works, but may be > > Beyond some of our users. > > 3) Change the order in which the ?Blank Templates? are displayed so that ?Xerte Online Toolkit? > > Is the first one. This is going to make life a lot simpler for newbie developers (and pros too, possibly). And by the way shouldn?t it be ?Toolkits? with an ?s? on the end? > > Good to see that we can now export HTML5.Thanks for this > > Kindest regards, Thomas > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Thu May 2 10:29:45 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 2 May 2013 10:29:45 +0100 Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). In-Reply-To: <8B7715A1-75DF-49E7-AF50-54DF5F2474F7@pgogywebstuff.com> References: <877x7xkud8q8q1ek417xrq04.1367482580324@email.android.com> <12C67A1EEC419342AF5E59DA31562C3F0C51764104@EXCHANGE1.ad.nottingham.ac.uk> <8B7715A1-75DF-49E7-AF50-54DF5F2474F7@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C517641C2@EXCHANGE1.ad.nottingham.ac.uk> Is that in basic.sql? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 02 May 2013 09:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). It sorts on the date uploaded I just used to rig the date On 2 May 2013, at 09:18, Julian Tenney wrote: > I'd prefer the xerte online toolkit at the top as well, then bootstrap and then rss one. Is there an index or ID number the query can sort on? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, > John > Sent: 02 May 2013 09:16 > To: thomas.rochford at jiscadvance.ac.uk; > xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). > > Hi Thomas > > Not sure about 1 - don't think the svn can or should do it but perhaps Tom's autopackager could add a version file then we could add an include. Tom? > > 2. I thought the publish/export problems had been solved but maybe not. Will take a look. > > 3. Don't know what determines order but yes it would be good to leave the original at top. 's' depends how you look at it i suppose. Julian? > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Thomas Rochford wrote: > > > Good Evening everyone, > > I would like to see the following items included > > > 1) Make the default copyright String show the revision number and possibly the date, e.g > Version 2.0 r854 (2013-04-30) Copyright University of Nottingham 2008 ? 2012 This is going to make life a lot easier for those of us who are supporting users remotely now that regular updates are coming out. > > 2) Restore the link to the HTML-5 output in the Properties Project Tab. This was really useful > > In know there has been some discussion about this and that it?s meant > to be automated, but at the moment, in r584, you can tick the > ?Javascript? option when you publish, but it still displays Flash when > you view it. Adding ?&engine=html5? obviously works, but may be > > Beyond some of our users. > > 3) Change the order in which the ?Blank Templates? are displayed so that ?Xerte Online Toolkit? > > Is the first one. This is going to make life a lot simpler for newbie developers (and pros too, possibly). And by the way shouldn?t it be ?Toolkits? with an ?s? on the end? > > Good to see that we can now export HTML5.Thanks for this > > Kindest regards, Thomas > > > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From ronm at mitchellmedia.co.uk Thu May 2 10:31:24 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 2 May 2013 10:31:24 +0100 Subject: [Xerte-dev] Re: Text for login page In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C517641A0@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641A0@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <010501ce4717$d292a990$77b7fcb0$@co.uk> The bit that says: The site text is... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 10:19 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Text for login page I can't find the bit in management.php to set text for the empty panel in the middle. how do I set this? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 157920 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Thu May 2 10:33:39 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 2 May 2013 10:33:39 +0100 Subject: [Xerte-dev] Re: Text for login page In-Reply-To: <010501ce4717$d292a990$77b7fcb0$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641A0@EXCHANGE1.ad.nottingham.ac.uk> <010501ce4717$d292a990$77b7fcb0$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C517641C7@EXCHANGE1.ad.nottingham.ac.uk> No, that seems to be the text for the lower left hand side: [cid:image002.png at 01CE4720.82798290] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 02 May 2013 10:31 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Text for login page The bit that says: The site text is... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 10:19 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Text for login page I can't find the bit in management.php to set text for the empty panel in the middle... how do I set this? [cid:image003.png at 01CE4720.82798290] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 147669 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 157920 bytes Desc: image003.png URL: From xerte at pgogywebstuff.com Thu May 2 10:37:38 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Thu, 2 May 2013 10:37:38 +0100 Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C517641C2@EXCHANGE1.ad.nottingham.ac.uk> References: <877x7xkud8q8q1ek417xrq04.1367482580324@email.android.com> <12C67A1EEC419342AF5E59DA31562C3F0C51764104@EXCHANGE1.ad.nottingham.ac.uk> <8B7715A1-75DF-49E7-AF50-54DF5F2474F7@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C517641C2@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Yes On 2 May 2013, at 10:29, Julian Tenney wrote: > Is that in basic.sql? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 02 May 2013 09:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). > > It sorts on the date uploaded > > I just used to rig the date > > On 2 May 2013, at 09:18, Julian Tenney wrote: > >> I'd prefer the xerte online toolkit at the top as well, then bootstrap and then rss one. Is there an index or ID number the query can sort on? >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, >> John >> Sent: 02 May 2013 09:16 >> To: thomas.rochford at jiscadvance.ac.uk; >> xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). >> >> Hi Thomas >> >> Not sure about 1 - don't think the svn can or should do it but perhaps Tom's autopackager could add a version file then we could add an include. Tom? >> >> 2. I thought the publish/export problems had been solved but maybe not. Will take a look. >> >> 3. Don't know what determines order but yes it would be good to leave the original at top. 's' depends how you look at it i suppose. Julian? >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> >> Thomas Rochford wrote: >> >> >> Good Evening everyone, >> >> I would like to see the following items included >> >> >> 1) Make the default copyright String show the revision number and possibly the date, e.g >> Version 2.0 r854 (2013-04-30) Copyright University of Nottingham 2008 ? 2012 This is going to make life a lot easier for those of us who are supporting users remotely now that regular updates are coming out. >> >> 2) Restore the link to the HTML-5 output in the Properties Project Tab. This was really useful >> >> In know there has been some discussion about this and that it?s meant >> to be automated, but at the moment, in r584, you can tick the >> ?Javascript? option when you publish, but it still displays Flash when >> you view it. Adding ?&engine=html5? obviously works, but may be >> >> Beyond some of our users. >> >> 3) Change the order in which the ?Blank Templates? are displayed so that ?Xerte Online Toolkit? >> >> Is the first one. This is going to make life a lot simpler for newbie developers (and pros too, possibly). And by the way shouldn?t it be ?Toolkits? with an ?s? on the end? >> >> Good to see that we can now export HTML5.Thanks for this >> >> Kindest regards, Thomas >> >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number >> SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 >> 219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 >> 5691,en.html _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From reijnders at tor.nl Thu May 2 10:36:42 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 02 May 2013 11:36:42 +0200 Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C517641C2@EXCHANGE1.ad.nottingham.ac.uk> References: <877x7xkud8q8q1ek417xrq04.1367482580324@email.android.com> <12C67A1EEC419342AF5E59DA31562C3F0C51764104@EXCHANGE1.ad.nottingham.ac.uk> <8B7715A1-75DF-49E7-AF50-54DF5F2474F7@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C517641C2@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <518233AA.7030003@tor.nl> Yes... Op 2-5-2013 11:29, Julian Tenney schreef: > Is that in basic.sql? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 02 May 2013 09:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). > > It sorts on the date uploaded > > I just used to rig the date > > On 2 May 2013, at 09:18, Julian Tenney wrote: > >> I'd prefer the xerte online toolkit at the top as well, then bootstrap and then rss one. Is there an index or ID number the query can sort on? >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, >> John >> Sent: 02 May 2013 09:16 >> To: thomas.rochford at jiscadvance.ac.uk; >> xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). >> >> Hi Thomas >> >> Not sure about 1 - don't think the svn can or should do it but perhaps Tom's autopackager could add a version file then we could add an include. Tom? >> >> 2. I thought the publish/export problems had been solved but maybe not. Will take a look. >> >> 3. Don't know what determines order but yes it would be good to leave the original at top. 's' depends how you look at it i suppose. Julian? >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> >> Thomas Rochford wrote: >> >> >> Good Evening everyone, >> >> I would like to see the following items included >> >> >> 1) Make the default copyright String show the revision number and possibly the date, e.g >> Version 2.0 r854 (2013-04-30) Copyright University of Nottingham 2008 ? 2012 This is going to make life a lot easier for those of us who are supporting users remotely now that regular updates are coming out. >> >> 2) Restore the link to the HTML-5 output in the Properties Project Tab. This was really useful >> >> In know there has been some discussion about this and that it?s meant >> to be automated, but at the moment, in r584, you can tick the >> ?Javascript? option when you publish, but it still displays Flash when >> you view it. Adding ?&engine=html5? obviously works, but may be >> >> Beyond some of our users. >> >> 3) Change the order in which the ?Blank Templates? are displayed so that ?Xerte Online Toolkit? >> >> Is the first one. This is going to make life a lot simpler for newbie developers (and pros too, possibly). And by the way shouldn?t it be ?Toolkits? with an ?s? on the end? >> >> Good to see that we can now export HTML5.Thanks for this >> >> Kindest regards, Thomas >> >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number >> SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 >> 219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 >> 5691,en.html _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From Julian.Tenney at nottingham.ac.uk Thu May 2 10:39:28 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 2 May 2013 10:39:28 +0100 Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). In-Reply-To: References: <877x7xkud8q8q1ek417xrq04.1367482580324@email.android.com> <12C67A1EEC419342AF5E59DA31562C3F0C51764104@EXCHANGE1.ad.nottingham.ac.uk> <8B7715A1-75DF-49E7-AF50-54DF5F2474F7@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C517641C2@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C517641D4@EXCHANGE1.ad.nottingham.ac.uk> OK, I'll fudge that, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 02 May 2013 10:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). Yes On 2 May 2013, at 10:29, Julian Tenney wrote: > Is that in basic.sql? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ > Pgogy > Sent: 02 May 2013 09:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). > > It sorts on the date uploaded > > I just used to rig the date > > On 2 May 2013, at 09:18, Julian Tenney wrote: > >> I'd prefer the xerte online toolkit at the top as well, then bootstrap and then rss one. Is there an index or ID number the query can sort on? >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, >> John >> Sent: 02 May 2013 09:16 >> To: thomas.rochford at jiscadvance.ac.uk; >> xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). >> >> Hi Thomas >> >> Not sure about 1 - don't think the svn can or should do it but perhaps Tom's autopackager could add a version file then we could add an include. Tom? >> >> 2. I thought the publish/export problems had been solved but maybe not. Will take a look. >> >> 3. Don't know what determines order but yes it would be good to leave the original at top. 's' depends how you look at it i suppose. Julian? >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> >> Thomas Rochford wrote: >> >> >> Good Evening everyone, >> >> I would like to see the following items included >> >> >> 1) Make the default copyright String show the revision number and possibly the date, e.g >> Version 2.0 r854 (2013-04-30) Copyright University of Nottingham 2008 ? 2012 This is going to make life a lot easier for those of us who are supporting users remotely now that regular updates are coming out. >> >> 2) Restore the link to the HTML-5 output in the Properties Project Tab. This was really useful >> >> In know there has been some discussion about this and that it?s meant >> to be automated, but at the moment, in r584, you can tick the >> ?Javascript? option when you publish, but it still displays Flash >> when you view it. Adding ?&engine=html5? obviously works, but may be >> >> Beyond some of our users. >> >> 3) Change the order in which the ?Blank Templates? are displayed so that ?Xerte Online Toolkit? >> >> Is the first one. This is going to make life a lot simpler for newbie developers (and pros too, possibly). And by the way shouldn?t it be ?Toolkits? with an ?s? on the end? >> >> Good to see that we can now export HTML5.Thanks for this >> >> Kindest regards, Thomas >> >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, >> number >> SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6 >> 219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 1 5691,en.html _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Thu May 2 10:41:18 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 2 May 2013 10:41:18 +0100 Subject: [Xerte-dev] v2 User Notes Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C517641D6@EXCHANGE1.ad.nottingham.ac.uk> We're going to update our install today(!) I want to put a summary of the changes in v2 for our users to read somewhere (maybe in a bootstrap template piece I create and link to). I've written some text, can you think of anything else to add, or anything that is not clear here? Thanks, Xerte Online Toolkits v2.0 - Release Notes ========================================== In Xerte Online Toolkits v2.0, you now have the ability to deliver content using HTML5 rather than the Flash Player. This has a number of advantages: you can deliver content to a much wider range of devices, and specifically you can deliver content to devices that do not support Flash. You should use the HTML5 delivery option for new pieces of content. Existing content will continue to play using the Flash Player. You can change this setting for existing content, but you should check that the content runs properly, and looks as you intended if you change the setting. New content is set to play using HTML5 by default and will be able to take advantage of new developments in the software in the future. We will not be updating the older Flash delivery engine to handle new page types and templates, and so we recommend that new Learning Objects use HTML5 rather than Flash for delivery. New Learning Objects will automatically be set up to use HTML5, so you do not need to do anything. When using video, you should use the .mp4 file format in conjunction with the HTML5 delivery option to ensure that video plays on the widest range of devices. The .mp4 file format is not compatible with the older Flash player. To summarise, you do not need to do anything. Existing content will continue to use Flash and nothing will change unless you want it to. New content will use HTML5, and we recommend that you keep this setting. You should use .mp4 video rather than .flv video in new learning objects. The Xerte Online Toolkit now contains over 70 templates for presenting rich media and interactivity. If you have idea for new ways to present and deliver content, the developer team would like to hear from you. The software continues to be user-driven, most of the functionality has been developed to meet real use cases, and we think this is an excellent way to capture great ideas that meet real needs. The MediaInteractions, Interactive Diagram and Multiple Perspectives templates have been retired. All the functionality they provided is now available in the Xerte Online Toolkit template. Existing Learning Objects created using these templates will continue to function but you will no longer be able to create new ones. The new Bootstrap Template allows you to create responsive learning objects that work well on the widest possible range of devices and function well on a wide range of screen sizes, from phones to desktop PCs. The Bootstrap template is designed for the presentation of text, graphics, video and audio in a structured document: note you can embed content created using the Xerte Online Toolkit into content created using the Bootstrap Template. We hope you enjoy all the new features and functionality in Xerte Online Toolkits v2.0! -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Thu May 2 10:50:44 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 02 May 2013 11:50:44 +0200 Subject: [Xerte-dev] Re: Text for login page In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C517641C7@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641A0@EXCHANGE1.ad.nottingham.ac.uk> <010501ce4717$d292a990$77b7fcb0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C517641C7@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <518236F4.6070508@tor.nl> Interesting.... This used to be in a file website_code/login_bottom and that is not used any more since March 1 2012 (index.php change) Tom Op 2-5-2013 11:33, Julian Tenney schreef: > > No, that seems to be the text for the lower left hand side: > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron > Mitchell > *Sent:* 02 May 2013 10:31 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: Text for login page > > The bit that says: The site text is... > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* 02 May 2013 10:19 > *To:* For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk > ) > *Subject:* [Xerte-dev] Text for login page > > I can't find the bit in management.php to set text for the empty panel > in the middle... how do I set this? > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 147669 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 157920 bytes Desc: not available URL: From J.J.Smith at gcu.ac.uk Thu May 2 10:51:17 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 2 May 2013 10:51:17 +0100 Subject: [Xerte-dev] Re: Text for login page Message-ID: Didn't think you could... Isn't the image just left aligned and that's the bg color of the panel? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Ron Mitchell wrote: The bit that says: The site text is... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 10:19 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Text for login page I can?t find the bit in management.php to set text for the empty panel in the middle? how do I set this? [cid:image001.png at 01CE4720.323B3670] Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 157920 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 157920 bytes Desc: image001.png URL: From Julian.Tenney at nottingham.ac.uk Thu May 2 10:52:22 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 2 May 2013 10:52:22 +0100 Subject: [Xerte-dev] Re: Text for login page In-Reply-To: <518236F4.6070508@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641A0@EXCHANGE1.ad.nottingham.ac.uk> <010501ce4717$d292a990$77b7fcb0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C517641C7@EXCHANGE1.ad.nottingham.ac.uk> <518236F4.6070508@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C517641F3@EXCHANGE1.ad.nottingham.ac.uk> Can we fix it back up then? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 02 May 2013 10:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Text for login page Interesting.... This used to be in a file website_code/login_bottom and that is not used any more since March 1 2012 (index.php change) Tom Op 2-5-2013 11:33, Julian Tenney schreef: No, that seems to be the text for the lower left hand side: [cid:image001.png at 01CE4723.1FA2E640] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 02 May 2013 10:31 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Text for login page The bit that says: The site text is... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 10:19 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Text for login page I can't find the bit in management.php to set text for the empty panel in the middle... how do I set this? [cid:image002.png at 01CE4723.1FA2E640] _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 147669 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 157920 bytes Desc: image002.png URL: From reijnders at tor.nl Thu May 2 10:56:10 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 02 May 2013 11:56:10 +0200 Subject: [Xerte-dev] Re: Text for login page In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C517641F3@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641A0@EXCHANGE1.ad.nottingham.ac.uk> <010501ce4717$d292a990$77b7fcb0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C517641C7@EXCHANGE1.ad.nottingham.ac.uk> <518236F4.6070508@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C517641F3@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <5182383A.5060401@tor.nl> Sure. Do you want it to be set through the management.php? That's a bit more work, but nicer. Op 2-5-2013 11:52, Julian Tenney schreef: > > Can we fix it back up then? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 02 May 2013 10:51 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Text for login page > > Interesting.... > > This used to be in a file website_code/login_bottom and that is not > used any more since March 1 2012 (index.php change) > > Tom > > Op 2-5-2013 11:33, Julian Tenney schreef: > > No, that seems to be the text for the lower left hand side: > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Ron Mitchell > *Sent:* 02 May 2013 10:31 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: Text for login page > > The bit that says: The site text is... > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* 02 May 2013 10:19 > *To:* For Xerte technical developers > (xerte-dev at lists.nottingham.ac.uk > ) > *Subject:* [Xerte-dev] Text for login page > > I can't find the bit in management.php to set text for the empty > panel in the middle... how do I set this? > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 147669 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 157920 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Thu May 2 10:57:24 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 2 May 2013 10:57:24 +0100 Subject: [Xerte-dev] Re: Text for login page In-Reply-To: <5182383A.5060401@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641A0@EXCHANGE1.ad.nottingham.ac.uk> <010501ce4717$d292a990$77b7fcb0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C517641C7@EXCHANGE1.ad.nottingham.ac.uk> <518236F4.6070508@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C517641F3@EXCHANGE1.ad.nottingham.ac.uk> <5182383A.5060401@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C517641F9@EXCHANGE1.ad.nottingham.ac.uk> That's probably the right place for it, yes please! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 02 May 2013 10:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: Text for login page Sure. Do you want it to be set through the management.php? That's a bit more work, but nicer. Op 2-5-2013 11:52, Julian Tenney schreef: Can we fix it back up then? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 02 May 2013 10:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Text for login page Interesting.... This used to be in a file website_code/login_bottom and that is not used any more since March 1 2012 (index.php change) Tom Op 2-5-2013 11:33, Julian Tenney schreef: No, that seems to be the text for the lower left hand side: [cid:image001.png at 01CE4723.D3A00470] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 02 May 2013 10:31 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Text for login page The bit that says: The site text is... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 10:19 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Text for login page I can't find the bit in management.php to set text for the empty panel in the middle... how do I set this? [cid:image002.png at 01CE4723.D3A00470] _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 147669 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 157920 bytes Desc: image002.png URL: From reijnders at tor.nl Thu May 2 10:57:51 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 02 May 2013 11:57:51 +0200 Subject: [Xerte-dev] Re: v2 User Notes In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C517641D6@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641D6@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <5182389F.3010804@tor.nl> These are only suggestions. Not sure whether you want these kinds of thing in there as well. - User management in management.php if you use Db - Language Packs installable through management.php - Math - Enhanced SCORM tracking (by just exporting, no need to change the LO settings, more then 1 quiz, time spent in each page) Op 2-5-2013 11:41, Julian Tenney schreef: > > We're going to update our install today(!) > > I want to put a summary of the changes in v2 for our users to read > somewhere (maybe in a bootstrap template piece I create and link to). > I've written some text, can you think of anything else to add, or > anything that is not clear here? Thanks, > > Xerte Online Toolkits v2.0 - Release Notes > > ========================================== > > In Xerte Online Toolkits v2.0, you now have the ability to deliver > content using HTML5 rather than the Flash Player. This has a number of > advantages: you can deliver content to a much wider range of devices, > and specifically you can deliver content to devices that do not > support Flash. You should use the HTML5 delivery option for new pieces > of content. > > Existing content will continue to play using the Flash Player. You can > change this setting for existing content, but you should check that > the content runs properly, and looks as you intended if you change the > setting. New content is set to play using HTML5 by default and will be > able to take advantage of new developments in the software in the > future. We will not be updating the older Flash delivery engine to > handle new page types and templates, and so we recommend that new > Learning Objects use HTML5 rather than Flash for delivery. New > Learning Objects will automatically be set up to use HTML5, so you do > not need to do anything. > > When using video, you should use the .mp4 file format in conjunction > with the HTML5 delivery option to ensure that video plays on the > widest range of devices. The .mp4 file format is not compatible with > the older Flash player. > > To summarise, you do not need to do anything. Existing content will > continue to use Flash and nothing will change unless you want it to. > New content will use HTML5, and we recommend that you keep this > setting. You should use .mp4 video rather than .flv video in new > learning objects. > > The Xerte Online Toolkit now contains over 70 templates for presenting > rich media and interactivity. If you have idea for new ways to present > and deliver content, the developer team would like to hear from you. > The software continues to be user-driven, most of the functionality > has been developed to meet real use cases, and we think this is an > excellent way to capture great ideas that meet real needs. > > The MediaInteractions, Interactive Diagram and Multiple Perspectives > templates have been retired. All the functionality they provided is > now available in the Xerte Online Toolkit template. Existing Learning > Objects created using these templates will continue to function but > you will no longer be able to create new ones. > > The new Bootstrap Template allows you to create responsive learning > objects that work well on the widest possible range of devices and > function well on a wide range of screen sizes, from phones to desktop > PCs. The Bootstrap template is designed for the presentation of text, > graphics, video and audio in a structured document: note you can embed > content created using the Xerte Online Toolkit into content created > using the Bootstrap Template. > > We hope you enjoy all the new features and functionality in Xerte > Online Toolkits v2.0! > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu May 2 11:01:55 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 2 May 2013 11:01:55 +0100 Subject: [Xerte-dev] Re: v2 User Notes In-Reply-To: <5182389F.3010804@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641D6@EXCHANGE1.ad.nottingham.ac.uk> <5182389F.3010804@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51764209@EXCHANGE1.ad.nottingham.ac.uk> I'm thinking more about our users here, so some of those aren't so relevant to them, but we could include something somewhere that is more generic. We're planning to update our install today, and I'm just anticipating some of the questions that might crop up. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 02 May 2013 10:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: v2 User Notes These are only suggestions. Not sure whether you want these kinds of thing in there as well. - User management in management.php if you use Db - Language Packs installable through management.php - Math - Enhanced SCORM tracking (by just exporting, no need to change the LO settings, more then 1 quiz, time spent in each page) Op 2-5-2013 11:41, Julian Tenney schreef: We're going to update our install today(!) I want to put a summary of the changes in v2 for our users to read somewhere (maybe in a bootstrap template piece I create and link to). I've written some text, can you think of anything else to add, or anything that is not clear here? Thanks, Xerte Online Toolkits v2.0 - Release Notes ========================================== In Xerte Online Toolkits v2.0, you now have the ability to deliver content using HTML5 rather than the Flash Player. This has a number of advantages: you can deliver content to a much wider range of devices, and specifically you can deliver content to devices that do not support Flash. You should use the HTML5 delivery option for new pieces of content. Existing content will continue to play using the Flash Player. You can change this setting for existing content, but you should check that the content runs properly, and looks as you intended if you change the setting. New content is set to play using HTML5 by default and will be able to take advantage of new developments in the software in the future. We will not be updating the older Flash delivery engine to handle new page types and templates, and so we recommend that new Learning Objects use HTML5 rather than Flash for delivery. New Learning Objects will automatically be set up to use HTML5, so you do not need to do anything. When using video, you should use the .mp4 file format in conjunction with the HTML5 delivery option to ensure that video plays on the widest range of devices. The .mp4 file format is not compatible with the older Flash player. To summarise, you do not need to do anything. Existing content will continue to use Flash and nothing will change unless you want it to. New content will use HTML5, and we recommend that you keep this setting. You should use .mp4 video rather than .flv video in new learning objects. The Xerte Online Toolkit now contains over 70 templates for presenting rich media and interactivity. If you have idea for new ways to present and deliver content, the developer team would like to hear from you. The software continues to be user-driven, most of the functionality has been developed to meet real use cases, and we think this is an excellent way to capture great ideas that meet real needs. The MediaInteractions, Interactive Diagram and Multiple Perspectives templates have been retired. All the functionality they provided is now available in the Xerte Online Toolkit template. Existing Learning Objects created using these templates will continue to function but you will no longer be able to create new ones. The new Bootstrap Template allows you to create responsive learning objects that work well on the widest possible range of devices and function well on a wide range of screen sizes, from phones to desktop PCs. The Bootstrap template is designed for the presentation of text, graphics, video and audio in a structured document: note you can embed content created using the Xerte Online Toolkit into content created using the Bootstrap Template. We hope you enjoy all the new features and functionality in Xerte Online Toolkits v2.0! _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Thu May 2 11:34:26 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 2 May 2013 11:34:26 +0100 Subject: [Xerte-dev] Re: Text for login page In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C517641C7@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641A0@EXCHANGE1.ad.nottingham.ac.uk> <010501ce4717$d292a990$77b7fcb0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C517641C7@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <016201ce4720$9fbf4100$df3dc300$@co.uk> On my installation that box changes the text that appears to the right of the tool image? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 10:34 To: For Xerte technical developers Subject: [Xerte-dev] Re: Text for login page No, that seems to be the text for the lower left hand side: From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 02 May 2013 10:31 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Text for login page The bit that says: The site text is... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 10:19 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Text for login page I can't find the bit in management.php to set text for the empty panel in the middle. how do I set this? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 147669 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 157920 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Thu May 2 11:36:32 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 2 May 2013 11:36:32 +0100 Subject: [Xerte-dev] Re: Text for login page In-Reply-To: <016201ce4720$9fbf4100$df3dc300$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641A0@EXCHANGE1.ad.nottingham.ac.uk> <010501ce4717$d292a990$77b7fcb0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C517641C7@EXCHANGE1.ad.nottingham.ac.uk> <016201ce4720$9fbf4100$df3dc300$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C5176426B@EXCHANGE1.ad.nottingham.ac.uk> Hmm. Not here. Our install is a bit higgledy-piggledy, as it's had various things added / changed at times. I hope it upgrades OK... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 02 May 2013 11:34 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Text for login page On my installation that box changes the text that appears to the right of the tool image? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 10:34 To: For Xerte technical developers Subject: [Xerte-dev] Re: Text for login page No, that seems to be the text for the lower left hand side: [cid:image001.png at 01CE4729.4B502D60] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 02 May 2013 10:31 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Text for login page The bit that says: The site text is... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 10:19 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Text for login page I can't find the bit in management.php to set text for the empty panel in the middle... how do I set this? [cid:image002.png at 01CE4729.4B502D60] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 147669 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 157920 bytes Desc: image002.png URL: From reijnders at tor.nl Thu May 2 11:52:44 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 02 May 2013 12:52:44 +0200 Subject: [Xerte-dev] Re: Text for login page In-Reply-To: <016201ce4720$9fbf4100$df3dc300$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641A0@EXCHANGE1.ad.nottingham.ac.uk> <010501ce4717$d292a990$77b7fcb0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C517641C7@EXCHANGE1.ad.nottingham.ac.uk> <016201ce4720$9fbf4100$df3dc300$@co.uk> Message-ID: <5182457C.6000706@tor.nl> Are you sure? It says so in the management.php page, yes, but the text actually appeard BELOW the tools logo. I changed that. Op 2-5-2013 12:34, Ron Mitchell schreef: > > On my installation that box changes the text that appears to the right > of the tool image? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* 02 May 2013 10:34 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Text for login page > > No, that seems to be the text for the lower left hand side: > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron > Mitchell > *Sent:* 02 May 2013 10:31 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: Text for login page > > The bit that says: The site text is... > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* 02 May 2013 10:19 > *To:* For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk > ) > *Subject:* [Xerte-dev] Text for login page > > I can't find the bit in management.php to set text for the empty panel > in the middle... how do I set this? > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 147669 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 157920 bytes Desc: not available URL: From thomas.rochford at jiscadvance.ac.uk Thu May 2 12:06:39 2013 From: thomas.rochford at jiscadvance.ac.uk (Thomas Rochford) Date: Thu, 2 May 2013 12:06:39 +0100 Subject: [Xerte-dev] Re: v2 User Notes In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C517641D6@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641D6@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <017b01ce4725$1fc99630$5f5cc290$@jiscadvance.ac.uk> Hi Julian, One caveat. Using IE 10 doesn't work very well. You may want to check this for yourselves, as it may just be IE 10 in windows 8. It won't probably be a problem for corporate users as they won't have upgraded their organisational hardware, but it will be a problem for learners who have recently (e.g. at Christmas or more recently) acquired a new computer which will come with W8 and IE10 by default. The pages work best in the current version of Firefox, and acceptably in Chrome, but IE 10 is pretty much unusable for Xerte as it comes. You may need/wish to draw attention to this in the 'Release Notes'. You may also want to include the kludge for getting IE 10 to play Flash in the 'Metro' or 'Modern' interface which I noted earlier. This is not just for the Surface RT. Thinking ahead a bit more, would it be possible to the get the LO to check to see if Flash is available and revert to HTML 5 if it's not or to see if the browser is on the 'supported' list for HTML 5 (currently Firefox, Chrome, versions of IE prior to 10? and Safari?). Kindest regards, Thomas From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 10:41 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] v2 User Notes We're going to update our install today(!) I want to put a summary of the changes in v2 for our users to read somewhere (maybe in a bootstrap template piece I create and link to). I've written some text, can you think of anything else to add, or anything that is not clear here? Thanks, Xerte Online Toolkits v2.0 - Release Notes ========================================== In Xerte Online Toolkits v2.0, you now have the ability to deliver content using HTML5 rather than the Flash Player. This has a number of advantages: you can deliver content to a much wider range of devices, and specifically you can deliver content to devices that do not support Flash. You should use the HTML5 delivery option for new pieces of content. Existing content will continue to play using the Flash Player. You can change this setting for existing content, but you should check that the content runs properly, and looks as you intended if you change the setting. New content is set to play using HTML5 by default and will be able to take advantage of new developments in the software in the future. We will not be updating the older Flash delivery engine to handle new page types and templates, and so we recommend that new Learning Objects use HTML5 rather than Flash for delivery. New Learning Objects will automatically be set up to use HTML5, so you do not need to do anything. When using video, you should use the .mp4 file format in conjunction with the HTML5 delivery option to ensure that video plays on the widest range of devices. The .mp4 file format is not compatible with the older Flash player. To summarise, you do not need to do anything. Existing content will continue to use Flash and nothing will change unless you want it to. New content will use HTML5, and we recommend that you keep this setting. You should use .mp4 video rather than .flv video in new learning objects. The Xerte Online Toolkit now contains over 70 templates for presenting rich media and interactivity. If you have idea for new ways to present and deliver content, the developer team would like to hear from you. The software continues to be user-driven, most of the functionality has been developed to meet real use cases, and we think this is an excellent way to capture great ideas that meet real needs. The MediaInteractions, Interactive Diagram and Multiple Perspectives templates have been retired. All the functionality they provided is now available in the Xerte Online Toolkit template. Existing Learning Objects created using these templates will continue to function but you will no longer be able to create new ones. The new Bootstrap Template allows you to create responsive learning objects that work well on the widest possible range of devices and function well on a wide range of screen sizes, from phones to desktop PCs. The Bootstrap template is designed for the presentation of text, graphics, video and audio in a structured document: note you can embed content created using the Xerte Online Toolkit into content created using the Bootstrap Template. We hope you enjoy all the new features and functionality in Xerte Online Toolkits v2.0! -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu May 2 12:39:50 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 2 May 2013 12:39:50 +0100 Subject: [Xerte-dev] Re: v2 User Notes Message-ID: Hi Thomas, Interesting read. Is there no IE9/8 compatibility mode in IE10? If so does that work? Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Thomas Rochford wrote: Hi Julian, One caveat. Using IE 10 doesn?t work very well. You may want to check this for yourselves, as it may just be IE 10 in windows 8. It won?t probably be a problem for corporate users as they won?t have upgraded their organisational hardware, but it will be a problem for learners who have recently (e.g. at Christmas or more recently) acquired a new computer which will come with W8 and IE10 by default. The pages work best in the current version of Firefox, and acceptably in Chrome, but IE 10 is pretty much unusable for Xerte as it comes. You may need/wish to draw attention to this in the ?Release Notes?. You may also want to include the kludge for getting IE 10 to play Flash in the ?Metro? or ?Modern? interface which I noted earlier. This is not just for the Surface RT. Thinking ahead a bit more, would it be possible to the get the LO to check to see if Flash is available and revert to HTML 5 if it?s not or to see if the browser is on the ?supported? list for HTML 5 (currently Firefox, Chrome, versions of IE prior to 10? and Safari?). Kindest regards, Thomas From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 10:41 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] v2 User Notes We?re going to update our install today(!) I want to put a summary of the changes in v2 for our users to read somewhere (maybe in a bootstrap template piece I create and link to). I?ve written some text, can you think of anything else to add, or anything that is not clear here? Thanks, Xerte Online Toolkits v2.0 - Release Notes ========================================== In Xerte Online Toolkits v2.0, you now have the ability to deliver content using HTML5 rather than the Flash Player. This has a number of advantages: you can deliver content to a much wider range of devices, and specifically you can deliver content to devices that do not support Flash. You should use the HTML5 delivery option for new pieces of content. Existing content will continue to play using the Flash Player. You can change this setting for existing content, but you should check that the content runs properly, and looks as you intended if you change the setting. New content is set to play using HTML5 by default and will be able to take advantage of new developments in the software in the future. We will not be updating the older Flash delivery engine to handle new page types and templates, and so we recommend that new Learning Objects use HTML5 rather than Flash for delivery. New Learning Objects will automatically be set up to use HTML5, so you do not need to do anything. When using video, you should use the .mp4 file format in conjunction with the HTML5 delivery option to ensure that video plays on the widest range of devices. The .mp4 file format is not compatible with the older Flash player. To summarise, you do not need to do anything. Existing content will continue to use Flash and nothing will change unless you want it to. New content will use HTML5, and we recommend that you keep this setting. You should use .mp4 video rather than .flv video in new learning objects. The Xerte Online Toolkit now contains over 70 templates for presenting rich media and interactivity. If you have idea for new ways to present and deliver content, the developer team would like to hear from you. The software continues to be user-driven, most of the functionality has been developed to meet real use cases, and we think this is an excellent way to capture great ideas that meet real needs. The MediaInteractions, Interactive Diagram and Multiple Perspectives templates have been retired. All the functionality they provided is now available in the Xerte Online Toolkit template. Existing Learning Objects created using these templates will continue to function but you will no longer be able to create new ones. The new Bootstrap Template allows you to create responsive learning objects that work well on the widest possible range of devices and function well on a wide range of screen sizes, from phones to desktop PCs. The Bootstrap template is designed for the presentation of text, graphics, video and audio in a structured document: note you can embed content created using the Xerte Online Toolkit into content created using the Bootstrap Template. We hope you enjoy all the new features and functionality in Xerte Online Toolkits v2.0! Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From ronm at mitchellmedia.co.uk Thu May 2 12:41:08 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 2 May 2013 12:41:08 +0100 Subject: [Xerte-dev] Re: v2 User Notes In-Reply-To: <017b01ce4725$1fc99630$5f5cc290$@jiscadvance.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641D6@EXCHANGE1.ad.nottingham.ac.uk> <017b01ce4725$1fc99630$5f5cc290$@jiscadvance.ac.uk> Message-ID: <019d01ce4729$f13c3890$d3b4a9b0$@co.uk> Hi Thomas what exactly doesn't work very well? This might be a Windows 8 issue rather than IE 10 issue because I'm using IE10 on Windows 7 without any problems. There are a couple of page types that don't have full functionality in IE but Fay has included on-screen warnings about that. In my experience the Xerte HTML 5 is far more cross browser than output from tools like Articulate and iSpring. Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Thomas Rochford Sent: 02 May 2013 12:07 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: v2 User Notes Hi Julian, One caveat. Using IE 10 doesn't work very well. You may want to check this for yourselves, as it may just be IE 10 in windows 8. It won't probably be a problem for corporate users as they won't have upgraded their organisational hardware, but it will be a problem for learners who have recently (e.g. at Christmas or more recently) acquired a new computer which will come with W8 and IE10 by default. The pages work best in the current version of Firefox, and acceptably in Chrome, but IE 10 is pretty much unusable for Xerte as it comes. You may need/wish to draw attention to this in the 'Release Notes'. You may also want to include the kludge for getting IE 10 to play Flash in the 'Metro' or 'Modern' interface which I noted earlier. This is not just for the Surface RT. Thinking ahead a bit more, would it be possible to the get the LO to check to see if Flash is available and revert to HTML 5 if it's not or to see if the browser is on the 'supported' list for HTML 5 (currently Firefox, Chrome, versions of IE prior to 10? and Safari?). Kindest regards, Thomas From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 10:41 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] v2 User Notes We're going to update our install today(!) I want to put a summary of the changes in v2 for our users to read somewhere (maybe in a bootstrap template piece I create and link to). I've written some text, can you think of anything else to add, or anything that is not clear here? Thanks, Xerte Online Toolkits v2.0 - Release Notes ========================================== In Xerte Online Toolkits v2.0, you now have the ability to deliver content using HTML5 rather than the Flash Player. This has a number of advantages: you can deliver content to a much wider range of devices, and specifically you can deliver content to devices that do not support Flash. You should use the HTML5 delivery option for new pieces of content. Existing content will continue to play using the Flash Player. You can change this setting for existing content, but you should check that the content runs properly, and looks as you intended if you change the setting. New content is set to play using HTML5 by default and will be able to take advantage of new developments in the software in the future. We will not be updating the older Flash delivery engine to handle new page types and templates, and so we recommend that new Learning Objects use HTML5 rather than Flash for delivery. New Learning Objects will automatically be set up to use HTML5, so you do not need to do anything. When using video, you should use the .mp4 file format in conjunction with the HTML5 delivery option to ensure that video plays on the widest range of devices. The .mp4 file format is not compatible with the older Flash player. To summarise, you do not need to do anything. Existing content will continue to use Flash and nothing will change unless you want it to. New content will use HTML5, and we recommend that you keep this setting. You should use .mp4 video rather than .flv video in new learning objects. The Xerte Online Toolkit now contains over 70 templates for presenting rich media and interactivity. If you have idea for new ways to present and deliver content, the developer team would like to hear from you. The software continues to be user-driven, most of the functionality has been developed to meet real use cases, and we think this is an excellent way to capture great ideas that meet real needs. The MediaInteractions, Interactive Diagram and Multiple Perspectives templates have been retired. All the functionality they provided is now available in the Xerte Online Toolkit template. Existing Learning Objects created using these templates will continue to function but you will no longer be able to create new ones. The new Bootstrap Template allows you to create responsive learning objects that work well on the widest possible range of devices and function well on a wide range of screen sizes, from phones to desktop PCs. The Bootstrap template is designed for the presentation of text, graphics, video and audio in a structured document: note you can embed content created using the Xerte Online Toolkit into content created using the Bootstrap Template. We hope you enjoy all the new features and functionality in Xerte Online Toolkits v2.0! -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Thu May 2 12:45:25 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 2 May 2013 12:45:25 +0100 Subject: [Xerte-dev] Re: Text for login page In-Reply-To: <5182457C.6000706@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641A0@EXCHANGE1.ad.nottingham.ac.uk> <010501ce4717$d292a990$77b7fcb0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C517641C7@EXCHANGE1.ad.nottingham.ac.uk> <016201ce4720$9fbf4100$df3dc300$@co.uk> <5182457C.6000706@tor.nl> Message-ID: <01ab01ce472a$8a51d3a0$9ef57ae0$@co.uk> Well most of the installs I look after use Moodle for authentication so the Xerte login page never shows anyway but my own installation where I'm using Static authentication displays the text to the right of the tools image. Having said that I'm guessing perhaps your versions are due to a CSS change? Each time I've upgraded my install I've either protected the styles and images folders or put those back after. So yes I am sure but perhaps the difference is older CSS? Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 02 May 2013 11:53 To: For Xerte technical developers Subject: [Xerte-dev] Re: Text for login page Are you sure? It says so in the management.php page, yes, but the text actually appeard BELOW the tools logo. I changed that. Op 2-5-2013 12:34, Ron Mitchell schreef: On my installation that box changes the text that appears to the right of the tool image? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 10:34 To: For Xerte technical developers Subject: [Xerte-dev] Re: Text for login page No, that seems to be the text for the lower left hand side: From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 02 May 2013 10:31 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Text for login page The bit that says: The site text is... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 10:19 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Text for login page I can't find the bit in management.php to set text for the empty panel in the middle. how do I set this? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 147669 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 157920 bytes Desc: not available URL: From d_b_burnett at hotmail.com Thu May 2 12:50:16 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Thu, 2 May 2013 07:50:16 -0400 Subject: [Xerte-dev] OT: Browser support In-Reply-To: <019d01ce4729$f13c3890$d3b4a9b0$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641D6@EXCHANGE1.ad.nottingham.ac.uk>, <017b01ce4725$1fc99630$5f5cc290$@jiscadvance.ac.uk>, <019d01ce4729$f13c3890$d3b4a9b0$@co.uk> Message-ID: http://en.wikipedia.org/wiki/Usage_share_of_web_browsers The Use by Country graphic right at the top.It must say something, but I'm not sure what. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fay.Cross at nottingham.ac.uk Thu May 2 13:03:03 2013 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Thu, 2 May 2013 13:03:03 +0100 Subject: [Xerte-dev] Re: v2 User Notes In-Reply-To: <019d01ce4729$f13c3890$d3b4a9b0$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641D6@EXCHANGE1.ad.nottingham.ac.uk> <017b01ce4725$1fc99630$5f5cc290$@jiscadvance.ac.uk> <019d01ce4729$f13c3890$d3b4a9b0$@co.uk> Message-ID: I need to go back and look at how things can work best in IE. I still have Windows XP so am still on IE8 which doesn't support the HTML5 tags (canvas etc.) but this doesn't affect too many page types and as Ron said there should be warnings where this applies. I do need to look at the css as the buttons on the interface don't align quite right in IE but it should work even if it doesn't look as nice. I'm not sure if Thomas is referring to the LOs though or Toolkits in general - the workspace etc. I know this doesn't work in Opera so maybe IE10 has the same problems? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 02 May 2013 12:41 To: thomas.rochford at jiscadvance.ac.uk; 'For Xerte technical developers' Subject: [Xerte-dev] Re: v2 User Notes Hi Thomas what exactly doesn't work very well? This might be a Windows 8 issue rather than IE 10 issue because I'm using IE10 on Windows 7 without any problems. There are a couple of page types that don't have full functionality in IE but Fay has included on-screen warnings about that. In my experience the Xerte HTML 5 is far more cross browser than output from tools like Articulate and iSpring. Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Thomas Rochford Sent: 02 May 2013 12:07 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: v2 User Notes Hi Julian, One caveat. Using IE 10 doesn't work very well. You may want to check this for yourselves, as it may just be IE 10 in windows 8. It won't probably be a problem for corporate users as they won't have upgraded their organisational hardware, but it will be a problem for learners who have recently (e.g. at Christmas or more recently) acquired a new computer which will come with W8 and IE10 by default. The pages work best in the current version of Firefox, and acceptably in Chrome, but IE 10 is pretty much unusable for Xerte as it comes. You may need/wish to draw attention to this in the 'Release Notes'. You may also want to include the kludge for getting IE 10 to play Flash in the 'Metro' or 'Modern' interface which I noted earlier. This is not just for the Surface RT. Thinking ahead a bit more, would it be possible to the get the LO to check to see if Flash is available and revert to HTML 5 if it's not or to see if the browser is on the 'supported' list for HTML 5 (currently Firefox, Chrome, versions of IE prior to 10? and Safari?). Kindest regards, Thomas From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 10:41 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] v2 User Notes We're going to update our install today(!) I want to put a summary of the changes in v2 for our users to read somewhere (maybe in a bootstrap template piece I create and link to). I've written some text, can you think of anything else to add, or anything that is not clear here? Thanks, Xerte Online Toolkits v2.0 - Release Notes ========================================== In Xerte Online Toolkits v2.0, you now have the ability to deliver content using HTML5 rather than the Flash Player. This has a number of advantages: you can deliver content to a much wider range of devices, and specifically you can deliver content to devices that do not support Flash. You should use the HTML5 delivery option for new pieces of content. Existing content will continue to play using the Flash Player. You can change this setting for existing content, but you should check that the content runs properly, and looks as you intended if you change the setting. New content is set to play using HTML5 by default and will be able to take advantage of new developments in the software in the future. We will not be updating the older Flash delivery engine to handle new page types and templates, and so we recommend that new Learning Objects use HTML5 rather than Flash for delivery. New Learning Objects will automatically be set up to use HTML5, so you do not need to do anything. When using video, you should use the .mp4 file format in conjunction with the HTML5 delivery option to ensure that video plays on the widest range of devices. The .mp4 file format is not compatible with the older Flash player. To summarise, you do not need to do anything. Existing content will continue to use Flash and nothing will change unless you want it to. New content will use HTML5, and we recommend that you keep this setting. You should use .mp4 video rather than .flv video in new learning objects. The Xerte Online Toolkit now contains over 70 templates for presenting rich media and interactivity. If you have idea for new ways to present and deliver content, the developer team would like to hear from you. The software continues to be user-driven, most of the functionality has been developed to meet real use cases, and we think this is an excellent way to capture great ideas that meet real needs. The MediaInteractions, Interactive Diagram and Multiple Perspectives templates have been retired. All the functionality they provided is now available in the Xerte Online Toolkit template. Existing Learning Objects created using these templates will continue to function but you will no longer be able to create new ones. The new Bootstrap Template allows you to create responsive learning objects that work well on the widest possible range of devices and function well on a wide range of screen sizes, from phones to desktop PCs. The Bootstrap template is designed for the presentation of text, graphics, video and audio in a structured document: note you can embed content created using the Xerte Online Toolkit into content created using the Bootstrap Template. We hope you enjoy all the new features and functionality in Xerte Online Toolkits v2.0! -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Thu May 2 13:13:51 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 02 May 2013 14:13:51 +0200 Subject: [Xerte-dev] Re: Text for login page In-Reply-To: <01ab01ce472a$8a51d3a0$9ef57ae0$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641A0@EXCHANGE1.ad.nottingham.ac.uk> <010501ce4717$d292a990$77b7fcb0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C517641C7@EXCHANGE1.ad.nottingham.ac.uk> <016201ce4720$9fbf4100$df3dc300$@co.uk> <5182457C.6000706@tor.nl> <01ab01ce472a$8a51d3a0$9ef57ae0$@co.uk> Message-ID: <5182587F.9090705@tor.nl> Committed and published in 2.0 and trunk. I didn't want to change the site_details table, so I combined two boxes in one column. They should probably be encoded, but that needs upgrade code, and I didn't do that (yet). The zip also contains an automatically generated version.txt now. I didn't display it yet. Also, you may need to modify the ? sign in management.php. Tom Op 2-5-2013 13:45, Ron Mitchell schreef: > > Well most of the installs I look after use Moodle for authentication > so the Xerte login page never shows anyway but my own installation > where I'm using Static authentication displays the text to the right > of the tools image. Having said that I'm guessing perhaps your > versions are due to a CSS change? > > Each time I've upgraded my install I've either protected the styles > and images folders or put those back after. > > So yes I am sure but perhaps the difference is older CSS? > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 02 May 2013 11:53 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Text for login page > > Are you sure? It says so in the management.php page, yes, but the text > actually appeard BELOW the tools logo. > > I changed that. > > Op 2-5-2013 12:34, Ron Mitchell schreef: > > On my installation that box changes the text that appears to the > right of the tool image? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* 02 May 2013 10:34 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Text for login page > > No, that seems to be the text for the lower left hand side: > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Ron Mitchell > *Sent:* 02 May 2013 10:31 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: Text for login page > > The bit that says: The site text is... > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* 02 May 2013 10:19 > *To:* For Xerte technical developers > (xerte-dev at lists.nottingham.ac.uk > ) > *Subject:* [Xerte-dev] Text for login page > > I can't find the bit in management.php to set text for the empty > panel in the middle... how do I set this? > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 147669 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 157920 bytes Desc: not available URL: From reijnders at tor.nl Thu May 2 13:25:15 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 02 May 2013 14:25:15 +0200 Subject: [Xerte-dev] Re: Text for login page In-Reply-To: <5182587F.9090705@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C517641A0@EXCHANGE1.ad.nottingham.ac.uk> <010501ce4717$d292a990$77b7fcb0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C517641C7@EXCHANGE1.ad.nottingham.ac.uk> <016201ce4720$9fbf4100$df3dc300$@co.uk> <5182457C.6000706@tor.nl> <01ab01ce472a$8a51d3a0$9ef57ae0$@co.uk> <5182587F.9090705@tor.nl> Message-ID: <51825B2B.7020208@tor.nl> You can display the version by pointing the browser to http:///version.txt Op 2-5-2013 14:13, Tom Reijnders schreef: > Committed and published in 2.0 and trunk. > > I didn't want to change the site_details table, so I combined two > boxes in one column. They should probably be encoded, but that needs > upgrade code, and I didn't do that (yet). > > The zip also contains an automatically generated version.txt now. > > I didn't display it yet. > > Also, you may need to modify the ? sign in management.php. > > Tom > > Op 2-5-2013 13:45, Ron Mitchell schreef: >> >> Well most of the installs I look after use Moodle for authentication >> so the Xerte login page never shows anyway but my own installation >> where I'm using Static authentication displays the text to the right >> of the tools image. Having said that I'm guessing perhaps your >> versions are due to a CSS change? >> >> Each time I've upgraded my install I've either protected the styles >> and images folders or put those back after. >> >> So yes I am sure but perhaps the difference is older CSS? >> >> Ron >> >> *From:*xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom >> Reijnders >> *Sent:* 02 May 2013 11:53 >> *To:* For Xerte technical developers >> *Subject:* [Xerte-dev] Re: Text for login page >> >> Are you sure? It says so in the management.php page, yes, but the >> text actually appeard BELOW the tools logo. >> >> I changed that. >> >> Op 2-5-2013 12:34, Ron Mitchell schreef: >> >> On my installation that box changes the text that appears to the >> right of the tool image? >> >> *From:*xerte-dev-bounces at lists.nottingham.ac.uk >> >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of >> *Julian Tenney >> *Sent:* 02 May 2013 10:34 >> *To:* For Xerte technical developers >> *Subject:* [Xerte-dev] Re: Text for login page >> >> No, that seems to be the text for the lower left hand side: >> >> *From:*xerte-dev-bounces at lists.nottingham.ac.uk >> >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of >> *Ron Mitchell >> *Sent:* 02 May 2013 10:31 >> *To:* 'For Xerte technical developers' >> *Subject:* [Xerte-dev] Re: Text for login page >> >> The bit that says: The site text is... >> >> *From:*xerte-dev-bounces at lists.nottingham.ac.uk >> >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of >> *Julian Tenney >> *Sent:* 02 May 2013 10:19 >> *To:* For Xerte technical developers >> (xerte-dev at lists.nottingham.ac.uk >> ) >> *Subject:* [Xerte-dev] Text for login page >> >> I can't find the bit in management.php to set text for the empty >> panel in the middle... how do I set this? >> >> >> >> >> _______________________________________________ >> >> Xerte-dev mailing list >> >> Xerte-dev at lists.nottingham.ac.uk >> >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 147669 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 157920 bytes Desc: not available URL: From ronm at mitchellmedia.co.uk Thu May 2 13:33:06 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 2 May 2013 13:33:06 +0100 Subject: [Xerte-dev] Re: v2 User Notes In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C517641D6@EXCHANGE1.ad.nottingham.ac.uk> <017b01ce4725$1fc99630$5f5cc290$@jiscadvance.ac.uk> <019d01ce4729$f13c3890$d3b4a9b0$@co.uk> Message-ID: <01e201ce4731$332b04f0$99810ed0$@co.uk> Hi Fay just to clarify I use IE10 on Windows 7 and no problems with workspace etc e.g. creation and editing of LO's all works fine. It sounds like things are different with Windows 8 but I don't have access to that to test with. Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 02 May 2013 13:03 To: For Xerte technical developers Subject: [Xerte-dev] Re: v2 User Notes I need to go back and look at how things can work best in IE. I still have Windows XP so am still on IE8 which doesn't support the HTML5 tags (canvas etc.) but this doesn't affect too many page types and as Ron said there should be warnings where this applies. I do need to look at the css as the buttons on the interface don't align quite right in IE but it should work even if it doesn't look as nice. I'm not sure if Thomas is referring to the LOs though or Toolkits in general - the workspace etc. I know this doesn't work in Opera so maybe IE10 has the same problems? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 02 May 2013 12:41 To: thomas.rochford at jiscadvance.ac.uk; 'For Xerte technical developers' Subject: [Xerte-dev] Re: v2 User Notes Hi Thomas what exactly doesn't work very well? This might be a Windows 8 issue rather than IE 10 issue because I'm using IE10 on Windows 7 without any problems. There are a couple of page types that don't have full functionality in IE but Fay has included on-screen warnings about that. In my experience the Xerte HTML 5 is far more cross browser than output from tools like Articulate and iSpring. Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Thomas Rochford Sent: 02 May 2013 12:07 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: v2 User Notes Hi Julian, One caveat. Using IE 10 doesn't work very well. You may want to check this for yourselves, as it may just be IE 10 in windows 8. It won't probably be a problem for corporate users as they won't have upgraded their organisational hardware, but it will be a problem for learners who have recently (e.g. at Christmas or more recently) acquired a new computer which will come with W8 and IE10 by default. The pages work best in the current version of Firefox, and acceptably in Chrome, but IE 10 is pretty much unusable for Xerte as it comes. You may need/wish to draw attention to this in the 'Release Notes'. You may also want to include the kludge for getting IE 10 to play Flash in the 'Metro' or 'Modern' interface which I noted earlier. This is not just for the Surface RT. Thinking ahead a bit more, would it be possible to the get the LO to check to see if Flash is available and revert to HTML 5 if it's not or to see if the browser is on the 'supported' list for HTML 5 (currently Firefox, Chrome, versions of IE prior to 10? and Safari?). Kindest regards, Thomas From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 10:41 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] v2 User Notes We're going to update our install today(!) I want to put a summary of the changes in v2 for our users to read somewhere (maybe in a bootstrap template piece I create and link to). I've written some text, can you think of anything else to add, or anything that is not clear here? Thanks, Xerte Online Toolkits v2.0 - Release Notes ========================================== In Xerte Online Toolkits v2.0, you now have the ability to deliver content using HTML5 rather than the Flash Player. This has a number of advantages: you can deliver content to a much wider range of devices, and specifically you can deliver content to devices that do not support Flash. You should use the HTML5 delivery option for new pieces of content. Existing content will continue to play using the Flash Player. You can change this setting for existing content, but you should check that the content runs properly, and looks as you intended if you change the setting. New content is set to play using HTML5 by default and will be able to take advantage of new developments in the software in the future. We will not be updating the older Flash delivery engine to handle new page types and templates, and so we recommend that new Learning Objects use HTML5 rather than Flash for delivery. New Learning Objects will automatically be set up to use HTML5, so you do not need to do anything. When using video, you should use the .mp4 file format in conjunction with the HTML5 delivery option to ensure that video plays on the widest range of devices. The .mp4 file format is not compatible with the older Flash player. To summarise, you do not need to do anything. Existing content will continue to use Flash and nothing will change unless you want it to. New content will use HTML5, and we recommend that you keep this setting. You should use .mp4 video rather than .flv video in new learning objects. The Xerte Online Toolkit now contains over 70 templates for presenting rich media and interactivity. If you have idea for new ways to present and deliver content, the developer team would like to hear from you. The software continues to be user-driven, most of the functionality has been developed to meet real use cases, and we think this is an excellent way to capture great ideas that meet real needs. The MediaInteractions, Interactive Diagram and Multiple Perspectives templates have been retired. All the functionality they provided is now available in the Xerte Online Toolkit template. Existing Learning Objects created using these templates will continue to function but you will no longer be able to create new ones. The new Bootstrap Template allows you to create responsive learning objects that work well on the widest possible range of devices and function well on a wide range of screen sizes, from phones to desktop PCs. The Bootstrap template is designed for the presentation of text, graphics, video and audio in a structured document: note you can embed content created using the Xerte Online Toolkit into content created using the Bootstrap Template. We hope you enjoy all the new features and functionality in Xerte Online Toolkits v2.0! -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Thu May 2 13:37:50 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 02 May 2013 14:37:50 +0200 Subject: [Xerte-dev]
  • in firefox too far to the left... Message-ID: <51825E1E.6000106@tor.nl> The bullets of
  • show too far to the left in firefox. They look ok in Chrome. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fgfhagjg.png Type: image/png Size: 17598 bytes Desc: not available URL: From thomas.rochford at jiscadvance.ac.uk Thu May 2 13:43:01 2013 From: thomas.rochford at jiscadvance.ac.uk (Thomas Rochford) Date: Thu, 2 May 2013 13:43:01 +0100 Subject: [Xerte-dev] Re: v2 User Notes In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C517641D6@EXCHANGE1.ad.nottingham.ac.uk> <017b01ce4725$1fc99630$5f5cc290$@jiscadvance.ac.uk> <019d01ce4729$f13c3890$d3b4a9b0$@co.uk> Message-ID: <024401ce4732$9632eda0$c298c8e0$@jiscadvance.ac.uk> Hi Ron and Fay, I've just realised I'm not using the 'Official' page types demo from Nottingham, I've also just checked this demo under the 'Metro' interface in W8 and everything except the JMOL stuff and the 'unsupported' templates DOES seem to work. I'm using an old copy of the Page Types LO within MAXOS (i.e. XAMPP and Apache) which presumably doesn't include the latest fixes, although it does work well with FireFox and Chrome. Please can you tell me where I can download the LO for your template (560 is the number). I use this in training sessions because in some of the locations internet access is very poor or there are restrictions on things like YouTube and I have to use my own MiFi connection. So I'm keen to have a reference object for users to access on the USB stick which shows them how the pages work. Thanks to your excellent work there are simply too many of them to cover in the time normally allocated for training sessions. It's probably worth putting something in the release notes, though, to say which templates are not supported (I don't think JMOL will ever be supportable for W8 Metro), so that authors can decide which templates will not work for their intended audience. Sorry about raising a false alarm! Kindest Regards, Thomas ========================================================== Thomas Rochford | e-Learning Advisor | Jisc RSC Eastern Tel: 01223 564749 | Mobile: 07500 669002 | Skype: cambridge.serendipity Email: thomas.rochford at jiscadvance.ac.uk | Web: http://www.jiscrsc.ac.uk/eastern Cambridge Serendipity, 35 Gough Way, Cambridge, CB3 9LN For the full range of RSC UK events, resources and blog, visit http://www.jiscrsc.ac.uk From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 02 May 2013 13:03 To: For Xerte technical developers Subject: [Xerte-dev] Re: v2 User Notes I need to go back and look at how things can work best in IE. I still have Windows XP so am still on IE8 which doesn't support the HTML5 tags (canvas etc.) but this doesn't affect too many page types and as Ron said there should be warnings where this applies. I do need to look at the css as the buttons on the interface don't align quite right in IE but it should work even if it doesn't look as nice. I'm not sure if Thomas is referring to the LOs though or Toolkits in general - the workspace etc. I know this doesn't work in Opera so maybe IE10 has the same problems? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 02 May 2013 12:41 To: thomas.rochford at jiscadvance.ac.uk ; 'For Xerte technical developers' Subject: [Xerte-dev] Re: v2 User Notes Hi Thomas what exactly doesn't work very well? This might be a Windows 8 issue rather than IE 10 issue because I'm using IE10 on Windows 7 without any problems. There are a couple of page types that don't have full functionality in IE but Fay has included on-screen warnings about that. In my experience the Xerte HTML 5 is far more cross browser than output from tools like Articulate and iSpring. Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Thomas Rochford Sent: 02 May 2013 12:07 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: v2 User Notes Hi Julian, One caveat. Using IE 10 doesn't work very well. You may want to check this for yourselves, as it may just be IE 10 in windows 8. It won't probably be a problem for corporate users as they won't have upgraded their organisational hardware, but it will be a problem for learners who have recently (e.g. at Christmas or more recently) acquired a new computer which will come with W8 and IE10 by default. The pages work best in the current version of Firefox, and acceptably in Chrome, but IE 10 is pretty much unusable for Xerte as it comes. You may need/wish to draw attention to this in the 'Release Notes'. You may also want to include the kludge for getting IE 10 to play Flash in the 'Metro' or 'Modern' interface which I noted earlier. This is not just for the Surface RT. Thinking ahead a bit more, would it be possible to the get the LO to check to see if Flash is available and revert to HTML 5 if it's not or to see if the browser is on the 'supported' list for HTML 5 (currently Firefox, Chrome, versions of IE prior to 10? and Safari?). Kindest regards, Thomas From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 02 May 2013 10:41 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk ) Subject: [Xerte-dev] v2 User Notes We're going to update our install today(!) I want to put a summary of the changes in v2 for our users to read somewhere (maybe in a bootstrap template piece I create and link to). I've written some text, can you think of anything else to add, or anything that is not clear here? Thanks, Xerte Online Toolkits v2.0 - Release Notes ========================================== In Xerte Online Toolkits v2.0, you now have the ability to deliver content using HTML5 rather than the Flash Player. This has a number of advantages: you can deliver content to a much wider range of devices, and specifically you can deliver content to devices that do not support Flash. You should use the HTML5 delivery option for new pieces of content. Existing content will continue to play using the Flash Player. You can change this setting for existing content, but you should check that the content runs properly, and looks as you intended if you change the setting. New content is set to play using HTML5 by default and will be able to take advantage of new developments in the software in the future. We will not be updating the older Flash delivery engine to handle new page types and templates, and so we recommend that new Learning Objects use HTML5 rather than Flash for delivery. New Learning Objects will automatically be set up to use HTML5, so you do not need to do anything. When using video, you should use the .mp4 file format in conjunction with the HTML5 delivery option to ensure that video plays on the widest range of devices. The .mp4 file format is not compatible with the older Flash player. To summarise, you do not need to do anything. Existing content will continue to use Flash and nothing will change unless you want it to. New content will use HTML5, and we recommend that you keep this setting. You should use .mp4 video rather than .flv video in new learning objects. The Xerte Online Toolkit now contains over 70 templates for presenting rich media and interactivity. If you have idea for new ways to present and deliver content, the developer team would like to hear from you. The software continues to be user-driven, most of the functionality has been developed to meet real use cases, and we think this is an excellent way to capture great ideas that meet real needs. The MediaInteractions, Interactive Diagram and Multiple Perspectives templates have been retired. All the functionality they provided is now available in the Xerte Online Toolkit template. Existing Learning Objects created using these templates will continue to function but you will no longer be able to create new ones. The new Bootstrap Template allows you to create responsive learning objects that work well on the widest possible range of devices and function well on a wide range of screen sizes, from phones to desktop PCs. The Bootstrap template is designed for the presentation of text, graphics, video and audio in a structured document: note you can embed content created using the Xerte Online Toolkit into content created using the Bootstrap Template. We hope you enjoy all the new features and functionality in Xerte Online Toolkits v2.0! -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fay.Cross at nottingham.ac.uk Thu May 2 13:48:32 2013 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Thu, 2 May 2013 13:48:32 +0100 Subject: [Xerte-dev] Re:
  • in firefox too far to the left... In-Reply-To: <51825E1E.6000106@tor.nl> References: <51825E1E.6000106@tor.nl> Message-ID: There's nothing in the css that is changing the default way that bullets show in the browser. It looks like firefox needs your bullets to be inside a
      or
        to display properly. Other browsers don't seem to mind if you miss out the ul/ol tags. So this should work in all browsers:
        • bullet 1
        • bullet 2
        From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 02 May 2013 13:38 To: For Xerte technical developers Subject: [Xerte-dev]
      1. in firefox too far to the left... The bullets of
      2. show too far to the left in firefox. They look ok in Chrome. [cid:image001.png at 01CE473B.BC2F6BB0] -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 17598 bytes Desc: image001.png URL: From reijnders at tor.nl Thu May 2 14:15:17 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 02 May 2013 15:15:17 +0200 Subject: [Xerte-dev] Re:
      3. in firefox too far to the left... In-Reply-To: References: <51825E1E.6000106@tor.nl> Message-ID: <518266E5.2010303@tor.nl> Thank you! Op 2-5-2013 14:48, Fay Cross schreef: > > There's nothing in the css that is changing the default way that > bullets show in the browser. It looks like firefox needs your bullets > to be inside a
          or
            to display properly. Other browsers don't > seem to mind if you miss out the ul/ol tags. > > So this should work in all browsers: > >
              > >
            • bullet 1
            • > >
            • bullet 2
            • > >
            > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 02 May 2013 13:38 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev]
          1. in firefox too far to the left... > > > > The bullets of
          2. show too far to the left in firefox. They look ok > in Chrome. > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: image/png Size: 17598 bytes Desc: not available URL: From d_b_burnett at hotmail.com Thu May 2 14:28:22 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Thu, 2 May 2013 09:28:22 -0400 Subject: [Xerte-dev] Re:
          3. in firefox too far to the left... In-Reply-To: <51825E1E.6000106@tor.nl> References: <51825E1E.6000106@tor.nl> Message-ID: http://webdesign.about.com/od/css/ss/indenting_lists_3.htm Date: Thu, 2 May 2013 14:37:50 +0200 From: reijnders at tor.nl To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev]
          4. in firefox too far to the left... The bullets of
          5. show too far to the left in firefox. They look ok in Chrome. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: fgfhagjg.png Type: image/png Size: 17598 bytes Desc: not available URL: From reijnders at tor.nl Thu May 2 16:41:22 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 02 May 2013 17:41:22 +0200 Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). In-Reply-To: <001901ce4716$644020e0$2cc062a0$@jiscadvance.ac.uk> References: <877x7xkud8q8q1ek417xrq04.1367482580324@email.android.com> <12C67A1EEC419342AF5E59DA31562C3F0C51764104@EXCHANGE1.ad.nottingham.ac.uk> <00f101ce4710$a9966e20$fcc34a60$@co.uk> <001901ce4716$644020e0$2cc062a0$@jiscadvance.ac.uk> Message-ID: <51828922.8080006@tor.nl> Item 2. Could you please clear the cache? I had to do that for one of my PC's in firefox, before it would work nicely. Tom Op 2-5-2013 11:21, Thomas Rochford schreef: > Hi Ron > > I used version.txt for some time but it isn't being maintained anymore. The current version is 1.9 v.601, I think! I'm not really sure that getting users to look at the code is a really good idea. It would be better if it were somehow embedded in the normal display. We have one group of potential users who may be using MAXOS in a very tightly locked down fashion to deliver ESOL and Citizenship training (this would probably be with the WEA and on behalf of one of the Trade Unions. They want the sticks copy protected (I don't agree with that, but that's the way it is) and also to fire up in a way that only offers the courses on the sticks, i.e. no development potential by the users. The users will therefore not have access to the source code. > > Your idea for 'toggling the engine' by which I understand choosing Flash as the engine, publishing and then setting it back to Javascript seems to work for me too. Thank you for this, but it would be good to see this working as it should. > > 3 is a brilliant idea. I was thinking it would be good to place this under user control, so tweaking the date or some other field on which the templates can be sorted could be something for the future. > > Thanks for your help on this!. I'm not close to taking the 'B' off MAXOS200B! > > Kindest regards, Thomas > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 02 May 2013 09:40 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). > > 1. isn't /version.txt sufficient for this? But agree it would be good if it was automated although not sure it should be accessed via management because often it's useful when supporting people (mostly not admins) to ask what version you are using and to direct them where to identify that e.g. /version.txt > > 2. I think there is a slight bug with this and not sure if it's due to whether an LO is public or not when changing the engine type? I was delivering training yesterday and have seen it before too and current solution is to make the LO public, toggle the egine, view the public link then toggling should work as it's supposed to. > > 3. I've been manually changing the date via management making the Bootstrap/site template much older than the others. Might not be what you're supposed to do but works! BTW delegates yesterday loved the non-site site template! ;-) > > HTH > Ron > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 02 May 2013 09:19 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). > > I'd prefer the xerte online toolkit at the top as well, then bootstrap and then rss one. Is there an index or ID number the query can sort on? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 02 May 2013 09:16 > To: thomas.rochford at jiscadvance.ac.uk; xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Some items for the wish list (when we have one). > > Hi Thomas > > Not sure about 1 - don't think the svn can or should do it but perhaps Tom's autopackager could add a version file then we could add an include. Tom? > > 2. I thought the publish/export problems had been solved but maybe not. Will take a look. > > 3. Don't know what determines order but yes it would be good to leave the original at top. 's' depends how you look at it i suppose. Julian? > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Thomas Rochford wrote: > > > Good Evening everyone, > > I would like to see the following items included > > > 1) Make the default copyright String show the revision number and possibly the date, e.g > Version 2.0 r854 (2013-04-30) Copyright University of Nottingham 2008 ? 2012 This is going to make life a lot easier for those of us who are supporting users remotely now that regular updates are coming out. > > 2) Restore the link to the HTML-5 output in the Properties Project Tab. This was really useful > > In know there has been some discussion about this and that it?s meant to be automated, but at the moment, in r584, you can tick the ?Javascript? option when you publish, but it still displays Flash when you view it. Adding ?&engine=html5? obviously works, but may be > > Beyond some of our users. > > 3) Change the order in which the ?Blank Templates? are displayed so that ?Xerte Online Toolkit? > > Is the first one. This is going to make life a lot simpler for newbie developers (and pros too, possibly). And by the way shouldn?t it be ?Toolkits? with an ?s? on the end? > > Good to see that we can now export HTML5.Thanks for this > > Kindest regards, Thomas > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From thomas.rochford at jiscadvance.ac.uk Thu May 2 17:35:54 2013 From: thomas.rochford at jiscadvance.ac.uk (Thomas Rochford) Date: Thu, 2 May 2013 17:35:54 +0100 Subject: [Xerte-dev] Some more thoughts on IE10 issues Message-ID: <01d601ce4753$1ed423c0$5c7c6b40$@jiscadvance.ac.uk> Hi, I've had a few more thoughts on this. It seems the problem arises when you change the 'zoom' level in IE 10. My aging eyesight had encouraged me to view the pages at 125% magnification but as soon as I dropped this to 100% the problem went away! Firefox seems to zoom in and out without any fuss and so does Chrome. The Nottingham templates also seem to support zooming. You can see this in the attached image. This shows IE10 getting the file from 'localhost' on the left and getting it from 'nottingham.ac.uk' on the right. Both are running at 125% zoom level. You can also see some red warnings in the 'Developer' console below the screen on the left, but they are not present on the right. The warning on the left reads SCRIPT5007: The value of the property 'windowResized' is null or undefined, not a Function object play.php, line 62 character 1 I would welcome any suggestions as to a server setting that might need to be changed, e.g. in php.ini or in one of the Apache 2 configuration files, or even elsewhere. Interestingly the error messages do not occur in the localhost version when the zoom is put to 100%. It's not a show stopper as I've now set Maxos to use a portable version of Firefox by default. It can fairly easily be configured to run Chrome or IE by uncommenting the appropriate line in a text file - I'll probably make this a little easier by offering an option to the user. But if any of you have any better ideas to offer, I'ld welcome them. My next step will be to upgrade my external web server to XoT 2.0, but I have tried to get the MAXOS version sorted first because more people are likely to be using that! Kindest regards, Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Clipboard01.jpg Type: image/jpeg Size: 159501 bytes Desc: not available URL: From reijnders at tor.nl Thu May 2 19:01:10 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 02 May 2013 20:01:10 +0200 Subject: [Xerte-dev] Re: Some more thoughts on IE10 issues In-Reply-To: <01d601ce4753$1ed423c0$5c7c6b40$@jiscadvance.ac.uk> References: <01d601ce4753$1ed423c0$5c7c6b40$@jiscadvance.ac.uk> Message-ID: <5182A9E6.6000701@tor.nl> Hi, Fay fixed that particular error yesterday. Tom Op 2-5-2013 18:35, Thomas Rochford schreef: > > Hi, > > I've had a few more thoughts on this. > > It seems the problem arises when you change the 'zoom' level in IE 10. > My aging eyesight had encouraged me to view the pages at 125% > magnification but as soon as I dropped this to 100% the problem went > away! Firefox seems to zoom in and out without any fuss and so does > Chrome. The Nottingham templates also seem to support zooming. You can > see this in the attached image. This shows IE10 getting the file from > 'localhost' on the left and getting it from 'nottingham.ac.uk' on the > right. Both are running at 125% zoom level. You can also see some red > warnings in the 'Developer' console below the screen on the left, but > they are not present on the right. The warning on the left reads > > SCRIPT5007: The value of the property 'windowResized' is null or > undefined, not a Function object > play.php, line 62 character 1 <0> > > I would welcome any suggestions as to a server setting that might need > to be changed, e.g. in php.ini or in one of the Apache 2 configuration > files, or even elsewhere. > > Interestingly the error messages do not occur in the localhost version > when the zoom is put to 100%. > > It's not a show stopper as I've now set Maxos to use a portable > version of Firefox by default. It can fairly easily be configured to > run Chrome or IE by uncommenting the appropriate line in a text file > -- I'll probably make this a little easier by offering an option to > the user. But if any of you have any better ideas to offer, I'ld > welcome them. > > My next step will be to upgrade my external web server to XoT 2.0, but > I have tried to get the MAXOS version sorted first because more people > are likely to be using that! > > Kindest regards, Thomas > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Thu May 2 20:38:58 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 02 May 2013 21:38:58 +0200 Subject: [Xerte-dev] buttonSequence with size Full doesn't work. Message-ID: <5182C0D2.1050400@tor.nl> Is that a known issue? The buttons become really tiny, and nothing happens if you click on it. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From Fay.Cross at nottingham.ac.uk Fri May 3 09:54:22 2013 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Fri, 3 May 2013 09:54:22 +0100 Subject: [Xerte-dev] Re: buttonSequence with size Full doesn't work. In-Reply-To: <5182C0D2.1050400@tor.nl> References: <5182C0D2.1050400@tor.nl> Message-ID: Fixed, new model attached and in svn. Thanks Fay -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 02 May 2013 20:39 To: For Xerte technical developers Subject: [Xerte-dev] buttonSequence with size Full doesn't work. Is that a known issue? The buttons become really tiny, and nothing happens if you click on it. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fay.Cross at nottingham.ac.uk Fri May 3 10:15:10 2013 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Fri, 3 May 2013 10:15:10 +0100 Subject: [Xerte-dev] Re: Some more thoughts on IE10 issues In-Reply-To: <5182A9E6.6000701@tor.nl> References: <01d601ce4753$1ed423c0$5c7c6b40$@jiscadvance.ac.uk> <5182A9E6.6000701@tor.nl> Message-ID: I wouldn't have thought that error's causing that problem though. Ron, does zooming projects in IE10 (Windows 7) work ok? Things look ok to me in IE8 / XP when zooming. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 02 May 2013 19:01 To: thomas.rochford at jiscadvance.ac.uk; For Xerte technical developers Subject: [Xerte-dev] Re: Some more thoughts on IE10 issues Hi, Fay fixed that particular error yesterday. Tom Op 2-5-2013 18:35, Thomas Rochford schreef: Hi, I've had a few more thoughts on this. It seems the problem arises when you change the 'zoom' level in IE 10. My aging eyesight had encouraged me to view the pages at 125% magnification but as soon as I dropped this to 100% the problem went away! Firefox seems to zoom in and out without any fuss and so does Chrome. The Nottingham templates also seem to support zooming. You can see this in the attached image. This shows IE10 getting the file from 'localhost' on the left and getting it from 'nottingham.ac.uk' on the right. Both are running at 125% zoom level. You can also see some red warnings in the 'Developer' console below the screen on the left, but they are not present on the right. The warning on the left reads SCRIPT5007: The value of the property 'windowResized' is null or undefined, not a Function object play.php, line 62 character 1<0> I would welcome any suggestions as to a server setting that might need to be changed, e.g. in php.ini or in one of the Apache 2 configuration files, or even elsewhere. Interestingly the error messages do not occur in the localhost version when the zoom is put to 100%. It's not a show stopper as I've now set Maxos to use a portable version of Firefox by default. It can fairly easily be configured to run Chrome or IE by uncommenting the appropriate line in a text file - I'll probably make this a little easier by offering an option to the user. But if any of you have any better ideas to offer, I'ld welcome them. My next step will be to upgrade my external web server to XoT 2.0, but I have tried to get the MAXOS version sorted first because more people are likely to be using that! Kindest regards, Thomas _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Fri May 3 10:45:37 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 3 May 2013 10:45:37 +0100 Subject: [Xerte-dev] Re: Some more thoughts on IE10 issues In-Reply-To: References: <01d601ce4753$1ed423c0$5c7c6b40$@jiscadvance.ac.uk> <5182A9E6.6000701@tor.nl> Message-ID: <02cc01ce47e2$f8279e10$e876da30$@co.uk> Hi Fay yes zooming with IE10 on Windows 7 seems fine. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 03 May 2013 10:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: Some more thoughts on IE10 issues I wouldn't have thought that error's causing that problem though. Ron, does zooming projects in IE10 (Windows 7) work ok? Things look ok to me in IE8 / XP when zooming. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 02 May 2013 19:01 To: thomas.rochford at jiscadvance.ac.uk; For Xerte technical developers Subject: [Xerte-dev] Re: Some more thoughts on IE10 issues Hi, Fay fixed that particular error yesterday. Tom Op 2-5-2013 18:35, Thomas Rochford schreef: Hi, I've had a few more thoughts on this. It seems the problem arises when you change the 'zoom' level in IE 10. My aging eyesight had encouraged me to view the pages at 125% magnification but as soon as I dropped this to 100% the problem went away! Firefox seems to zoom in and out without any fuss and so does Chrome. The Nottingham templates also seem to support zooming. You can see this in the attached image. This shows IE10 getting the file from 'localhost' on the left and getting it from 'nottingham.ac.uk' on the right. Both are running at 125% zoom level. You can also see some red warnings in the 'Developer' console below the screen on the left, but they are not present on the right. The warning on the left reads SCRIPT5007: The value of the property 'windowResized' is null or undefined, not a Function object play.php, line 62 character 1 I would welcome any suggestions as to a server setting that might need to be changed, e.g. in php.ini or in one of the Apache 2 configuration files, or even elsewhere. Interestingly the error messages do not occur in the localhost version when the zoom is put to 100%. It's not a show stopper as I've now set Maxos to use a portable version of Firefox by default. It can fairly easily be configured to run Chrome or IE by uncommenting the appropriate line in a text file - I'll probably make this a little easier by offering an option to the user. But if any of you have any better ideas to offer, I'ld welcome them. My next step will be to upgrade my external web server to XoT 2.0, but I have tried to get the MAXOS version sorted first because more people are likely to be using that! Kindest regards, Thomas _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.rochford at jiscadvance.ac.uk Fri May 3 22:09:43 2013 From: thomas.rochford at jiscadvance.ac.uk (Thomas Rochford) Date: Fri, 3 May 2013 22:09:43 +0100 Subject: [Xerte-dev] Xerte Install Message-ID: <002701ce4842$89972af0$9cc580d0$@jiscadvance.ac.uk> Good Evening Tom, First of all a Big Thank you for your work. As a small gesture of appreciation I have produced a document describing how to upload Learning Objects directly, via FTP, webDav etc. If you think it will be useful, please put it somewhere appropriate on the Community web site. It would be good if you (and others?) looked it over, in case I have made some mistakes or you feel things could have been explained a little better. It was an 'interesting' experience, and I learnt a number of lessons that may help others. 1) My website is hosted in Germany (I believe) by 1&1 Internet. They offer quite a restricted interface compared with some others that I have seen and I think that there is a ridiculously long period in which pages are cached by the server. For no reason that I can think of, Tom's new code (replacing the 'fault' occasioned by not having a temporary upload file specified in php.ini with a 'warning') did not seem to work. Furthermore any changes that I made (e.g. trying to FORCE it to go to page1.php by commenting out just about everything else), didn't work either, so I suspect the output had been cached by the server (I flushed the browser cache). So I just went straight to page1.php. It might be a good idea to add a link to this at the bottom, rather than using the 'submit' button. In any event generating a fault or warning of this kind is probably not necessary. Because I wanted to do a clean installation in order to test it out, I had to re-import my existing LOs as .zip files and they all worked well, provided they were less than the ridiculously low level set by 1&1. But of that more anon. 2) The next problem I encountered was to do with database.php. 1&1 do not allow you to choose the name of your database and give it a thoroughly unmemorable and easily mistyped name and the same for the managing account. I tried to copy and paste them from the web page but, in doing so, inadvertently copied an extra space at the end of the database name. Although I went back via the browser and re-entered it correctly, the installer still had the pesky space and I had to get rid of it by editing database.php. Would it be possible to overwrite any existing database.php with a new one every time the data is re-submitted , because I'm sure other users could also make this mistake. 3) The final problem I had was uploading some LOs. I'm sure it was size related, but the generic failure message about only accepting zip files threw me for a few minutes. I would like to suggest that the upload script checks to make sure that the size of the object to be uploaded is less than 'max_file_uploadsize' (or whatever the php variable is called), before attempting the upload and warns the user that they will have to transfer the data manually if it is. Because of problem #3 I documented the process of FTP'ing data directly up to Toolkits as described in the attached document. I should point out that this could be quite an issue because many smaller organisations are either using the free JANET-hosted web servers, or other commercially hosted ones which have locked down php.ini files which they will not change, so some or all of these points may have relevance to a significant number of other users. Apologies for the length. Kindest regards, Thomas -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Manual Uploads to Xerte.docx Type: application/vnd.openxmlformats-officedocument.wordprocessingml.document Size: 661263 bytes Desc: not available URL: From xerte at pgogywebstuff.com Sat May 4 10:21:34 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Sat, 4 May 2013 10:21:34 +0100 Subject: [Xerte-dev] Re: Xerte Install In-Reply-To: <002701ce4842$89972af0$9cc580d0$@jiscadvance.ac.uk> References: <002701ce4842$89972af0$9cc580d0$@jiscadvance.ac.uk> Message-ID: 2 is simple enough to fix 3 is a problem - would want want the maximum size to be a php ini limit, or a XOT specific limit? Different sites on the same server? On 3 May 2013, at 22:09, "Thomas Rochford" wrote: > Good Evening Tom, > > First of all a Big Thank you for your work. As a small gesture of appreciation I have produced a document describing how to upload Learning Objects directly, via FTP, webDav etc. If you think it will be useful, please put it somewhere appropriate on the Community web site. It would be good if you (and others?) looked it over, in case I have made some mistakes or you feel things could have been explained a little better. > > It was an ?interesting? experience, and I learnt a number of lessons that may help others. > > 1) My website is hosted in Germany (I believe) by 1&1 Internet. They offer quite a restricted interface compared with some others that I have seen and I think that there is a ridiculously long period in which pages are cached by the server. For no reason that I can think of, Tom?s new code (replacing the ?fault? occasioned by not having a temporary upload file specified in php.ini with a ?warning?) did not seem to work. Furthermore any changes that I made (e.g. trying to FORCE it to go to page1.php by commenting out just about everything else), didn?t work either, so I suspect the output had been cached by the server (I flushed the browser cache). So I just went straight to page1.php. It might be a good idea to add a link to this at the bottom, rather than using the ?submit? button. > In any event generating a fault or warning of this kind is probably not necessary. Because I wanted to do a clean installation in order to test it out, I had to re-import my existing LOs as .zip files and they all worked well, provided they were less than the ridiculously low level set by 1&1. But of that more anon? > 2) The next problem I encountered was to do with database.php. 1&1 do not allow you to choose the name of your database and give it a thoroughly unmemorable and easily mistyped name and the same for the managing account. I tried to copy and paste them from the web page but, in doing so, inadvertently copied an extra space at the end of the database name. Although I went back via the browser and re-entered it correctly, the installer still had the pesky space and I had to get rid of it by editing database.php. Would it be possible to overwrite any existing database.php with a new one every time the data is re-submitted , because I?m sure other users could also make this mistake. > 3) The final problem I had was uploading some LOs. I?m sure it was size related, but the generic failure message about only accepting zip files threw me for a few minutes. I would like to suggest that the upload script checks to make sure that the size of the object to be uploaded is less than ?max_file_uploadsize? (or whatever the php variable is called), before attempting the upload and warns the user that they will have to transfer the data manually if it is. > > Because of problem #3 I documented the process of FTP?ing data directly up to Toolkits as described in the attached document. > > I should point out that this could be quite an issue because many smaller organisations are either using the free JANET-hosted web servers, or other commercially hosted ones which have locked down php.ini files which they will not change, so some or all of these points may have relevance to a significant number of other users. > > Apologies for the length. > > Kindest regards, Thomas > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Sat May 4 11:12:12 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Sat, 04 May 2013 12:12:12 +0200 Subject: [Xerte-dev] Re: Xerte Install In-Reply-To: References: <002701ce4842$89972af0$9cc580d0$@jiscadvance.ac.uk> Message-ID: <5184DEFC.1040406@tor.nl> I fixed issue 2 yesterday evening. Too many people ran into that one. Op 4-5-2013 11:21, Pat @ Pgogy schreef: > 2 is simple enough to fix > > 3 is a problem - would want want the maximum size to be a php ini > limit, or a XOT specific limit? Different sites on the same server? > > On 3 May 2013, at 22:09, "Thomas Rochford" > > wrote: > >> Good Evening Tom, >> >> First of all a Big Thank you for your work. As a small gesture of >> appreciation I have produced a document describing how to upload >> Learning Objects directly, via FTP, webDav etc. If you think it will >> be useful, please put it somewhere appropriate on the Community web >> site. It would be good if you (and others?) looked it over, in case I >> have made some mistakes or you feel things could have been explained >> a little better. >> >> It was an 'interesting' experience, and I learnt a number of lessons >> that may help others. >> >> 1)My website is hosted in Germany (I believe) by 1&1 Internet. They >> offer quite a restricted interface compared with some others that I >> have seen and I think that there is a ridiculously long period in >> which pages are cached by the server. For no reason that I can think >> of, Tom's new code (replacing the 'fault' occasioned by not having a >> temporary upload file specified in php.ini with a 'warning') did not >> seem to work. Furthermore any changes that I made (e.g. trying to >> FORCE it to go to page1.php by commenting out just about everything >> else), didn't work either, so I suspect the output had been cached by >> the server (I flushed the browser cache). So I just went straight to >> page1.php. It might be a good idea to add a link to this at the >> bottom, rather than using the 'submit' button. >> In any event generating a fault or warning of this kind is probably >> not necessary. Because I wanted to do a clean installation in order >> to test it out, I had to re-import my existing LOs as .zip files and >> they all worked well, provided they were less than the ridiculously >> low level set by 1&1. But of that more anon... >> >> 2)The next problem I encountered was to do with database.php. 1&1 do >> not allow you to choose the name of your database and give it a >> thoroughly unmemorable and easily mistyped name and the same for the >> managing account. I tried to copy and paste them from the web page >> but, in doing so, inadvertently copied an extra space at the end of >> the database name. Although I went back via the browser and >> re-entered it correctly, the installer still had the pesky space and >> I had to get rid of it by editing database.php. Would it be possible >> to overwrite any existing database.php with a new one every time the >> data is re-submitted , because I'm sure other users could also make >> this mistake. >> >> 3)The final problem I had was uploading some LOs. I'm sure it was >> size related, but the generic failure message about only accepting >> zip files threw me for a few minutes. I would like to suggest that >> the upload script checks to make sure that the size of the object to >> be uploaded is less than 'max_file_uploadsize' (or whatever the php >> variable is called), before attempting the upload and warns the user >> that they will have to transfer the data manually if it is. >> >> Because of problem #3 I documented the process of FTP'ing data >> directly up to Toolkits as described in the attached document. >> >> I should point out that this could be quite an issue because many >> smaller organisations are either using the free JANET-hosted web >> servers, or other commercially hosted ones which have locked down >> php.ini files which they will not change, so some or all of these >> points may have relevance to a significant number of other users. >> >> Apologies for the length. >> >> Kindest regards, Thomas >> >> >> >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.rochford at jiscadvance.ac.uk Sat May 4 11:36:07 2013 From: thomas.rochford at jiscadvance.ac.uk (Thomas Rochford) Date: Sat, 4 May 2013 11:36:07 +0100 Subject: [Xerte-dev] Re: Xerte Install In-Reply-To: <5184DEFC.1040406@tor.nl> References: <002701ce4842$89972af0$9cc580d0$@jiscadvance.ac.uk> <5184DEFC.1040406@tor.nl> Message-ID: <008201ce48b3$303b1f90$90b15eb0$@jiscadvance.ac.uk> Thanks, I'm glad I'm not the only one who can fat-finger this kind of data! I can't find anything in the basic.sql code, however, that CREATEs a 'user' table. Could this be a problem? I've also run into a problem exporting LOs now, possibly because the temporary directory isn't defined? Could be default to /tmp - that's supposed to have write privileges for all users, isn't it. I'm not sure what the equivalent is in Windows, however. Kindest regards, Thomas From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 04 May 2013 11:12 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Xerte Install I fixed issue 2 yesterday evening. Too many people ran into that one. Op 4-5-2013 11:21, Pat @ Pgogy schreef: 2 is simple enough to fix 3 is a problem - would want want the maximum size to be a php ini limit, or a XOT specific limit? Different sites on the same server? On 3 May 2013, at 22:09, "Thomas Rochford" > wrote: Good Evening Tom, First of all a Big Thank you for your work. As a small gesture of appreciation I have produced a document describing how to upload Learning Objects directly, via FTP, webDav etc. If you think it will be useful, please put it somewhere appropriate on the Community web site. It would be good if you (and others?) looked it over, in case I have made some mistakes or you feel things could have been explained a little better. It was an 'interesting' experience, and I learnt a number of lessons that may help others. 1) My website is hosted in Germany (I believe) by 1&1 Internet. They offer quite a restricted interface compared with some others that I have seen and I think that there is a ridiculously long period in which pages are cached by the server. For no reason that I can think of, Tom's new code (replacing the 'fault' occasioned by not having a temporary upload file specified in php.ini with a 'warning') did not seem to work. Furthermore any changes that I made (e.g. trying to FORCE it to go to page1.php by commenting out just about everything else), didn't work either, so I suspect the output had been cached by the server (I flushed the browser cache). So I just went straight to page1.php. It might be a good idea to add a link to this at the bottom, rather than using the 'submit' button. In any event generating a fault or warning of this kind is probably not necessary. Because I wanted to do a clean installation in order to test it out, I had to re-import my existing LOs as .zip files and they all worked well, provided they were less than the ridiculously low level set by 1&1. But of that more anon. 2) The next problem I encountered was to do with database.php. 1&1 do not allow you to choose the name of your database and give it a thoroughly unmemorable and easily mistyped name and the same for the managing account. I tried to copy and paste them from the web page but, in doing so, inadvertently copied an extra space at the end of the database name. Although I went back via the browser and re-entered it correctly, the installer still had the pesky space and I had to get rid of it by editing database.php. Would it be possible to overwrite any existing database.php with a new one every time the data is re-submitted , because I'm sure other users could also make this mistake. 3) The final problem I had was uploading some LOs. I'm sure it was size related, but the generic failure message about only accepting zip files threw me for a few minutes. I would like to suggest that the upload script checks to make sure that the size of the object to be uploaded is less than 'max_file_uploadsize' (or whatever the php variable is called), before attempting the upload and warns the user that they will have to transfer the data manually if it is. Because of problem #3 I documented the process of FTP'ing data directly up to Toolkits as described in the attached document. I should point out that this could be quite an issue because many smaller organisations are either using the free JANET-hosted web servers, or other commercially hosted ones which have locked down php.ini files which they will not change, so some or all of these points may have relevance to a significant number of other users. Apologies for the length. Kindest regards, Thomas _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Sat May 4 11:45:00 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Sat, 04 May 2013 12:45:00 +0200 Subject: [Xerte-dev] Re: Xerte Install In-Reply-To: <008201ce48b3$303b1f90$90b15eb0$@jiscadvance.ac.uk> References: <002701ce4842$89972af0$9cc580d0$@jiscadvance.ac.uk> <5184DEFC.1040406@tor.nl> <008201ce48b3$303b1f90$90b15eb0$@jiscadvance.ac.uk> Message-ID: <5184E6AC.4030903@tor.nl> The user database is only created if you choose Db as authentication method in auth_config. Then, you can also manage the users through the management.php 'users' page. You can also set $development to true temporarily on line 26 of config.php. That should give you an indication of what goes wrong when you export. Tom Op 4-5-2013 12:36, Thomas Rochford schreef: > > Thanks, I'm glad I'm not the only one who can fat-finger this kind of > data! > > I can't find anything in the basic.sql code, however, that CREATEs a > 'user' table. Could this be a problem? > > I've also run into a problem exporting LOs now, possibly because the > temporary directory isn't defined? Could be default to /tmp -- that's > supposed to have write privileges for all users, isn't it. I'm not > sure what the equivalent is in Windows, however. > > Kindest regards, Thomas > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 04 May 2013 11:12 AM > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Xerte Install > > I fixed issue 2 yesterday evening. Too many people ran into that one. > > Op 4-5-2013 11:21, Pat @ Pgogy schreef: > > 2 is simple enough to fix > > 3 is a problem - would want want the maximum size to be a php ini > limit, or a XOT specific limit? Different sites on the same server? > > > On 3 May 2013, at 22:09, "Thomas Rochford" > > wrote: > > Good Evening Tom, > > First of all a Big Thank you for your work. As a small gesture > of appreciation I have produced a document describing how to > upload Learning Objects directly, via FTP, webDav etc. If you > think it will be useful, please put it somewhere appropriate > on the Community web site. It would be good if you (and > others?) looked it over, in case I have made some mistakes or > you feel things could have been explained a little better. > > It was an 'interesting' experience, and I learnt a number of > lessons that may help others. > > 1)My website is hosted in Germany (I believe) by 1&1 > Internet. They offer quite a restricted interface compared > with some others that I have seen and I think that there is a > ridiculously long period in which pages are cached by the > server. For no reason that I can think of, Tom's new code > (replacing the 'fault' occasioned by not having a temporary > upload file specified in php.ini with a 'warning') did not > seem to work. Furthermore any changes that I made (e.g. trying > to FORCE it to go to page1.php by commenting out just about > everything else), didn't work either, so I suspect the output > had been cached by the server (I flushed the browser cache). > So I just went straight to page1.php. It might be a good idea > to add a link to this at the bottom, rather than using the > 'submit' button. > In any event generating a fault or warning of this kind is > probably not necessary. Because I wanted to do a clean > installation in order to test it out, I had to re-import my > existing LOs as .zip files and they all worked well, provided > they were less than the ridiculously low level set by 1&1. But > of that more anon... > > 2)The next problem I encountered was to do with database.php. > 1&1 do not allow you to choose the name of your database and > give it a thoroughly unmemorable and easily mistyped name and > the same for the managing account. I tried to copy and paste > them from the web page but, in doing so, inadvertently copied > an extra space at the end of the database name. Although I > went back via the browser and re-entered it correctly, the > installer still had the pesky space and I had to get rid of it > by editing database.php. Would it be possible to overwrite any > existing database.php with a new one every time the data is > re-submitted , because I'm sure other users could also make > this mistake. > > 3)The final problem I had was uploading some LOs. I'm sure it > was size related, but the generic failure message about only > accepting zip files threw me for a few minutes. I would like > to suggest that the upload script checks to make sure that the > size of the object to be uploaded is less than > 'max_file_uploadsize' (or whatever the php variable is > called), before attempting the upload and warns the user that > they will have to transfer the data manually if it is. > > Because of problem #3 I documented the process of FTP'ing data > directly up to Toolkits as described in the attached document. > > I should point out that this could be quite an issue because > many smaller organisations are either using the free > JANET-hosted web servers, or other commercially hosted ones > which have locked down php.ini files which they will not > change, so some or all of these points may have relevance to a > significant number of other users. > > Apologies for the length. > > Kindest regards, Thomas > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.rochford at jiscadvance.ac.uk Sat May 4 12:31:39 2013 From: thomas.rochford at jiscadvance.ac.uk (Thomas Rochford) Date: Sat, 4 May 2013 12:31:39 +0100 Subject: [Xerte-dev] Session IDs? Message-ID: <00b501ce48ba$f3968d10$dac3a730$@jiscadvance.ac.uk> Hi Again, I'm not sure where the session IDs are being set and how they are managed but - because my server is in Germany and I'm in the UK there may be a problem with the time on them. I've now found that I lose 'ownership' of my LOs periodically and I get errors about the Session Id not being set, but then they suddenly return without any intervention on my part. I've turned on '$development=true' and, interestingly, get the following when I try to login: Strict Standards: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /homepages/26/d187831202/htdocs/tcrochford/toolkits/website_code/php/user_li brary.php on line 209 Maybe this needs looking into? With Xerte increasing in popularity I can easily foresee people working on servers in different timezones. Kindest Regards, Thomas ========================================================== Thomas Rochford | e-Learning Advisor | Jisc RSC Eastern Tel: 01223 564749 | Mobile: 07500 669002 | Skype: cambridge.serendipity Email: thomas.rochford at jiscadvance.ac.uk | Web: http://www.jiscrsc.ac.uk/eastern Cambridge Serendipity, 35 Gough Way, Cambridge, CB3 9LN For the full range of RSC UK events, resources and blog, visit http://www.jiscrsc.ac.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Sat May 4 14:48:40 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Sat, 4 May 2013 14:48:40 +0100 Subject: [Xerte-dev] Re: Session IDs? In-Reply-To: <00b501ce48ba$f3968d10$dac3a730$@jiscadvance.ac.uk> References: <00b501ce48ba$f3968d10$dac3a730$@jiscadvance.ac.uk> Message-ID: It isn't the timezones. Sessions are set to die if not used, which is controlled by session entropy (php ini) If the value for this is high then your session may be very short lived. The ID is set by the server, and refreshing the page may bring it back. You don't loose ownership - you loose the session ID, and with that gone the server doesn't know who you are so it blocks you On 4 May 2013, at 12:31, "Thomas Rochford" wrote: > Hi Again, > > I?m not sure where the session IDs are being set and how they are managed but ? because my server is in Germany and I?m in the UK there may be a problem with the time on them. I?ve now found that I lose ?ownership? of my LOs periodically and I get errors about the Session Id not being set, but then they suddenly return without any intervention on my part. > > I?ve turned on ?$development=true? and, interestingly, get the following when I try to login: > > Strict Standards: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CEST/2.0/DST' instead in /homepages/26/d187831202/htdocs/tcrochford/toolkits/website_code/php/user_library.php on line 209 > > Maybe this needs looking into? With Xerte increasing in popularity I can easily foresee people working on servers in different timezones. > > Kindest Regards, > Thomas > ========================================================== > Thomas Rochford | e-Learning Advisor | Jisc RSC Eastern > Tel: 01223 564749 | Mobile: 07500 669002 | Skype: cambridge.serendipity > Email: thomas.rochford at jiscadvance.ac.uk | Web: http://www.jiscrsc.ac.uk/eastern > Cambridge Serendipity, 35 Gough Way, Cambridge, CB3 9LN > For the full range of RSC UK events, resources and blog, visit http://www.jiscrsc.ac.uk > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Mon May 6 08:39:01 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 06 May 2013 09:39:01 +0200 Subject: [Xerte-dev] Update packages Message-ID: <51875E15.2020104@tor.nl> As always, we have had several bug fixes after the release. To facilitate updating the already existing 2.0 installations, I added 'update packages' to the nightly package builds. These only contain the files since the release revision. In order to minimize confusion, they are placed at the bottom of the file list, and they have a different icon. Tom -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From xerte at pgogywebstuff.com Mon May 6 09:48:18 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Mon, 6 May 2013 09:48:18 +0100 Subject: [Xerte-dev] Re: Update packages In-Reply-To: <51875E15.2020104@tor.nl> References: <51875E15.2020104@tor.nl> Message-ID: Hello, Are we planning to tie this into management.php? Wondering how we'd cope with deleting files from an install? Pat On 6 May 2013, at 08:39, Tom Reijnders wrote: > As always, we have had several bug fixes after the release. > > To facilitate updating the already existing 2.0 installations, I added 'update packages' to the nightly package builds. These only contain the files since the release revision. > > In order to minimize confusion, they are placed at the bottom of the file list, and they have a different icon. > > Tom > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. From reijnders at tor.nl Mon May 6 19:30:09 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 06 May 2013 20:30:09 +0200 Subject: [Xerte-dev] Re: Update packages In-Reply-To: References: <51875E15.2020104@tor.nl> Message-ID: <5187F6B1.7050107@tor.nl> Tying this in with management.php may be a good idea... Deleting files is a different story though..... Then we should first introduce manifest files..... and be 'VERY CAREFULL' and 'VERY SURE'. Tom Op 6-5-2013 10:48, Pat @ Pgogy schreef: > Hello, > > Are we planning to tie this into management.php? Wondering how we'd cope with deleting files from an install? > > Pat > > On 6 May 2013, at 08:39, Tom Reijnders wrote: > >> As always, we have had several bug fixes after the release. >> >> To facilitate updating the already existing 2.0 installations, I added 'update packages' to the nightly package builds. These only contain the files since the release revision. >> >> In order to minimize confusion, they are placed at the bottom of the file list, and they have a different icon. >> >> Tom >> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an attachment >> may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with the >> University of Nottingham may be monitored as permitted by UK legislation. > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From d_b_burnett at hotmail.com Mon May 6 19:47:28 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Mon, 6 May 2013 14:47:28 -0400 Subject: [Xerte-dev] Re: Update packages In-Reply-To: <5187F6B1.7050107@tor.nl> References: <51875E15.2020104@tor.nl>, , <5187F6B1.7050107@tor.nl> Message-ID: But it will be so dull on the list. > Date: Mon, 6 May 2013 20:30:09 +0200 > From: reijnders at tor.nl > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Update packages > > Tying this in with management.php may be a good idea... > > Deleting files is a different story though..... Then we should first > introduce manifest files..... and be 'VERY CAREFULL' and 'VERY SURE'. > > Tom > > Op 6-5-2013 10:48, Pat @ Pgogy schreef: > > Hello, > > > > Are we planning to tie this into management.php? Wondering how we'd cope with deleting files from an install? > > > > Pat > > > > On 6 May 2013, at 08:39, Tom Reijnders wrote: > > > >> As always, we have had several bug fixes after the release. > >> > >> To facilitate updating the already existing 2.0 installations, I added 'update packages' to the nightly package builds. These only contain the files since the release revision. > >> > >> In order to minimize confusion, they are placed at the bottom of the file list, and they have a different icon. > >> > >> Tom > >> > >> -- > >> -- > >> > >> Tom Reijnders > >> TOR Informatica > >> Chopinlaan 27 > >> 5242HM Rosmalen > >> Tel: 073 5226191 > >> Fax: 073 5226196 > >> > >> > >> _______________________________________________ > >> Xerte-dev mailing list > >> Xerte-dev at lists.nottingham.ac.uk > >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > >> > >> This message has been checked for viruses but the contents of an attachment > >> may still contain software viruses which could damage your computer system: > >> you are advised to perform your own checks. Email communications with the > >> University of Nottingham may be monitored as permitted by UK legislation. > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > > > This message has been checked for viruses but the contents of an attachment > > may still contain software viruses which could damage your computer system: > > you are advised to perform your own checks. Email communications with the > > University of Nottingham may be monitored as permitted by UK legislation. > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Tue May 7 14:15:44 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 7 May 2013 14:15:44 +0100 Subject: [Xerte-dev] Community Web Site: Support Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C5189FFF4@EXCHANGE1.ad.nottingham.ac.uk> We're getting support calls re: the community website. Someone can't create an account, and isn't sure where to turn for help. Can we add some sort of support email address please, and can I forward someone the email I've just got? Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Tue May 7 14:16:35 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 7 May 2013 14:16:35 +0100 Subject: [Xerte-dev] Re: Community Web Site: Support In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C5189FFF4@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C5189FFF4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C5189FFF7@EXCHANGE1.ad.nottingham.ac.uk> (the support email could be the Xerte list?) From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 07 May 2013 14:16 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Community Web Site: Support We're getting support calls re: the community website. Someone can't create an account, and isn't sure where to turn for help. Can we add some sort of support email address please, and can I forward someone the email I've just got? Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Tue May 7 14:41:28 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Tue, 7 May 2013 09:41:28 -0400 Subject: [Xerte-dev] Re: Community Web Site: Support In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C5189FFF7@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C5189FFF4@EXCHANGE1.ad.nottingham.ac.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C5189FFF7@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: As long as folks remember to reply to both the list and the sender. From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Tue, 7 May 2013 14:16:35 +0100 Subject: [Xerte-dev] Re: Community Web Site: Support (the support email could be the Xerte list?) From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 07 May 2013 14:16 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Community Web Site: Support We?re getting support calls re: the community website. Someone can?t create an account, and isn?t sure where to turn for help. Can we add some sort of support email address please, and can I forward someone the email I?ve just got? Thanks, _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Tue May 7 15:40:53 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 7 May 2013 15:40:53 +0100 Subject: [Xerte-dev] Re: Community Web Site: Support In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C5189FFF4@EXCHANGE1.ad.nottingham.ac.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C5189FFF7@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A00A7@EXCHANGE1.ad.nottingham.ac.uk> We can just say 'join the list and ask there'? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 07 May 2013 14:41 To: For Xerte technical developers Subject: [Xerte-dev] Re: Community Web Site: Support As long as folks remember to reply to both the list and the sender. ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Tue, 7 May 2013 14:16:35 +0100 Subject: [Xerte-dev] Re: Community Web Site: Support (the support email could be the Xerte list?) From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 07 May 2013 14:16 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Community Web Site: Support We're getting support calls re: the community website. Someone can't create an account, and isn't sure where to turn for help. Can we add some sort of support email address please, and can I forward someone the email I've just got? Thanks, _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Tue May 7 16:54:08 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 7 May 2013 16:54:08 +0100 Subject: [Xerte-dev] Tidying up existing tempaltes after upgrade Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0143@EXCHANGE1.ad.nottingham.ac.uk> Upgrade appears to have gone well. A question for Pat I think: we want to disable some of the older templates - but they are not listed in originaltempaltesdetails. They are well old - GEN and Numerical Calcs: where would they be listed so we can turn them off? Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Tue May 7 17:12:10 2013 From: xerte at pgogywebstuff.com (xerte at pgogywebstuff.com) Date: Tue, 07 May 2013 17:12:10 +0100 Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0143@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <82c397b6702f5adabeb041e507dd5c40736ffa82@webmail.hosting.heartinternet.co.uk> Turn them off as in? Stop them appearing in the list? Pgogy Webstuff http://www.pgogywebstuff.comMakers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To:"For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" Cc: Sent:Tue, 7 May 2013 16:54:08 +0100 Subject:[Xerte-dev] Tidying up existing tempaltes after upgrade Upgrade appears to have gone well. ? A question for Pat I think: we want to disable some of the older templates ? but they are not listed in originaltempaltesdetails. They are well old ? GEN and Numerical Calcs: where would they be listed so we can turn them off? ? Thanks, -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Tue May 7 20:32:36 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 7 May 2013 20:32:36 +0100 Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade In-Reply-To: <82c397b6702f5adabeb041e507dd5c40736ffa82@webmail.hosting.heartinternet.co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0143@EXCHANGE1.ad.nottingham.ac.uk>, <82c397b6702f5adabeb041e507dd5c40736ffa82@webmail.hosting.heartinternet.co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51180B3D@EXCHANGE1.ad.nottingham.ac.uk> yes ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] Sent: 07 May 2013 17:12 To: For Xerte technical developers Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade Turn them off as in? Stop them appearing in the list? Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To: "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" Cc: Sent: Tue, 7 May 2013 16:54:08 +0100 Subject: [Xerte-dev] Tidying up existing tempaltes after upgrade Upgrade appears to have gone well. A question for Pat I think: we want to disable some of the older templates ? but they are not listed in originaltempaltesdetails. They are well old ? GEN and Numerical Calcs: where would they be listed so we can turn them off? Thanks, From xerte at pgogywebstuff.com Tue May 7 20:50:10 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Tue, 7 May 2013 20:50:10 +0100 Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51180B3D@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0143@EXCHANGE1.ad.nottingham.ac.uk> <82c397b6702f5adabeb041e507dd5c40736ffa82@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51180B3D@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <0F0E402E-0A37-4138-AFF2-A3761E4162B1@pgogywebstuff.com> If they appear on the right hand side then they are in the original templatedetails table On 7 May 2013, at 20:32, Julian Tenney wrote: > yes > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] > Sent: 07 May 2013 17:12 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade > > Turn them off as in? Stop them appearing in the list? > > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > To: > "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > Cc: > > Sent: > Tue, 7 May 2013 16:54:08 +0100 > Subject: > [Xerte-dev] Tidying up existing tempaltes after upgrade > > > Upgrade appears to have gone well. > > > A question for Pat I think: we want to disable some of the older templates ? but they are not listed in originaltempaltesdetails. They are well old ? GEN and Numerical Calcs: where would they be listed so we can turn them off? > > > Thanks, > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. From Julian.Tenney at nottingham.ac.uk Wed May 8 09:55:06 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 8 May 2013 09:55:06 +0100 Subject: [Xerte-dev] IE10 Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0284@EXCHANGE1.ad.nottingham.ac.uk> How would I go about modifying the width of the workspace so the buttons don't wrap in IE10? [cid:image001.png at 01CE4BD2.1E959D20] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 141147 bytes Desc: image001.png URL: From J.J.Smith at gcu.ac.uk Wed May 8 10:03:36 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 8 May 2013 10:03:36 +0100 Subject: [Xerte-dev] Re: IE10 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0284@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0284@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: website_code/ styles/ frontpage.css line 316ish onwards... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Wednesday, May 08, 2013 9:55 AM To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] IE10 How would I go about modifying the width of the workspace so the buttons don't wrap in IE10? [cid:image001.png at 01CE4BD3.4E23E140] Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 141147 bytes Desc: image001.png URL: From Julian.Tenney at nottingham.ac.uk Wed May 8 10:08:04 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 8 May 2013 10:08:04 +0100 Subject: [Xerte-dev] Re: IE10 In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0284@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0299@EXCHANGE1.ad.nottingham.ac.uk> cheers From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 08 May 2013 10:04 To: For Xerte technical developers Subject: [Xerte-dev] Re: IE10 website_code/ styles/ frontpage.css line 316ish onwards... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Wednesday, May 08, 2013 9:55 AM To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] IE10 How would I go about modifying the width of the workspace so the buttons don't wrap in IE10? [cid:image001.png at 01CE4BD3.EE33ADF0] Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 141147 bytes Desc: image001.png URL: From ronm at mitchellmedia.co.uk Wed May 8 10:12:35 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 8 May 2013 10:12:35 +0100 Subject: [Xerte-dev] Re: IE10 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0284@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0284@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <021b01ce4bcc$2f10ba00$8d322e00$@co.uk> Turn off compatibility mode? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 May 2013 09:55 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] IE10 How would I go about modifying the width of the workspace so the buttons don't wrap in IE10? -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 141147 bytes Desc: not available URL: From ronm at mitchellmedia.co.uk Wed May 8 10:19:36 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 8 May 2013 10:19:36 +0100 Subject: [Xerte-dev] Re: IE10 In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0299@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0284@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0299@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <023f01ce4bcd$294cf010$7be6d030$@co.uk> Don't mess with that - turn off compatibility mode! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 May 2013 10:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: IE10 cheers From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 08 May 2013 10:04 To: For Xerte technical developers Subject: [Xerte-dev] Re: IE10 website_code/ styles/ frontpage.css line 316ish onwards. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Wednesday, May 08, 2013 9:55 AM To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] IE10 How would I go about modifying the width of the workspace so the buttons don't wrap in IE10? Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 141147 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Wed May 8 10:23:19 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 8 May 2013 10:23:19 +0100 Subject: [Xerte-dev] Re: IE10 In-Reply-To: <023f01ce4bcd$294cf010$7be6d030$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0284@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0299@EXCHANGE1.ad.nottingham.ac.uk> <023f01ce4bcd$294cf010$7be6d030$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A02BF@EXCHANGE1.ad.nottingham.ac.uk> That does it, cheers. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 08 May 2013 10:20 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: IE10 Don't mess with that - turn off compatibility mode! From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 08 May 2013 10:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: IE10 cheers From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 08 May 2013 10:04 To: For Xerte technical developers Subject: [Xerte-dev] Re: IE10 website_code/ styles/ frontpage.css line 316ish onwards... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Wednesday, May 08, 2013 9:55 AM To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] IE10 How would I go about modifying the width of the workspace so the buttons don't wrap in IE10? [cid:image001.png at 01CE4BD6.0FBF6890] Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 141147 bytes Desc: image001.png URL: From Julian.Tenney at nottingham.ac.uk Wed May 8 10:28:20 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 8 May 2013 10:28:20 +0100 Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade In-Reply-To: <0F0E402E-0A37-4138-AFF2-A3761E4162B1@pgogywebstuff.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0143@EXCHANGE1.ad.nottingham.ac.uk> <82c397b6702f5adabeb041e507dd5c40736ffa82@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51180B3D@EXCHANGE1.ad.nottingham.ac.uk> <0F0E402E-0A37-4138-AFF2-A3761E4162B1@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A02CB@EXCHANGE1.ad.nottingham.ac.uk> Nope, can't see any mention of them in there. We must be missing something. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 07 May 2013 20:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade If they appear on the right hand side then they are in the original templatedetails table On 7 May 2013, at 20:32, Julian Tenney wrote: > yes > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of > xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] > Sent: 07 May 2013 17:12 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade > > Turn them off as in? Stop them appearing in the list? > > > Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a > fair to middling quality > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > To: > "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > > Cc: > > Sent: > Tue, 7 May 2013 16:54:08 +0100 > Subject: > [Xerte-dev] Tidying up existing tempaltes after upgrade > > > Upgrade appears to have gone well. > > > A question for Pat I think: we want to disable some of the older templates ? but they are not listed in originaltempaltesdetails. They are well old ? GEN and Numerical Calcs: where would they be listed so we can turn them off? > > > Thanks, > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Wed May 8 11:19:16 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 8 May 2013 11:19:16 +0100 Subject: [Xerte-dev] FW: Mick Norman (@mickelous) replied to one of your Tweets! In-Reply-To: <525d9d3a-3728-410e-b257-a44fc680ae72@UIWEXHUB01.ad.nottingham.ac.uk> References: <525d9d3a-3728-410e-b257-a44fc680ae72@UIWEXHUB01.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A033E@EXCHANGE1.ad.nottingham.ac.uk> More users struggling with the community site account creation? From: Mick Norman (Twitter) [mailto:n-ppmweg=rkznvy.abggvatunz.np.hx-a48af at postmaster.twitter.com] Sent: 08 May 2013 11:18 To: Julian Tenney Subject: Mick Norman (@mickelous) replied to one of your Tweets! @xerte_project indication of what happens after initial registration (goes to blank pages). Then no error notices on failed login :( - @mickelous [https://ea.twimg.com/email/t1/ribbon.png] Xerte Project, Your Tweet got a reply! [https://si0.twimg.com/profile_images/224601955/twitter_reasonably_small.jpg] [https://si0.twimg.com/profile_images/224601955/twitter_reasonably_small.jpg] Xerte Project @xerte_project 08 May @mickelous what's the problem? ________________________________ [https://si0.twimg.com/profile_images/1592657985/mick_owl_reasonably_small.png] Mick Norman @mickelous @xerte_project indication of what happens after initial registration (goes to blank pages). Then no error notices on failed login :( 10:17 AM - 08 May 13 ________________________________ [https://ea.twimg.com/email/t1/reply_arrow.png] Reply to @mickelous [https://ea.twimg.com/email/t1/actions/icon-blue-retweet.png]Retweet [https://ea.twimg.com/email/t1/actions/icon-blue-favourite.png]Favorite If you believe Mick Norman is engaging in abusive behavior on Twitter, you may report Mick Norman for spam. Forgot your Twitter password? Get instructions on how to reset it. You can also unsubscribe from these emails or change your notification settings. Need help? If you received this message in error and did not sign up for Twitter, click not my account. Twitter, Inc. 1355 Market St., Suite 900 San Francisco, CA 94103 -------------- next part -------------- An HTML attachment was scrubbed... URL: From i.donkervoort at 12change.eu Wed May 8 11:36:49 2013 From: i.donkervoort at 12change.eu (I. Donkervoort 12Change) Date: Wed, 08 May 2013 12:36:49 +0200 Subject: [Xerte-dev] Re: FW: Mick Norman (@mickelous) replied to one of your Tweets! In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A033E@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A033E@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <38c8f7ac-7ef1-4408-b7c4-86eb2936685d@email.android.com> Tom is looking into this. It's a technical problem because the forum and the log in box communicate badly. Solve this as soon as possible. A lot of people manage to log in properly by the way :) 83 was the last time I looked. Julian Tenney schreef: >More users struggling with the community site account creation? > >From: Mick Norman (Twitter) >[mailto:n-ppmweg=rkznvy.abggvatunz.np.hx-a48af at postmaster.twitter.com] >Sent: 08 May 2013 11:18 >To: Julian Tenney >Subject: Mick Norman (@mickelous) replied to one of your Tweets! > >@xerte_project indication of what happens after initial registration >(goes to blank pages). Then no error notices on failed login :( - >@mickelous > > >[https://ea.twimg.com/email/t1/ribbon.png] > > > > > >Xerte Project, > >Your Tweet got a reply! > > > > >[https://si0.twimg.com/profile_images/224601955/twitter_reasonably_small.jpg] > > > > > > > > > > > >[https://si0.twimg.com/profile_images/224601955/twitter_reasonably_small.jpg] > >Xerte >Project >@xerte_project > >08 >May > > >@mickelous >what's the problem? > > > >________________________________ > > >[https://si0.twimg.com/profile_images/1592657985/mick_owl_reasonably_small.png] > >Mick >Norman > >@mickelous > > > >@xerte_project >indication of what happens after initial registration (goes to blank >pages). Then no error notices on failed login :( > > >10:17 AM - 08 May >13 > > > >________________________________ > >[https://ea.twimg.com/email/t1/reply_arrow.png] > >Reply to @mickelous > > > > >[https://ea.twimg.com/email/t1/actions/icon-blue-retweet.png]Retweet > >[https://ea.twimg.com/email/t1/actions/icon-blue-favourite.png]Favorite > > > > > > > > >If you believe Mick Norman is engaging in abusive behavior on Twitter, >you may report Mick >Norman >for spam. Forgot your Twitter password? Get instructions on how to >reset >it. >You can also unsubscribe from these >emails >or change your notification >settings. >Need >help? >If you received this message in error and did not sign up for Twitter, >click not my >account. >Twitter, Inc. 1355 Market St., Suite 900 San Francisco, CA 94103 > > > > > > > >------------------------------------------------------------------------ > >_______________________________________________ >Xerte-dev mailing list >Xerte-dev at lists.nottingham.ac.uk >http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- Verzonden van mijn Android telefoon met K-9 Mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Wed May 8 13:13:10 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 8 May 2013 13:13:10 +0100 Subject: [Xerte-dev] HTML Editor for comment Message-ID: <7ppu2xopk8efwg9uuwvuy9b5.1368013157579@email.android.com> Hi all, There's been much talk lately about treeviews etc for the anticipated html editor and I thought that I would put something together to view to get the discussions going further. Its not running directly from a xot install but is parsing a genuine LO xml file created with every page type and with subnodes. http://xerte.smitcher.com/editor/ Any comments? Its still very much a WIP but at least demonstrates that jsTree can cope. The question is does it resemble where we want to go? Ron once mentioned possibly having plugins or some kind of visual data on the side panel. These panels are collabsible and resizable and can have multiple headers/footers. The bottom one shows a different type that can be shown and then collapsed. I'm also interested in how the layout behaves in different browsers/os/devices. Regards, John Sent from Samsung tablet Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From ronm at mitchellmedia.co.uk Wed May 8 13:35:23 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 8 May 2013 13:35:23 +0100 Subject: [Xerte-dev] Re: HTML Editor for comment In-Reply-To: <7ppu2xopk8efwg9uuwvuy9b5.1368013157579@email.android.com> References: <7ppu2xopk8efwg9uuwvuy9b5.1368013157579@email.android.com> Message-ID: <02b101ce4be8$89c49220$9d4db660$@co.uk> Looks good John! not only consumption on iPad but creation on iPad too - all seems to display fine on my iPad. Where's the save and play buttons? ;-) HTH Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 08 May 2013 13:13 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] HTML Editor for comment Hi all, There's been much talk lately about treeviews etc for the anticipated html editor and I thought that I would put something together to view to get the discussions going further. Its not running directly from a xot install but is parsing a genuine LO xml file created with every page type and with subnodes. http://xerte.smitcher.com/editor/ Any comments? Its still very much a WIP but at least demonstrates that jsTree can cope. The question is does it resemble where we want to go? Ron once mentioned possibly having plugins or some kind of visual data on the side panel. These panels are collabsible and resizable and can have multiple headers/footers. The bottom one shows a different type that can be shown and then collapsed. I'm also interested in how the layout behaves in different browsers/os/devices. Regards, John Sent from Samsung tablet Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From xerte at pgogywebstuff.com Wed May 8 14:28:13 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Wed, 8 May 2013 14:28:13 +0100 Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A02CB@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0143@EXCHANGE1.ad.nottingham.ac.uk> <82c397b6702f5adabeb041e507dd5c40736ffa82@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51180B3D@EXCHANGE1.ad.nottingham.ac.uk> <0F0E402E-0A37-4138-AFF2-A3761E4162B1@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C518A02CB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Set them as inactive in management.php? On 8 May 2013, at 10:28, Julian Tenney wrote: > Nope, can't see any mention of them in there. We must be missing something. > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 07 May 2013 20:50 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade > > If they appear on the right hand side then they are in the original templatedetails table > > On 7 May 2013, at 20:32, Julian Tenney wrote: > >> yes >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >> xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] >> Sent: 07 May 2013 17:12 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade >> >> Turn them off as in? Stop them appearing in the list? >> >> >> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a >> fair to middling quality >> >> >> ----- Original Message ----- >> From: >> "For Xerte technical developers" >> >> To: >> "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" >> >> Cc: >> >> Sent: >> Tue, 7 May 2013 16:54:08 +0100 >> Subject: >> [Xerte-dev] Tidying up existing tempaltes after upgrade >> >> >> Upgrade appears to have gone well. >> >> >> A question for Pat I think: we want to disable some of the older templates ? but they are not listed in originaltempaltesdetails. They are well old ? GEN and Numerical Calcs: where would they be listed so we can turn them off? >> >> >> Thanks, >> >> >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Wed May 8 14:33:18 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 8 May 2013 14:33:18 +0100 Subject: [Xerte-dev] Re: HTML Editor for comment Message-ID: Thanks Ron, I've been monitoring the iPad/Android situation while developing it but with all the different browsers/os versions it gets a bit difficult to be sure that changes that fix one thing will work in the others. I think there are still a few css tweaks needed... Apologies for the lack or save and play functionality, I'll stay up tonight ;-) I think we need new ideas though and to collate/rate these by desirability. So far I'm duplicating an aged flash interface and we can do things in lots of different ways using html5/jQuery... Please share the url with any colleagues/contacts who might be able to input to this. I await Julian's comments though as i'm sure he's thought through most of what could be done (and how to do it) before. John Sent from Samsung tablet -------- Original message -------- From: Ron Mitchell Date: 08/05/2013 12:35 (GMT+00:00) To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: HTML Editor for comment Looks good John! not only consumption on iPad but creation on iPad too - all seems to display fine on my iPad. Where's the save and play buttons? ;-) HTH Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 08 May 2013 13:13 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] HTML Editor for comment Hi all, There's been much talk lately about treeviews etc for the anticipated html editor and I thought that I would put something together to view to get the discussions going further. Its not running directly from a xot install but is parsing a genuine LO xml file created with every page type and with subnodes. http://xerte.smitcher.com/editor/ Any comments? Its still very much a WIP but at least demonstrates that jsTree can cope. The question is does it resemble where we want to go? Ron once mentioned possibly having plugins or some kind of visual data on the side panel. These panels are collabsible and resizable and can have multiple headers/footers. The bottom one shows a different type that can be shown and then collapsed. I'm also interested in how the layout behaves in different browsers/os/devices. Regards, John Sent from Samsung tablet Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From J.J.Smith at gcu.ac.uk Wed May 8 15:19:55 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 8 May 2013 15:19:55 +0100 Subject: [Xerte-dev] Re: Xerte Installation on a Centos - Blank Database erties In-Reply-To: <778588A4E1A108498F0BC0ADD0CF15902A3286FCAB@earth.bedcoll.local> References: <778588A4E1A108498F0BC0ADD0CF15902A3286FCAB@earth.bedcoll.local> Message-ID: Hi Mark, I just did an install today as well and the same happened to me so something is obviously broken in the package... I had to go into the newly created database.php and manually enter the correct values to connect to the database. Then refreshed the browser on step 4 and clicked ok to resubmit the posted data and this time it went through fine... Hope that helps in the meantime until we fix... So the steps are (if you are no longer on page 4) Delete database.php Go through the process until step 4 bombs Manually enter the host/db_Name/User/password into the newly created database.php file Go back to your browser and refresh page 4 Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Chaney, Mark Sent: Wednesday, May 08, 2013 3:08 PM To: Xerte discussion list Subject: [Xerte] Xerte Installation on a Centos - Blank Database erties Hi all, I have done a test installation of xerte on a test server and have some strange behaviour. On the last page of the installation (Page 4) the database name wasn?t inserted into the database php file. Thus it was giving me an error of database not selected. Attempting to get into the management side of the system I found I couldn?t access it. Upon inspection there is no data what so ever in the sitedetails database table other than (what I assume is an auto incremental number) the id of 1. There is no site_url, apache, admin_username, admin_password .... etc etc. It looks like somewhere a section of a script failed to run without throwing an error? To try and pre-empt some questions: Centos 6 server. Install ran ok up untill page4 Same server as I have 7 fully working moodle installs. Apache and php are ok. SE linux off. Mysql installed and working. Xerte database accessible and can be queries from workbench on external machine and on server itself. File/Folder permissions set according to docs/instructions. Any help would be much appreciated. Thanks Mark Chaney mchaney at bedford.ac.uk Learning Technologies Adviser Bedford College Cauldwell Street, Bedford, MK42 9AH _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Wed May 8 15:29:23 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 8 May 2013 15:29:23 +0100 Subject: [Xerte-dev] Re: FW: Mick Norman (@mickelous) replied to one of your Tweets! In-Reply-To: <38c8f7ac-7ef1-4408-b7c4-86eb2936685d@email.android.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A033E@EXCHANGE1.ad.nottingham.ac.uk> <38c8f7ac-7ef1-4408-b7c4-86eb2936685d@email.android.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A055D@EXCHANGE1.ad.nottingham.ac.uk> Thanks, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of I. Donkervoort 12Change Sent: 08 May 2013 11:37 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: Mick Norman (@mickelous) replied to one of your Tweets! Tom is looking into this. It's a technical problem because the forum and the log in box communicate badly. Solve this as soon as possible. A lot of people manage to log in properly by the way :) 83 was the last time I looked. Julian Tenney > schreef: More users struggling with the community site account creation? From: Mick Norman (Twitter) [mailto:n-ppmweg=rkznvy.abggvatunz.np.hx-a48af at postmaster.twitter.com] Sent: 08 May 2013 11:18 To: Julian Tenney Subject: Mick Norman (@mickelous) replied to one of your Tweets! @xerte_project indication of what happens after initial registration (goes to blank pages). Then no error notices on failed login :( - @mickelous [https://ea.twimg.com/email/t1/ribbon.png] Xerte Project, Your Tweet got a reply! [https://si0.twimg.com/profile_images/224601955/twitter_reasonably_small.jpg] [https://si0.twimg.com/profile_images/224601955/twitter_reasonably_small.jpg] Xerte Project @xerte_project 08 May @mickelous what's the problem? ________________________________ [https://si0.twimg.com/profile_images/1592657985/mick_owl_reasonably_small.png] Mick Norman @mickelous @xerte_project indication of what happens after initial registration (goes to blank pages). Then no error notices on failed login :( 10:17 AM - 08 May 13 ________________________________ [https://ea.twimg.com/email/t1/reply_arrow.png] Reply to @mickelous [https://ea.twimg.com/email/t1/actions/icon-blue-retweet.png]Retweet [https://ea.twimg.com/email/t1/actions/icon-blue-favourite.png]Favorite If you believe Mick Norman is engaging in abusive behavior on Twitter, you may report Mick Norman for spam. Forgot your Twitter password? Get instructions on how to reset it. You can also unsubscribe from these emails or change your notification settings. Need help? If you received this message in error and did not sign up for Twitter, click not my account. Twitter, Inc. 1355 Market St., Suite 900 San Francisco, CA 94103 < pre style="white-space: pre-wrap; word-wrap:break-word; font-family: sans-serif; margin-top: 0px"> ________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- Verzonden van mijn Android telefoon met K-9 Mail. -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Wed May 8 15:31:54 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 8 May 2013 15:31:54 +0100 Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0143@EXCHANGE1.ad.nottingham.ac.uk> <82c397b6702f5adabeb041e507dd5c40736ffa82@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51180B3D@EXCHANGE1.ad.nottingham.ac.uk> <0F0E402E-0A37-4138-AFF2-A3761E4162B1@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C518A02CB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0564@EXCHANGE1.ad.nottingham.ac.uk> Cheers, got that, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 May 2013 14:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade Set them as inactive in management.php? On 8 May 2013, at 10:28, Julian Tenney wrote: > Nope, can't see any mention of them in there. We must be missing something. > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ > Pgogy > Sent: 07 May 2013 20:50 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade > > If they appear on the right hand side then they are in the original > templatedetails table > > On 7 May 2013, at 20:32, Julian Tenney wrote: > >> yes >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >> xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] >> Sent: 07 May 2013 17:12 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade >> >> Turn them off as in? Stop them appearing in the list? >> >> >> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a >> fair to middling quality >> >> >> ----- Original Message ----- >> From: >> "For Xerte technical developers" >> >> To: >> "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" >> >> Cc: >> >> Sent: >> Tue, 7 May 2013 16:54:08 +0100 >> Subject: >> [Xerte-dev] Tidying up existing tempaltes after upgrade >> >> >> Upgrade appears to have gone well. >> >> >> A question for Pat I think: we want to disable some of the older templates ? but they are not listed in originaltempaltesdetails. They are well old ? GEN and Numerical Calcs: where would they be listed so we can turn them off? >> >> >> Thanks, >> >> >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Wed May 8 15:33:44 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 8 May 2013 15:33:44 +0100 Subject: [Xerte-dev] Re: Xerte Installation on a Centos - Blank Database erties In-Reply-To: <778588A4E1A108498F0BC0ADD0CF15902A3286FCAB@earth.bedcoll.local> References: <778588A4E1A108498F0BC0ADD0CF15902A3286FCAB@earth.bedcoll.local> Message-ID: Also, might be related... Having just installed a new setup, changed auth to Db and logged into management.php and users. I get this error saying that I don?t have write permissions? [cid:image001.png at 01CE4C01.6CD72380] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Chaney, Mark Sent: Wednesday, May 08, 2013 3:08 PM To: Xerte discussion list Subject: [Xerte] Xerte Installation on a Centos - Blank Database erties Hi all, I have done a test installation of xerte on a test server and have some strange behaviour. On the last page of the installation (Page 4) the database name wasn?t inserted into the database php file. Thus it was giving me an error of database not selected. Attempting to get into the management side of the system I found I couldn?t access it. Upon inspection there is no data what so ever in the sitedetails database table other than (what I assume is an auto incremental number) the id of 1. There is no site_url, apache, admin_username, admin_password .... etc etc. It looks like somewhere a section of a script failed to run without throwing an error? To try and pre-empt some questions: Centos 6 server. Install ran ok up untill page4 Same server as I have 7 fully working moodle installs. Apache and php are ok. SE linux off. Mysql installed and working. Xerte database accessible and can be queries from workbench on external machine and on server itself. File/Folder permissions set according to docs/instructions. Any help would be much appreciated. Thanks Mark Chaney mchaney at bedford.ac.uk Learning Technologies Adviser Bedford College Cauldwell Street, Bedford, MK42 9AH _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 32069 bytes Desc: image001.png URL: From Julian.Tenney at nottingham.ac.uk Wed May 8 15:47:55 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 8 May 2013 15:47:55 +0100 Subject: [Xerte-dev] Re: HTML Editor for comment In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A058B@EXCHANGE1.ad.nottingham.ac.uk> Good stuff. > I await Julian's comments though as I'm sure he's thought through most of what could be done (and how to do it) before. Only conceptually. What I do know is that I found developing apps like this to be a lot better when you had some proper OO stuff going on, like in Flex: the Xerte 3 editor is very similar - show a tree, click a node, render the form, etc, but the Xerte 3 code was w-a-y easier to cope with than the desktop Xerte code was because you could easily extend components and could do inheritance etc, so I would encourage some sort of framework to underlie the architecture before you end up with spaghetti. I've not tackled a bigger application in JavaScript using those approaches: although the original XMLEngine was OO, with inheritance done the fake way with the prototype object. If you did that, and built components that used composition for the components you can't easily sub-class, that's where I'd start, conceptually, as I say: there are some design patterns that would be relevant. If it were flex I would think of it as Tree for the tree, or some sort of component that has the tree you're using composition; Form (which holds the editable components) EditableComponent (abstract) for capturing the form inputs The actual form widgets (sub classes of EditableComponent) TextInput, TextArea, Media, ComboBox, etc. These all have things in common (getting / setting values to the tree node, for example) Something like that. The tree is pretty central, I think I started out playing with that and built around it. The question might be about whether we want to replicate the existing functionality, or whether there are things to address that are currently difficult, or not covered by the xwd. For instance, being able to mess with the insert menu, depending on the level of the selected node? Probably other stuff like that. Global properties cropped up recently. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 08 May 2013 14:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: HTML Editor for comment Thanks Ron, I've been monitoring the iPad/Android situation while developing it but with all the different browsers/os versions it gets a bit difficult to be sure that changes that fix one thing will work in the others. I think there are still a few css tweaks needed... Apologies for the lack or save and play functionality, I'll stay up tonight ;-) I think we need new ideas though and to collate/rate these by desirability. So far I'm duplicating an aged flash interface and we can do things in lots of different ways using html5/jQuery... Please share the url with any colleagues/contacts who might be able to input to this. I await Julian's comments though as i'm sure he's thought through most of what could be done (and how to do it) before. John Sent from Samsung tablet -------- Original message -------- From: Ron Mitchell Date: 08/05/2013 12:35 (GMT+00:00) To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: HTML Editor for comment Looks good John! not only consumption on iPad but creation on iPad too - all seems to display fine on my iPad. Where's the save and play buttons? ;-) HTH Cheers Ron -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 08 May 2013 13:13 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] HTML Editor for comment Hi all, There's been much talk lately about treeviews etc for the anticipated html editor and I thought that I would put something together to view to get the discussions going further. Its not running directly from a xot install but is parsing a genuine LO xml file created with every page type and with subnodes. http://xerte.smitcher.com/editor/ Any comments? Its still very much a WIP but at least demonstrates that jsTree can cope. The question is does it resemble where we want to go? Ron once mentioned possibly having plugins or some kind of visual data on the side panel. These panels are collabsible and resizable and can have multiple headers/footers. The bottom one shows a different type that can be shown and then collapsed. I'm also interested in how the layout behaves in different browsers/os/devices. Regards, John Sent from Samsung tablet Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From xerte at pgogywebstuff.com Wed May 8 15:46:43 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Wed, 8 May 2013 15:46:43 +0100 Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0564@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0143@EXCHANGE1.ad.nottingham.ac.uk> <82c397b6702f5adabeb041e507dd5c40736ffa82@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51180B3D@EXCHANGE1.ad.nottingham.ac.uk> <0F0E402E-0A37-4138-AFF2-A3761E4162B1@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C518A02CB@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0564@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <89428D27-1699-4C12-8D7E-32F5E939FC8F@pgogywebstuff.com> Did that work? On 8 May 2013, at 15:31, Julian Tenney wrote: > Cheers, got that, > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 08 May 2013 14:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade > > Set them as inactive in management.php? > > On 8 May 2013, at 10:28, Julian Tenney wrote: > >> Nope, can't see any mention of them in there. We must be missing something. >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >> Pgogy >> Sent: 07 May 2013 20:50 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade >> >> If they appear on the right hand side then they are in the original >> templatedetails table >> >> On 7 May 2013, at 20:32, Julian Tenney wrote: >> >>> yes >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>> xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] >>> Sent: 07 May 2013 17:12 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade >>> >>> Turn them off as in? Stop them appearing in the list? >>> >>> >>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a >>> fair to middling quality >>> >>> >>> ----- Original Message ----- >>> From: >>> "For Xerte technical developers" >>> >>> To: >>> "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" >>> >>> Cc: >>> >>> Sent: >>> Tue, 7 May 2013 16:54:08 +0100 >>> Subject: >>> [Xerte-dev] Tidying up existing tempaltes after upgrade >>> >>> >>> Upgrade appears to have gone well. >>> >>> >>> A question for Pat I think: we want to disable some of the older templates ? but they are not listed in originaltempaltesdetails. They are well old ? GEN and Numerical Calcs: where would they be listed so we can turn them off? >>> >>> >>> Thanks, >>> >>> >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >>> >>> This message has been checked for viruses but the contents of an >>> attachment may still contain software viruses which could damage your computer system: >>> you are advised to perform your own checks. Email communications with >>> the University of Nottingham may be monitored as permitted by UK legislation. >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Wed May 8 16:28:02 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 8 May 2013 16:28:02 +0100 Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade In-Reply-To: <89428D27-1699-4C12-8D7E-32F5E939FC8F@pgogywebstuff.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0143@EXCHANGE1.ad.nottingham.ac.uk> <82c397b6702f5adabeb041e507dd5c40736ffa82@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51180B3D@EXCHANGE1.ad.nottingham.ac.uk> <0F0E402E-0A37-4138-AFF2-A3761E4162B1@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C518A02CB@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0564@EXCHANGE1.ad.nottingham.ac.uk> <89428D27-1699-4C12-8D7E-32F5E939FC8F@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0606@EXCHANGE1.ad.nottingham.ac.uk> Looked like it did... I set them to just me. How do you set them to no-one? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 08 May 2013 15:47 To: For Xerte technical developers Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade Did that work? On 8 May 2013, at 15:31, Julian Tenney wrote: > Cheers, got that, > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ > Pgogy > Sent: 08 May 2013 14:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade > > Set them as inactive in management.php? > > On 8 May 2013, at 10:28, Julian Tenney wrote: > >> Nope, can't see any mention of them in there. We must be missing something. >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >> Pgogy >> Sent: 07 May 2013 20:50 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade >> >> If they appear on the right hand side then they are in the original >> templatedetails table >> >> On 7 May 2013, at 20:32, Julian Tenney wrote: >> >>> yes >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>> xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] >>> Sent: 07 May 2013 17:12 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade >>> >>> Turn them off as in? Stop them appearing in the list? >>> >>> >>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of >>> a fair to middling quality >>> >>> >>> ----- Original Message ----- >>> From: >>> "For Xerte technical developers" >>> >>> To: >>> "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" >>> >>> Cc: >>> >>> Sent: >>> Tue, 7 May 2013 16:54:08 +0100 >>> Subject: >>> [Xerte-dev] Tidying up existing tempaltes after upgrade >>> >>> >>> Upgrade appears to have gone well. >>> >>> >>> A question for Pat I think: we want to disable some of the older templates ? but they are not listed in originaltempaltesdetails. They are well old ? GEN and Numerical Calcs: where would they be listed so we can turn them off? >>> >>> >>> Thanks, >>> >>> >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >>> >>> This message has been checked for viruses but the contents of an >>> attachment may still contain software viruses which could damage your computer system: >>> you are advised to perform your own checks. Email communications >>> with the University of Nottingham may be monitored as permitted by UK legislation. >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Thu May 9 08:18:38 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 9 May 2013 08:18:38 +0100 Subject: [Xerte-dev] Update example in management.php Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A06D3@EXCHANGE1.ad.nottingham.ac.uk> When I try and update the ID number for the examples, it changes in management.php, but the example fired up from the list of templates doesn't change... -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Wed May 8 17:44:25 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Wed, 8 May 2013 17:44:25 +0100 Subject: [Xerte-dev] Re: HTML Editor for comment In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A058B@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A058B@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <0FF8450B-D7AB-4000-B621-9672CF521F24@pgogywebstuff.com> Curveball time. Death to XML Switch to Json On 8 May 2013, at 15:47, Julian Tenney wrote: > Good stuff. > >> I await Julian's comments though as I'm sure he's thought through most of what could be done (and how to do it) before. > > Only conceptually. What I do know is that I found developing apps like this to be a lot better when you had some proper OO stuff going on, like in Flex: the Xerte 3 editor is very similar - show a tree, click a node, render the form, etc, but the Xerte 3 code was w-a-y easier to cope with than the desktop Xerte code was because you could easily extend components and could do inheritance etc, so I would encourage some sort of framework to underlie the architecture before you end up with spaghetti. I've not tackled a bigger application in JavaScript using those approaches: although the original XMLEngine was OO, with inheritance done the fake way with the prototype object. If you did that, and built components that used composition for the components you can't easily sub-class, that's where I'd start, conceptually, as I say: there are some design patterns that would be relevant. > > If it were flex I would think of it as > > Tree for the tree, or some sort of component that has the tree you're using composition; > Form (which holds the editable components) > EditableComponent (abstract) for capturing the form inputs > The actual form widgets (sub classes of EditableComponent) TextInput, TextArea, Media, ComboBox, etc. These all have things in common (getting / setting > values to the tree node, for example) > > Something like that. The tree is pretty central, I think I started out playing with that and built around it. > > The question might be about whether we want to replicate the existing functionality, or whether there are things to address that are currently difficult, or not covered by the xwd. For instance, being able to mess with the insert menu, depending on the level of the selected node? Probably other stuff like that. Global properties cropped up recently. > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 08 May 2013 14:33 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: HTML Editor for comment > > Thanks Ron, I've been monitoring the iPad/Android situation while developing it but with all the different browsers/os versions it gets a bit difficult to be sure that changes that fix one thing will work in the others. I think there are still a few css tweaks needed... > > Apologies for the lack or save and play functionality, I'll stay up tonight ;-) > > I think we need new ideas though and to collate/rate these by desirability. So far I'm duplicating an aged flash interface and we can do things in lots of different ways using html5/jQuery... > > Please share the url with any colleagues/contacts who might be able to input to this. I await Julian's comments though as i'm sure he's thought through most of what could be done (and how to do it) before. > > John > > Sent from Samsung tablet > > > > -------- Original message -------- > From: Ron Mitchell > Date: 08/05/2013 12:35 (GMT+00:00) > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: HTML Editor for comment > > > Looks good John! > not only consumption on iPad but creation on iPad too - all seems to display fine on my iPad. > Where's the save and play buttons? ;-) > > HTH > Cheers > Ron > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 08 May 2013 13:13 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] HTML Editor for comment > > Hi all, > > There's been much talk lately about treeviews etc for the anticipated html editor and I thought that I would put something together to view to get the discussions going further. Its not running directly from a xot install but is parsing a genuine LO xml file created with every page type and with subnodes. > > http://xerte.smitcher.com/editor/ > > Any comments? Its still very much a WIP but at least demonstrates that jsTree can cope. The question is does it resemble where we want to go? Ron once mentioned possibly having plugins or some kind of visual data on the side panel. These panels are collabsible and resizable and can have multiple headers/footers. The bottom one shows a different type that can be shown and then collapsed. > > I'm also interested in how the layout behaves in different browsers/os/devices. > > Regards, > > John > > Sent from Samsung tablet > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From reijnders at tor.nl Wed May 8 21:16:04 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Wed, 08 May 2013 22:16:04 +0200 Subject: [Xerte-dev] Re: Xerte Installation on a Centos - Blank Database erties In-Reply-To: References: <778588A4E1A108498F0BC0ADD0CF15902A3286FCAB@earth.bedcoll.local> Message-ID: <518AB284.70501@tor.nl> Do you happen to know what version of the installer you are using? See version.txt Tom Op 8-5-2013 16:19, Smith, John schreef: > Hi Mark, > > I just did an install today as well and the same happened to me so something is obviously broken in the package... I had to go into the newly created database.php and manually enter the correct values to connect to the database. Then refreshed the browser on step 4 and clicked ok to resubmit the posted data and this time it went through fine... > > Hope that helps in the meantime until we fix... > > So the steps are (if you are no longer on page 4) > > Delete database.php > Go through the process until step 4 bombs > Manually enter the host/db_Name/User/password into the newly created database.php file > Go back to your browser and refresh page 4 > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > -----Original Message----- > From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Chaney, Mark > Sent: Wednesday, May 08, 2013 3:08 PM > To: Xerte discussion list > Subject: [Xerte] Xerte Installation on a Centos - Blank Database erties > > Hi all, > > I have done a test installation of xerte on a test server and have some strange behaviour. On the last page of the installation (Page 4) the database name wasn?t inserted into the database php file. Thus it was giving me an error of database not selected. > > Attempting to get into the management side of the system I found I couldn?t access it. Upon inspection there is no data what so ever in the sitedetails database table other than (what I assume is an auto incremental number) the id of 1. There is no site_url, apache, admin_username, admin_password .... etc etc. > > It looks like somewhere a section of a script failed to run without throwing an error? > > To try and pre-empt some questions: > Centos 6 server. > Install ran ok up untill page4 > Same server as I have 7 fully working moodle installs. Apache and php are ok. SE linux off. > Mysql installed and working. > Xerte database accessible and can be queries from workbench on external machine and on server itself. > File/Folder permissions set according to docs/instructions. > > Any help would be much appreciated. > > Thanks > > Mark Chaney > mchaney at bedford.ac.uk > Learning Technologies Adviser > Bedford College > Cauldwell Street, Bedford, MK42 9AH > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From ronm at mitchellmedia.co.uk Wed May 8 18:03:20 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 8 May 2013 18:03:20 +0100 Subject: [Xerte-dev] Re: .htaccess again!... In-Reply-To: References: <002701ce4381$42f1ad20$c8d50760$@co.uk> <91c102e5f21cd09f763576638fb458ca7052f1fc@webmail.hosting.heartinternet.co.uk> <005f01ce43ef$4ccf93c0$e66ebb40$@co.uk> <517CEA50.2030707@tor.nl> <007901ce43f4$3ed87f20$bc897d60$@co.uk> <517CFC0F.10607@tor.nl> <009b01ce440f$029265b0$07b73110$@co.uk> <5AF864D0-2BE6-48F3-8004-F846D365F927@pgogywebstuff.com> <517D210A.7040603@tor.nl> Message-ID: <030d01ce4c0d$f23a83d0$d6af8b70$@co.uk> Hi I was just alerted to the fact that /play_html5_id links I'd previously shared to lo's are no longer working :-( I can live with that and update where I can but it also means that links that Alistair and others have shared previously are also currently broken. I know over time this will fade away as new links are shared etc but this was something that we wanted to avoid if possible. Here's an example link that Alistair shared previously on the lists which doesn't work at the moment: http://vle.jisctechdis.ac.uk/xerte/play_html5_300 It obviously does now work via http://vle.jisctechdis.ac.uk/xerte/play_300 and http://vle.jisctechdis.ac.uk/xerte/play_300&engine=html But is there a change to the .htaccess rule I can make to still allow http://vle.jisctechdis.ac.uk/xerte/play_html5_300 to work? The previous rule for this was: rewriteRule ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 But http://vle.jisctechdis.ac.uk/xerte/play_html5.php?template_id=300 no longer works so the shorter version doesn't either :-( Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 28 April 2013 15:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Hi Tom I just looked at the export links the install without htaccess was generating via Fiddler and changed the order accordingly e.g. What position template_id appears Cheers Ron Sent from my iPhone On 28 Apr 2013, at 14:15, Tom Reijnders wrote: Only if you replace the /xerte with * again. And, please note, it solves the play and preview differently than your suggestion. For play your suggestion accepts play_126_javascript, whereas my solution accepts play_126?engine=javascript. The latter because that's the way the wizard works now. play_126 will choose the engine based on the default engine chosen by the author. Tom P.S. I don't understand why your modifications work, when the original line doesn't, but I am glad it does.. :-) Op 28-4-2013 14:51, Pat @ Pgogy schreef: Is the htaccess.conf ok Also the play/preview rules? On 28 Apr 2013, at 13:50, "Ron Mitchell" wrote: Hi Tom no need. :-) The attached works for me! Basically changed the order of things in a couple of the export rules: previous line 54 rewriteRule ^export_full_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=false&$2 new rewriteRule ^export_full_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?full=true&scorm=false&template_id=$1&$2 previous 70 rewriteRule ^scorm_rich_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true&$2 new rewriteRule ^scorm_rich_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?data=rich&scorm=true&template_id=$1&$2 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 28 April 2013 11:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Ok, I'll have a look, at why those don't work. I'll try to set it up on one of my installations. Bit easier to test... ;-) Tom Op 28-4-2013 11:39, Ron Mitchell schreef: Hi Tom my apologies. I just tracked back through my messages and missed your updated .htaccess partly because you'd renamed it as .txt but that's no excuse for not reading your message properly! :-( I've just put that in place and it seems deployment and 2004 export works but not archive or 1.2? Being dragged out now so will be offline for an hour or two :-0 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 28 April 2013 10:22 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Ron, Apparently you didn't receive my reply on April 25? It oncluded a version that should have a working export for you. It's different than the one you have attached here, so I'll post it again. Tom Op 28-4-2013 11:03, Ron Mitchell schreef: I'm not sure how correct the attached is as it's something I edited over time while 1.9 was being developed. But it worked including export until the engine= changes and I know Tom was going to look at this further but probably hasn't had time yet. The normal play and preview work but export doesn't. Tom suggested the current line 12: rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$ /xerte/preview.php?template_id=$1&$2 and that enables Ctrl + Play to toggle the engine and that works but I haven't been able to find a solution for export. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 27 April 2013 23:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess I have no idea what the export links are now, or what is in the htaccess If you send the links and the export reg exps I will have a look Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To: "For Xerte technical developers" Cc: Sent: Sat, 27 Apr 2013 20:56:07 +0100 Subject: [Xerte-dev] Re: .htaccess Hi Pat/Tom/all is there a solution to this for Export before any of the engine changes Pat has listed are made? We've got a real problem on one of the Techdis installations now where I can't turn .htaccess use off because it would installantly break all the links to LO's Alistair and co have shared but at the same time at the moment with .htaccess on none of the export options work. I don't really want to revert the install back to before Tom's engine= changes but I've tried a few variations of rules to get export to work without success so far. Even if only archive export worked for now that would be better than no export working. Any suggestions? Cheers Ron BTW am I right in thinking the engine.fla still needs to be kept as Flash 8? I no longer have a Flash 8 install and wary of making any changes in CS4. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 25 April 2013 23:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Hello, HTaccess debugging One, the default engine link in the wizard *to me* doesn't follow the HTaccess approach So here are some new HTaccess rules These will work on a localhost/xertetoolkts install if rewriteBase /xertetoolkits is on rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)$ preview.php?template_id=$1&linkID=$2 rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z]+)$ preview.php?template_id=$1&engine=$2 rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z]+)_([A-Za-z0-9]+)$ preview.php?template_id=$1&engine=$2&linkID=$3 In the wizard the following toggle needs to apply (I don't have flash on this computer) If apache is set the link becomes preview_idnumber if control is held down then then link is preview_idnumber_linkID if control is held down then the link is preview_idnumber_enginename (enginename is always text only - no numbers and no ascii) if control and shift are both held down preview_idnumber_enginename_linkID Note enginename comes before linkID I don't have flash to fix this at home, but if some one can put the ifs into the wizard that should fix it Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" Cc: Sent: Thu, 25 Apr 2013 23:18:41 +0100 Subject: [Xerte-dev] Re: .htaccess I am now working in this area, let me see On 25 Apr 2013, at 20:40, Tom Reijnders wrote: Ehmm, can I have your version of the .htacces? I mean how does you normal preview look? I don't understand the /xerte/preview The difference should be the ?(.*) before the $ and the &$2 at the end. Op 25-4-2013 20:44, Ron Mitchell schreef: Hi Tom rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$ */preview.php?template_id=$1&$2 worked for Ctrl + Play preview although I obviously had to change it to /xerte/preview.php rather than */preview.php I tried applying the same principal to one of the export rules but that didn't work - probably due to my lack of knowledge of regular expressions etc :-( Happy to test export additions? I think ideally we need a definitive \setup\htaccess.conf for people to use for reference. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 25 April 2013 10:11 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess No, the wizard tries to load preview.php and play.php, but it doesn't add any sizes to the url, like the xerte play and preview do. The issue with .htaccess and xerte preview is that now you can have url parameters added to the .htaccess urls, like play_126?engine=other, and the rules don't handle the ?engine=other properly. I sent a fix for Ron to try by PM, because I couldn't send anything to the list for some 30 minutes. Tom Op 25-4-2013 11:03, Julian Tenney schreef: OK. Does it impact the re-write rule? At this point I?d rather just make it work, than be graceful? what I think it means is that for bootstrap tempaltes, the url the wizard tries to load will be preview_sitephp and play_site.php? I?m not sure if it affects what you?re talking about or not? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 25 April 2013 10:01 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess I didn't change it (combine preview of site and xerte) because the url parameters were different, and I felt we hadn't time to test changes thoroughly enough, so at the moment I only changed the absolute minimum. Tom Op 25-4-2013 10:09, Julian Tenney schreef: In the wizard (I think you mean) is code that launches the site template that does something along the lines of (if templateruntime = ?preview_sitephp?) blah which launches the site template in the preview_site page. If you remember, way back when, when we originally anticipated different runtimes, we had a runtime param in the xwd file to point to alternative renderers for content. If you want to look it?s in function preview() I would have thought that when the recent modularisation stuff was done, this might have been made redundant, or handled differently, and maybe this code should change? But I don?t have enough sight of the other side of the coin to know how? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 24 April 2013 20:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Looks like something is up in the engine as well? On 24 Apr 2013, at 19:41, Tom Reijnders wrote: Ah ok. olet me work on the rewriteRule, because it doesn't argin-bottom-alt:auto">if control and shift are both held down Just been testing this a bit more and for instance with the editor open clicking play to preview works fine with Apache/.htaccess enabled or not but clicking Ctrl + Play with Apache/.htaccess enabled results in http://vle.jisctechdis.ac.uk/xerte/preview_310 &engine=other and so doesn't work ends up with a page not found What needs to change or be added to the .htaccess? e.g. NETGEAR VMDG485 NETGEAR http://www.netgear.com/ VMDG485 VMDG485 VMDG485 http://www.virginmedia.com/ (unimplemented) uuid:upnp-WANConnectionDevice-1_0-20e52aba60fb (unimplemented) urn:schemas-upnp-org:service:WANIPConnection:1 urn:upnp-org:serviceId:WANIPConn1 /WANIPConnection.xml /WANIPConnection /WANIPConnection I think this is an important issue for those using .htaccess previously (e.g. Nottingham) because if Apache was switched off via management existing links would obviously break. But at the moment with Apache enabled I don't think export and Ctrl + Play works. HTH Cheers Ron To: "For Xerte technical developers" ] On Behalf Of Pat @ Pgogy Sent: 22 April 2013 20:05 To: For Xerte technical developers _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottinghamac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 <.htaccess - Copy.txt> _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Thu May 9 11:15:52 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Thu, 9 May 2013 11:15:52 +0100 Subject: [Xerte-dev] Re: Update example in management.php In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A06D3@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A06D3@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <3F9F651C-3140-4D19-B30F-FAE9FA124795@pgogywebstuff.com> Has the ID been updated? On 9 May 2013, at 08:18, Julian Tenney wrote: > When I try and update the ID number for the examples, it changes in management.php, but the example fired up from the list of templates doesn?t change? > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Thu May 9 09:45:09 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Thu, 9 May 2013 09:45:09 +0100 Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0606@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0143@EXCHANGE1.ad.nottingham.ac.uk> <82c397b6702f5adabeb041e507dd5c40736ffa82@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51180B3D@EXCHANGE1.ad.nottingham.ac.uk> <0F0E402E-0A37-4138-AFF2-A3761E4162B1@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C518A02CB@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0564@EXCHANGE1.ad.nottingham.ac.uk> <89428D27-1699-4C12-8D7E-32F5E939FC8F@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C518A0606@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <675AC7D1-5364-48F9-94F9-35EABA78251D@pgogywebstuff.com> Make them inactive On 8 May 2013, at 16:28, Julian Tenney wrote: > Looked like it did... I set them to just me. How do you set them to no-one? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 08 May 2013 15:47 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade > > Did that work? > > On 8 May 2013, at 15:31, Julian Tenney wrote: > >> Cheers, got that, >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >> Pgogy >> Sent: 08 May 2013 14:28 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade >> >> Set them as inactive in management.php? >> >> On 8 May 2013, at 10:28, Julian Tenney wrote: >> >>> Nope, can't see any mention of them in there. We must be missing something. >>> >>> -----Original Message----- >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ >>> Pgogy >>> Sent: 07 May 2013 20:50 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade >>> >>> If they appear on the right hand side then they are in the original >>> templatedetails table >>> >>> On 7 May 2013, at 20:32, Julian Tenney wrote: >>> >>>> yes >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>> xerte at pgogywebstuff.com [xerte at pgogywebstuff.com] >>>> Sent: 07 May 2013 17:12 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: Tidying up existing tempaltes after upgrade >>>> >>>> Turn them off as in? Stop them appearing in the list? >>>> >>>> >>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of >>>> a fair to middling quality >>>> >>>> >>>> ----- Original Message ----- >>>> From: >>>> "For Xerte technical developers" >>>> >>>> To: >>>> "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" >>>> >>>> Cc: >>>> >>>> Sent: >>>> Tue, 7 May 2013 16:54:08 +0100 >>>> Subject: >>>> [Xerte-dev] Tidying up existing tempaltes after upgrade >>>> >>>> >>>> Upgrade appears to have gone well. >>>> >>>> >>>> A question for Pat I think: we want to disable some of the older templates ? but they are not listed in originaltempaltesdetails. They are well old ? GEN and Numerical Calcs: where would they be listed so we can turn them off? >>>> >>>> >>>> Thanks, >>>> >>>> >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >>>> >>>> This message has been checked for viruses but the contents of an >>>> attachment may still contain software viruses which could damage your computer system: >>>> you are advised to perform your own checks. Email communications >>>> with the University of Nottingham may be monitored as permitted by UK legislation. >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From i.donkervoort at 12change.eu Thu May 9 11:24:06 2013 From: i.donkervoort at 12change.eu (Inge Donkervoort 12Change) Date: Thu, 09 May 2013 12:24:06 +0200 Subject: [Xerte-dev] Xerte Community Website In-Reply-To: <38c8f7ac-7ef1-4408-b7c4-86eb2936685d@email.android.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A033E@EXCHANGE1.ad.nottingham.ac.uk> <38c8f7ac-7ef1-4408-b7c4-86eb2936685d@email.android.com> Message-ID: <518B7946.4060802@12change.eu> Hi, We found a solution for the problem with the login and the message afterwards on the Xerte Community Website. So we will need the website offline. We suggest Friday morning 9/5 early. Normaly this take an hour. But it can take as much as four. Ok for everyone? Bye, Inge 12Change Chopinlaan 27 5242 HM Rosmalen T 073-5226195 F 073-5226196 E i.donkervoort at 12change.eu I www.12change.eu T twitter L linkedIn -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu May 9 11:37:06 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 9 May 2013 11:37:06 +0100 Subject: [Xerte-dev] Re: Xerte Community Website In-Reply-To: <518B7946.4060802@12change.eu> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A033E@EXCHANGE1.ad.nottingham.ac.uk> <38c8f7ac-7ef1-4408-b7c4-86eb2936685d@email.android.com> <518B7946.4060802@12change.eu> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A088B@EXCHANGE1.ad.nottingham.ac.uk> Yeah, that's fine, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Inge Donkervoort 12Change Sent: 09 May 2013 11:24 To: For Xerte technical developers Subject: [Xerte-dev] Xerte Community Website Hi, We found a solution for the problem with the login and the message afterwards on the Xerte Community Website. So we will need the website offline. We suggest Friday morning 9/5 early. Normaly this take an hour. But it can take as much as four. Ok for everyone? Bye, Inge 1 2 Change Chopinlaan 27 5242 HM Rosmalen T 073-5226195 F 073-5226196 E i.donkervoort at 12change.eu I www.12change.eu T twitter L linkedIn -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Thu May 9 11:37:53 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 09 May 2013 12:37:53 +0200 Subject: [Xerte-dev] Re: .htaccess again!... In-Reply-To: <030d01ce4c0d$f23a83d0$d6af8b70$@co.uk> References: <002701ce4381$42f1ad20$c8d50760$@co.uk> <91c102e5f21cd09f763576638fb458ca7052f1fc@webmail.hosting.heartinternet.co.uk> <005f01ce43ef$4ccf93c0$e66ebb40$@co.uk> <517CEA50.2030707@tor.nl> <007901ce43f4$3ed87f20$bc897d60$@co.uk> <517CFC0F.10607@tor.nl> <009b01ce440f$029265b0$07b73110$@co.uk> <5AF864D0-2BE6-48F3-8004-F846D365F927@pgogywebstuff.com> <517D210A.7040603@tor.nl> <030d01ce4c0d$f23a83d0$d6af8b70$@co.uk> Message-ID: <518B7C81.7020801@tor.nl> Ron, Can you double-check the play_html5.php? That works on my website: site_url . "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . $extraparams); Tom P.S. I received your message just now (12:05). Op 8-5-2013 19:03, Ron Mitchell schreef: > > Hi > > I was just alerted to the fact that /play_html5_id links I'd > previously shared to lo's are no longer working :-( > > I can live with that and update where I can but it also means that > links that Alistair and others have shared previously are also > currently broken. I know over time this will fade away as new links > are shared etc but this was something that we wanted to avoid if possible. > > Here's an example link that Alistair shared previously on the lists > which doesn't work at the moment: > > http://vle.jisctechdis.ac.uk/xerte/play_html5_300 > > It obviously does now work via > http://vle.jisctechdis.ac.uk/xerte/play_300 and > http://vle.jisctechdis.ac.uk/xerte/play_300&engine=html > > But is there a change to the .htaccess rule I can make to still allow > http://vle.jisctechdis.ac.uk/xerte/play_html5_300 to work? > > The previous rule for this was: rewriteRule > ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 > > But http://vle.jisctechdis.ac.uk/xerte/play_html5.php?template_id=300 > no longer works so the shorter version doesn't either :-( > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron > Mitchell > *Sent:* 28 April 2013 15:59 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Hi Tom > > I just looked at the export links the install without htaccess was > generating via Fiddler and changed the order accordingly e.g. What > position template_id appears > > Cheers > > Ron > > Sent from my iPhone > > > On 28 Apr 2013, at 14:15, Tom Reijnders > wrote: > > Only if you replace the /xerte with * again. > > And, please note, it solves the play and preview differently than > your suggestion. > > For play your suggestion accepts play_126_javascript, whereas my > solution accepts play_126?engine=javascript. The latter because > that's the way the wizard works now. > > play_126 will choose the engine based on the default engine chosen > by the author. > > Tom > > P.S. I don't understand why your modifications work, when the > original line doesn't, but I am glad it does.. :-) > > > > Op 28-4-2013 14:51, Pat @ Pgogy schreef: > > Is the htaccess.conf ok > > Also the play/preview rules? > > > On 28 Apr 2013, at 13:50, "Ron Mitchell" > > > wrote: > > Hi Tom > > no need. :-) > > The attached works for me! > > Basically changed the order of things in a couple of the > export rules: > > previous line 54 > > rewriteRule ^export_full_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=false&$2 > > new > > rewriteRule ^export_full_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?full=true&scorm=false&template_id=$1&$2 > > previous 70 > > rewriteRule ^scorm_rich_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true&$2 > > new > > rewriteRule ^scorm_rich_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?data=rich&scorm=true&template_id=$1&$2 > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On > Behalf Of *Tom Reijnders > *Sent:* 28 April 2013 11:38 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Ok, I'll have a look, at why those don't work. I'll try to > set it up on one of my installations. Bit easier to > test... ;-) > > Tom > > Op 28-4-2013 11:39, Ron Mitchell schreef: > > Hi Tom > > my apologies. I just tracked back through my messages > and missed your updated .htaccess partly because you'd > renamed it as .txt but that's no excuse for not > reading your message properly! :-( > > I've just put that in place and it seems deployment > and 2004 export works but not archive or 1.2? > > > > Being dragged out now so will be offline for an hour > or two :-0 > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On > Behalf Of *Tom Reijnders > *Sent:* 28 April 2013 10:22 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Ron, > > Apparently you didn't receive my reply on April 25? > > It oncluded a version that should have a working > export for you. It's different than the one you have > attached here, so I'll post it again. > > Tom > > Op 28-4-2013 11:03, Ron Mitchell schreef: > > I'm not sure how correct the attached is as it's > something I edited over time while 1.9 was being > developed. But it worked including export until > the engine= changes and I know Tom was going to > look at this further but probably hasn't had time > yet. The normal play and preview work but export > doesn't. > > Tom suggested the current line 12: > > rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$ > /xerte/preview.php?template_id=$1&$2 > > and that enables Ctrl + Play to toggle the engine > and that works but I haven't been able to find a > solution for export. > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *xerte at pgogywebstuff.com > > *Sent:* 27 April 2013 23:58 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > I have no idea what the export links are now, or > what is in the htaccess > > If you send the links and the export reg exps I > will have a look > > > Pgogy Webstuff http://www.pgogywebstuff.com > > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > > *To:* > > "For Xerte technical developers" > > > > *Cc:* > > *Sent:* > > Sat, 27 Apr 2013 20:56:07 +0100 > > *Subject:* > > [Xerte-dev] Re: .htaccess > > > > > Hi Pat/Tom/all > > is there a solution to this for Export before > any of the engine changes Pat has listed are made? > > We've got a real problem on one of the Techdis > installations now where I can't turn .htaccess > use off because it would installantly break > all the links to LO's Alistair and co have > shared but at the same time at the moment with > .htaccess on none of the export options work. > I don't really want to revert the install back > to before Tom's engine= changes but I've tried > a few variations of rules to get export to > work without success so far. Even if only > archive export worked for now that would be > better than no export working. > > Any suggestions? > > Cheers > > Ron > > BTW am I right in thinking the engine.fla > still needs to be kept as Flash 8? I no longer > have a Flash 8 install and wary of making any > changes in CS4. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *xerte at pgogywebstuff.com > > *Sent:* 25 April 2013 23:51 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Hello, > > HTaccess debugging > > One, the default engine link in the wizard *to > me* doesn't follow the HTaccess approach > > So here are some new HTaccess rules > > These will work on a localhost/xertetoolkts > install if > > rewriteBase /xertetoolkits is on > > rewriteRule > ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)$ > preview.php?template_id=$1&linkID=$2 > > rewriteRule > ^preview_([A-Za-z0-9]+)_([A-Za-z]+)$ > preview.php?template_id=$1&engine=$2 > > rewriteRule > ^preview_([A-Za-z0-9]+)_([A-Za-z]+)_([A-Za-z0-9]+)$ > preview.php?template_id=$1&engine=$2&linkID=$3 > > In the wizard the following toggle needs to > apply (I don't have flash on this computer) > > If apache is set the link becomes > > preview_idnumber > > if control is held down then then link is > > preview_idnumber_linkID > > if control is held down then the link is > > preview_idnumber_enginename (enginename is > always text only - no numbers and no ascii) > > if control and shift are both held down > > preview_idnumber_enginename_linkID > > Note enginename comes before linkID > > I don't have flash to fix this at home, but if > some one can put the ifs into the wizard that > should fix it > > > Pgogy Webstuff http://www.pgogywebstuff.com > > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > > *To:* > > "For Xerte technical developers" > > > > *Cc:* > > *Sent:* > > Thu, 25 Apr 2013 23:18:41 +0100 > > *Subject:* > > [Xerte-dev] Re: .htaccess > > I am now working in this area, let me see > > > On 25 Apr 2013, at 20:40, Tom Reijnders > > wrote: > > Ehmm, can I have your version of the > .htacces? > > I mean how does you normal preview look? > > I don't understand the /xerte/preview > > The difference should be the ?(.*) > before the $ and the &$2 at the end. > > Op 25-4-2013 20:44, Ron Mitchell schreef: > > Hi Tom > > rewriteRule > ^preview_([A-Za-z0-9]+)?(.*)$ > */preview.php?template_id=$1&$2 > worked for Ctrl + Play preview > although I obviously had to change > it to /xerte/preview.php rather > than */preview.php > > I tried applying the same > principal to one of the export > rules but that didn't work - > probably due to my lack of > knowledge of regular expressions > etc :-( > > Happy to test export additions? > > I think ideally we need a > definitive \setup\htaccess.conf > for people to use for reference. > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 25 April 2013 10:11 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > No, the wizard tries to load > preview.php and play.php, but it > doesn't add any sizes to the url, > like the xerte play and preview do. > > > The issue with .htaccess and xerte > preview is that now you can have > url parameters added to the > .htaccess urls, like > play_126?engine=other, and the > rules don't handle the > ?engine=other properly. I sent a > fix for Ron to try by PM, because > I couldn't send anything to the > list for some 30 minutes. > > > Tom > > Op 25-4-2013 11:03, Julian Tenney > schreef: > > OK. Does it impact the > re-write rule? At this point > I'd rather just make it work, > than be graceful... what I > think it means is that for > bootstrap tempaltes, the url > the wizard tries to load will > be preview_sitephp and > play_site.php? I'm not sure if > it affects what you're talking > about or not? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 25 April 2013 10:01 > *To:* For Xerte technical > developers > *Subject:* [Xerte-dev] Re: > .htaccess > > I didn't change it (combine > preview of site and xerte) > because the url parameters > were different, and I felt we > hadn't time to test changes > thoroughly enough, so at the > moment I only changed the > absolute minimum. > > Tom > > Op 25-4-2013 10:09, Julian > Tenney schreef: > > In the wizard (I think you > mean) is code that > launches the site template > that does something along > the lines of (if > templateruntime = > 'preview_sitephp') blah > which launches the site > template in the > preview_site page. If you > remember, way back when, > when we originally > anticipated different > runtimes, we had a runtime > param in the xwd file to > point to alternative > renderers for content. If > you want to look it's in > function preview() > > I would have thought that > when the recent > modularisation stuff was > done, this might have been > made redundant, or handled > differently, and maybe > this code should change? > But I don't have enough > sight of the other side of > the coin to know how? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Pat @ Pgogy > *Sent:* 24 April 2013 20:35 > *To:* For Xerte technical > developers > *Subject:* [Xerte-dev] Re: > .htaccess > > Looks like something is up > in the engine as well? > > > On 24 Apr 2013, at 19:41, > Tom Reijnders > > > wrote: > > Ah ok. olet me work on > the rewriteRule, > because it doesn't > argin-bottom-alt:auto">if > control and shift are > both held down > > Just been testing > this a bit more > and for instance > with the editor > open clicking play > to preview works > fine with > Apache/.htaccess > enabled or not but > clicking Ctrl + > Play with > Apache/.htaccess > enabled results in > http://vle.jisctechdis.ac.uk/xerte/preview_310&engine=other > > and so doesn't > work ends up with > a page not found > > What needs to > change or be added > to the .htaccess? > > e.g. > > NETGEAR VMDG485 > NETGEAR > http://www.netgear.com/ > VMDG485 VMDG485 > VMDG485 > http://www.virginmedia.com/ > (unimplemented) > uuid:upnp-WANConnectionDevice-1_0-20e52aba60fb > (unimplemented) > urn:schemas-upnp-org:service:WANIPConnection:1 > urn:upnp-org:serviceId:WANIPConn1 > /WANIPConnection.xml > /WANIPConnection > /WANIPConnection > > I think this is an > important issue > for those using > .htaccess > previously (e.g. > Nottingham) > because if Apache > was switched off > via management > existing links > would obviously > break. But at the > moment with Apache > enabled I don't > think export and > Ctrl + Play works. > > HTH > > Cheers > > Ron > > *To:* > > "For Xerte > technical > developers" > ] > *On Behalf Of *Pat > @ Pgogy > *Sent:* 22 April > 2013 20:05 > *To:* For Xerte > technical developers > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottinghamac.uk/mailman/listinfo/xerte-dev > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > <.htaccess - Copy.txt> > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu May 9 12:06:24 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 9 May 2013 12:06:24 +0100 Subject: [Xerte-dev] Re: HTML Editor for comment In-Reply-To: <0FF8450B-D7AB-4000-B621-9672CF521F24@pgogywebstuff.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A058B@EXCHANGE1.ad.nottingham.ac.uk> <0FF8450B-D7AB-4000-B621-9672CF521F24@pgogywebstuff.com> Message-ID: My sentiments exactly but It's fine just now as I've written some code to do the parsing of data.xml and I've managed to come up with quite a short recursive routine to do data.xwd to JSON since they both needed converting anyway. It seems silly to keep doing this clientside in a responsive app though so it will be easy to switch to json later, especially for the wizard file since it will only need converting occasionally. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Wednesday, May 08, 2013 5:44 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: HTML Editor for comment Curveball time. Death to XML Switch to Json On 8 May 2013, at 15:47, Julian Tenney wrote: > Good stuff. > >> I await Julian's comments though as I'm sure he's thought through most of what could be done (and how to do it) before. > > Only conceptually. What I do know is that I found developing apps like this to be a lot better when you had some proper OO stuff going on, like in Flex: the Xerte 3 editor is very similar - show a tree, click a node, render the form, etc, but the Xerte 3 code was w-a-y easier to cope with than the desktop Xerte code was because you could easily extend components and could do inheritance etc, so I would encourage some sort of framework to underlie the architecture before you end up with spaghetti. I've not tackled a bigger application in JavaScript using those approaches: although the original XMLEngine was OO, with inheritance done the fake way with the prototype object. If you did that, and built components that used composition for the components you can't easily sub-class, that's where I'd start, conceptually, as I say: there are some design patterns that would be relevant. > > If it were flex I would think of it as > > Tree for the tree, or some sort of component that has the tree you're > using composition; Form (which holds the editable components) > EditableComponent (abstract) for capturing the form inputs The actual > form widgets (sub classes of EditableComponent) TextInput, TextArea, > Media, ComboBox, etc. These all have things in common (getting / > setting values to the tree node, for example) > > Something like that. The tree is pretty central, I think I started out playing with that and built around it. > > The question might be about whether we want to replicate the existing functionality, or whether there are things to address that are currently difficult, or not covered by the xwd. For instance, being able to mess with the insert menu, depending on the level of the selected node? Probably other stuff like that. Global properties cropped up recently. > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, > John > Sent: 08 May 2013 14:33 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: HTML Editor for comment > > Thanks Ron, I've been monitoring the iPad/Android situation while developing it but with all the different browsers/os versions it gets a bit difficult to be sure that changes that fix one thing will work in the others. I think there are still a few css tweaks needed... > > Apologies for the lack or save and play functionality, I'll stay up > tonight ;-) > > I think we need new ideas though and to collate/rate these by desirability. So far I'm duplicating an aged flash interface and we can do things in lots of different ways using html5/jQuery... > > Please share the url with any colleagues/contacts who might be able to input to this. I await Julian's comments though as i'm sure he's thought through most of what could be done (and how to do it) before. > > John > > Sent from Samsung tablet > > > > -------- Original message -------- > From: Ron Mitchell > Date: 08/05/2013 12:35 (GMT+00:00) > To: 'For Xerte technical developers' > > Subject: [Xerte-dev] Re: HTML Editor for comment > > > Looks good John! > not only consumption on iPad but creation on iPad too - all seems to display fine on my iPad. > Where's the save and play buttons? ;-) > > HTH > Cheers > Ron > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, > John > Sent: 08 May 2013 13:13 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] HTML Editor for comment > > Hi all, > > There's been much talk lately about treeviews etc for the anticipated html editor and I thought that I would put something together to view to get the discussions going further. Its not running directly from a xot install but is parsing a genuine LO xml file created with every page type and with subnodes. > > http://xerte.smitcher.com/editor/ > > Any comments? Its still very much a WIP but at least demonstrates that jsTree can cope. The question is does it resemble where we want to go? Ron once mentioned possibly having plugins or some kind of visual data on the side panel. These panels are collabsible and resizable and can have multiple headers/footers. The bottom one shows a different type that can be shown and then collapsed. > > I'm also interested in how the layout behaves in different browsers/os/devices. > > Regards, > > John > > Sent from Samsung tablet > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From reijnders at tor.nl Thu May 9 12:19:59 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 09 May 2013 13:19:59 +0200 Subject: [Xerte-dev] Re: HTML Editor for comment In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C518A058B@EXCHANGE1.ad.nottingham.ac.uk> <0FF8450B-D7AB-4000-B621-9672CF521F24@pgogywebstuff.com> Message-ID: <518B865F.6050907@tor.nl> I don't mind at all if we do send the data from the server to the client in JSON, i.e. do the conversion once server side. But I would hate to loose the xml for the near future. There is a lot of server-side code that expects this to be xml. Tom Op 9-5-2013 13:06, Smith, John schreef: > My sentiments exactly but It's fine just now as I've written some code to do the parsing of data.xml and I've managed to come up with quite a short recursive routine to do data.xwd to JSON since they both needed converting anyway. > > It seems silly to keep doing this clientside in a responsive app though so it will be easy to switch to json later, especially for the wizard file since it will only need converting occasionally. > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Wednesday, May 08, 2013 5:44 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: HTML Editor for comment > > Curveball time. > > Death to XML > Switch to Json > > On 8 May 2013, at 15:47, Julian Tenney wrote: > >> Good stuff. >> >>> I await Julian's comments though as I'm sure he's thought through most of what could be done (and how to do it) before. >> Only conceptually. What I do know is that I found developing apps like this to be a lot better when you had some proper OO stuff going on, like in Flex: the Xerte 3 editor is very similar - show a tree, click a node, render the form, etc, but the Xerte 3 code was w-a-y easier to cope with than the desktop Xerte code was because you could easily extend components and could do inheritance etc, so I would encourage some sort of framework to underlie the architecture before you end up with spaghetti. I've not tackled a bigger application in JavaScript using those approaches: although the original XMLEngine was OO, with inheritance done the fake way with the prototype object. If you did that, and built components that used composition for the components you can't easily sub-class, that's where I'd start, conceptually, as I say: there are some design patterns that would be relevant. >> >> If it were flex I would think of it as >> >> Tree for the tree, or some sort of component that has the tree you're >> using composition; Form (which holds the editable components) >> EditableComponent (abstract) for capturing the form inputs The actual >> form widgets (sub classes of EditableComponent) TextInput, TextArea, >> Media, ComboBox, etc. These all have things in common (getting / >> setting values to the tree node, for example) >> >> Something like that. The tree is pretty central, I think I started out playing with that and built around it. >> >> The question might be about whether we want to replicate the existing functionality, or whether there are things to address that are currently difficult, or not covered by the xwd. For instance, being able to mess with the insert menu, depending on the level of the selected node? Probably other stuff like that. Global properties cropped up recently. >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, >> John >> Sent: 08 May 2013 14:33 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: HTML Editor for comment >> >> Thanks Ron, I've been monitoring the iPad/Android situation while developing it but with all the different browsers/os versions it gets a bit difficult to be sure that changes that fix one thing will work in the others. I think there are still a few css tweaks needed... >> >> Apologies for the lack or save and play functionality, I'll stay up >> tonight ;-) >> >> I think we need new ideas though and to collate/rate these by desirability. So far I'm duplicating an aged flash interface and we can do things in lots of different ways using html5/jQuery... >> >> Please share the url with any colleagues/contacts who might be able to input to this. I await Julian's comments though as i'm sure he's thought through most of what could be done (and how to do it) before. >> >> John >> >> Sent from Samsung tablet >> >> >> >> -------- Original message -------- >> From: Ron Mitchell >> Date: 08/05/2013 12:35 (GMT+00:00) >> To: 'For Xerte technical developers' >> >> Subject: [Xerte-dev] Re: HTML Editor for comment >> >> >> Looks good John! >> not only consumption on iPad but creation on iPad too - all seems to display fine on my iPad. >> Where's the save and play buttons? ;-) >> >> HTH >> Cheers >> Ron >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, >> John >> Sent: 08 May 2013 13:13 >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] HTML Editor for comment >> >> Hi all, >> >> There's been much talk lately about treeviews etc for the anticipated html editor and I thought that I would put something together to view to get the discussions going further. Its not running directly from a xot install but is parsing a genuine LO xml file created with every page type and with subnodes. >> >> http://xerte.smitcher.com/editor/ >> >> Any comments? Its still very much a WIP but at least demonstrates that jsTree can cope. The question is does it resemble where we want to go? Ron once mentioned possibly having plugins or some kind of visual data on the side panel. These panels are collabsible and resizable and can have multiple headers/footers. The bottom one shows a different type that can be shown and then collapsed. >> >> I'm also interested in how the layout behaves in different browsers/os/devices. >> >> Regards, >> >> John >> >> Sent from Samsung tablet >> >> Glasgow Caledonian University is a registered Scottish charity, number >> SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 >> 219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 >> 5691,en.html _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> Glasgow Caledonian University is a registered Scottish charity, number >> SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 >> 219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 >> 5691,en.html _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From ronm at mitchellmedia.co.uk Thu May 9 12:42:39 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 9 May 2013 12:42:39 +0100 Subject: [Xerte-dev] Re: .htaccess again!... In-Reply-To: <518B7C81.7020801@tor.nl> References: <002701ce4381$42f1ad20$c8d50760$@co.uk> <91c102e5f21cd09f763576638fb458ca7052f1fc@webmail.hosting.heartinternet.co.uk> <005f01ce43ef$4ccf93c0$e66ebb40$@co.uk> <517CEA50.2030707@tor.nl> <007901ce43f4$3ed87f20$bc897d60$@co.uk> <517CFC0F.10607@tor.nl> <009b01ce440f$029265b0$07b73110$@co.uk> <5AF864D0-2BE6-48F3-8004-F846D365F927@pgogywebstuff.com> <517D210A.7040603@tor.nl> <030d01ce4c0d$f23a83d0$d6af8b70$@co.uk> <518B7C81.7020801@tor.nl> Message-ID: <03c701ce4caa$50704790$f150d6b0$@co.uk> Hi Tom yes seems identical here's a direct copy and paste: site_url . "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . $extraparams); Does youre's work with .htaccess enabled? Any difference in that .htaccess rule? e.g. ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 09 May 2013 11:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess again!... Ron, Can you double-check the play_html5.php? That works on my website: site_url . "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . $extraparams); Tom P.S. I received your message just now (12:05). Op 8-5-2013 19:03, Ron Mitchell schreef: Hi I was just alerted to the fact that /play_html5_id links I'd previously shared to lo's are no longer working :-( I can live with that and update where I can but it also means that links that Alistair and others have shared previously are also currently broken. I know over time this will fade away as new links are shared etc but this was something that we wanted to avoid if possible. Here's an example link that Alistair shared previously on the lists which doesn't work at the moment: http://vle.jisctechdis.ac.uk/xerte/play_html5_300 It obviously does now work via http://vle.jisctechdis.ac.uk/xerte/play_300 and http://vle.jisctechdis.ac.uk/xerte/play_300 &engine=html But is there a change to the .htaccess rule I can make to still allow http://vle.jisctechdis.ac.uk/xerte/play_html5_300 to work? The previous rule for this was: rewriteRule ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 But http://vle.jisctechdis.ac.uk/xerte/play_html5.php?template_id=300 no longer works so the shorter version doesn't either :-( Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 28 April 2013 15:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Hi Tom I just looked at the export links the install without htaccess was generating via Fiddler and changed the order accordingly e.g. What position template_id appears Cheers Ron Sent from my iPhone On 28 Apr 2013, at 14:15, Tom Reijnders wrote: Only if you replace the /xerte with * again. And, please note, it solves the play and preview differently than your suggestion. For play your suggestion accepts play_126_javascript, whereas my solution accepts play_126?engine=javascript. The latter because that's the way the wizard works now. play_126 will choose the engine based on the default engine chosen by the author. Tom P.S. I don't understand why your modifications work, when the original line doesn't, but I am glad it does.. :-) Op 28-4-2013 14:51, Pat @ Pgogy schreef: Is the htaccess.conf ok Also the play/preview rules? On 28 Apr 2013, at 13:50, "Ron Mitchell" wrote: Hi Tom no need. :-) The attached works for me! Basically changed the order of things in a couple of the export rules: previous line 54 rewriteRule ^export_full_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=fals e&$2 new rewriteRule ^export_full_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?full=true&scorm=false&template_id=$ 1&$2 previous 70 rewriteRule ^scorm_rich_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true &$2 new rewriteRule ^scorm_rich_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?data=rich&scorm=true&template_id=$1 &$2 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 28 April 2013 11:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Ok, I'll have a look, at why those don't work. I'll try to set it up on one of my installations. Bit easier to test... ;-) Tom Op 28-4-2013 11:39, Ron Mitchell schreef: Hi Tom my apologies. I just tracked back through my messages and missed your updated .htaccess partly because you'd renamed it as .txt but that's no excuse for not reading your message properly! :-( I've just put that in place and it seems deployment and 2004 export works but not archive or 1.2? Being dragged out now so will be offline for an hour or two :-0 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 28 April 2013 10:22 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Ron, Apparently you didn't receive my reply on April 25? It oncluded a version that should have a working export for you. It's different than the one you have attached here, so I'll post it again. Tom Op 28-4-2013 11:03, Ron Mitchell schreef: I'm not sure how correct the attached is as it's something I edited over time while 1.9 was being developed. But it worked including export until the engine= changes and I know Tom was going to look at this further but probably hasn't had time yet. The normal play and preview work but export doesn't. Tom suggested the current line 12: rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$ /xerte/preview.php?template_id=$1&$2 and that enables Ctrl + Play to toggle the engine and that works but I haven't been able to find a solution for export. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 27 April 2013 23:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess I have no idea what the export links are now, or what is in the htaccess If you send the links and the export reg exps I will have a look Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To: "For Xerte technical developers" Cc: Sent: Sat, 27 Apr 2013 20:56:07 +0100 Subject: [Xerte-dev] Re: .htaccess Hi Pat/Tom/all is there a solution to this for Export before any of the engine changes Pat has listed are made? We've got a real problem on one of the Techdis installations now where I can't turn .htaccess use off because it would installantly break all the links to LO's Alistair and co have shared but at the same time at the moment with .htaccess on none of the export options work. I don't really want to revert the install back to before Tom's engine= changes but I've tried a few variations of rules to get export to work without success so far. Even if only archive export worked for now that would be better than no export working. Any suggestions? Cheers Ron BTW am I right in thinking the engine.fla still needs to be kept as Flash 8? I no longer have a Flash 8 install and wary of making any changes in CS4. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 25 April 2013 23:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Hello, HTaccess debugging One, the default engine link in the wizard *to me* doesn't follow the HTaccess approach So here are some new HTaccess rules These will work on a localhost/xertetoolkts install if rewriteBase /xertetoolkits is on rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)$ preview.php?template_id=$1&linkID=$2 rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z]+)$ preview.php?template_id=$1&engine=$2 rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z]+)_([A-Za-z0-9]+)$ preview.php?template_id=$1&engine=$2&linkID=$3 In the wizard the following toggle needs to apply (I don't have flash on this computer) If apache is set the link becomes preview_idnumber if control is held down then then link is preview_idnumber_linkID if control is held down then the link is preview_idnumber_enginename (enginename is always text only - no numbers and no ascii) if control and shift are both held down preview_idnumber_enginename_linkID Note enginename comes before linkID I don't have flash to fix this at home, but if some one can put the ifs into the wizard that should fix it Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" Cc: Sent: Thu, 25 Apr 2013 23:18:41 +0100 Subject: [Xerte-dev] Re: .htaccess I am now working in this area, let me see On 25 Apr 2013, at 20:40, Tom Reijnders wrote: Ehmm, can I have your version of the .htacces? I mean how does you normal preview look? I don't understand the /xerte/preview The difference should be the ?(.*) before the $ and the &$2 at the end. Op 25-4-2013 20:44, Ron Mitchell schreef: Hi Tom rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$ */preview.php?template_id=$1&$2 worked for Ctrl + Play preview although I obviously had to change it to /xerte/preview.php rather than */preview.php I tried applying the same principal to one of the export rules but that didn't work - probably due to my lack of knowledge of regular expressions etc :-( Happy to test export additions? I think ideally we need a definitive \setup\htaccess.conf for people to use for reference. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 25 April 2013 10:11 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess No, the wizard tries to load preview.php and play.php, but it doesn't add any sizes to the url, like the xerte play and preview do. The issue with .htaccess and xerte preview is that now you can have url parameters added to the .htaccess urls, like play_126?engine=other, and the rules don't handle the ?engine=other properly. I sent a fix for Ron to try by PM, because I couldn't send anything to the list for some 30 minutes. Tom Op 25-4-2013 11:03, Julian Tenney schreef: OK. Does it impact the re-write rule? At this point I'd rather just make it work, than be graceful. what I think it means is that for bootstrap tempaltes, the url the wizard tries to load will be preview_sitephp and play_site.php? I'm not sure if it affects what you're talking about or not? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 25 April 2013 10:01 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess I didn't change it (combine preview of site and xerte) because the url parameters were different, and I felt we hadn't time to test changes thoroughly enough, so at the moment I only changed the absolute minimum. Tom Op 25-4-2013 10:09, Julian Tenney schreef: In the wizard (I think you mean) is code that launches the site template that does something along the lines of (if templateruntime = 'preview_sitephp') blah which launches the site template in the preview_site page. If you remember, way back when, when we originally anticipated different runtimes, we had a runtime param in the xwd file to point to alternative renderers for content. If you want to look it's in function preview() I would have thought that when the recent modularisation stuff was done, this might have been made redundant, or handled differently, and maybe this code should change? But I don't have enough sight of the other side of the coin to know how? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 24 April 2013 20:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Looks like something is up in the engine as well? On 24 Apr 2013, at 19:41, Tom Reijnders wrote: Ah ok. olet me work on the rewriteRule, because it doesn't argin-bottom-alt:auto">if control and shift are both held down Just been testing this a bit more and for instance with the editor open clicking play to preview works fine with Apache/.htaccess enabled or not but clicking Ctrl + Play with Apache/.htaccess enabled results in http://vle.jisctechdis.ac.uk/xerte/preview_310 &engine=other and so doesn't work ends up with a page not found What needs to change or be added to the .htaccess? e.g. NETGEAR VMDG485 NETGEAR http://www.netgear.com/ VMDG485 VMDG485 VMDG485 http://www.virginmedia.com/ (unimplemented) uuid:upnp-WANConnectionDevice-1_0-20e52aba60fb (unimplemented) urn:schemas-upnp-org:service:WANIPConnection:1 urn:upnp-org:serviceId:WANIPConn1 /WANIPConnection.xml /WANIPConnection /WANIPConnection I think this is an important issue for those using .htaccess previously (e.g. Nottingham) because if Apache was switched off via management existing links would obviously break. But at the moment with Apache enabled I don't think export and Ctrl + Play works. HTH Cheers Ron To: "For Xerte technical developers" ] On Behalf Of Pat @ Pgogy Sent: 22 April 2013 20:05 To: For Xerte technical developers _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottinghamac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 <.htaccess - Copy.txt> _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Thu May 9 12:50:08 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 09 May 2013 13:50:08 +0200 Subject: [Xerte-dev] Re: .htaccess again!... In-Reply-To: <03c701ce4caa$50704790$f150d6b0$@co.uk> References: <002701ce4381$42f1ad20$c8d50760$@co.uk> <91c102e5f21cd09f763576638fb458ca7052f1fc@webmail.hosting.heartinternet.co.uk> <005f01ce43ef$4ccf93c0$e66ebb40$@co.uk> <517CEA50.2030707@tor.nl> <007901ce43f4$3ed87f20$bc897d60$@co.uk> <517CFC0F.10607@tor.nl> <009b01ce440f$029265b0$07b73110$@co.uk> <5AF864D0-2BE6-48F3-8004-F846D365F927@pgogywebstuff.com> <517D210A.7040603@tor.nl> <030d01ce4c0d$f23a83d0$d6af8b70$@co.uk> <518B7C81.7020801@tor.nl> <03c701ce4caa$50704790$f150d6b0$@co.uk> Message-ID: <518B8D70.3040700@tor.nl> Ah, good point. I understand what is happening now. Change the rule to the following please: rewriteRule ^play_html5_([A-Za-z0-9]+)$ /xerte/play.php?engine=html5&template_id=$1 Op 9-5-2013 13:42, Ron Mitchell schreef: > > Hi Tom > > yes seems identical here's a direct copy and paste: > > > require_once(dirname(__FILE__) . "/config.php"); > > global $xerte_toolkits_site; > > $extraparams = ""; > > if (isset($_REQUEST['LinkID'])) > > { > > $extraparams .= "&LinkID=" . $_REQUEST['LinkID']; > > } > > if (isset($_REQUEST['Page'])) > > { > > $extraparams .= "&Page=" . $_REQUEST['Page']; > > } > > header("Location: " . $xerte_toolkits_site->site_url . > "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . > $extraparams); > > Does youre's work with .htaccess enabled? > > Any difference in that .htaccess rule? e.g. > ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 09 May 2013 11:38 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess again!... > > Ron, > > Can you double-check the play_html5.php? That works on my website: > > > > require_once(dirname(__FILE__) . "/config.php"); > > global $xerte_toolkits_site; > > $extraparams = ""; > if (isset($_REQUEST['LinkID'])) > { > $extraparams .= "&LinkID=" . $_REQUEST['LinkID']; > } > > if (isset($_REQUEST['Page'])) > { > $extraparams .= "&Page=" . $_REQUEST['Page']; > } > > > header("Location: " . $xerte_toolkits_site->site_url . > "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . > $extraparams); > > > > Tom > > P.S. I received your message just now (12:05). > > Op 8-5-2013 19:03, Ron Mitchell schreef: > > Hi > > I was just alerted to the fact that /play_html5_id links I'd > previously shared to lo's are no longer working :-( > > I can live with that and update where I can but it also means that > links that Alistair and others have shared previously are also > currently broken. I know over time this will fade away as new > links are shared etc but this was something that we wanted to > avoid if possible. > > Here's an example link that Alistair shared previously on the > lists which doesn't work at the moment: > > http://vle.jisctechdis.ac.uk/xerte/play_html5_300 > > It obviously does now work via > http://vle.jisctechdis.ac.uk/xerte/play_300 and > http://vle.jisctechdis.ac.uk/xerte/play_300&engine=html > > But is there a change to the .htaccess rule I can make to still > allow http://vle.jisctechdis.ac.uk/xerte/play_html5_300 to work? > > The previous rule for this was: rewriteRule > ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 > > But > http://vle.jisctechdis.ac.uk/xerte/play_html5.php?template_id=300 > no longer works so the shorter version doesn't either :-( > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Ron Mitchell > *Sent:* 28 April 2013 15:59 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Hi Tom > > I just looked at the export links the install without htaccess was > generating via Fiddler and changed the order accordingly e.g. What > position template_id appears > > Cheers > > Ron > > Sent from my iPhone > > > On 28 Apr 2013, at 14:15, Tom Reijnders > wrote: > > Only if you replace the /xerte with * again. > > And, please note, it solves the play and preview differently > than your suggestion. > > For play your suggestion accepts play_126_javascript, whereas > my solution accepts play_126?engine=javascript. The latter > because that's the way the wizard works now. > > play_126 will choose the engine based on the default engine > chosen by the author. > > Tom > > P.S. I don't understand why your modifications work, when the > original line doesn't, but I am glad it does.. :-) > > > > > Op 28-4-2013 14:51, Pat @ Pgogy schreef: > > Is the htaccess.conf ok > > Also the play/preview rules? > > > On 28 Apr 2013, at 13:50, "Ron Mitchell" > > wrote: > > Hi Tom > > no need. :-) > > The attached works for me! > > Basically changed the order of things in a couple of > the export rules: > > previous line 54 > > rewriteRule ^export_full_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=false&$2 > > new > > rewriteRule ^export_full_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?full=true&scorm=false&template_id=$1&$2 > > previous 70 > > rewriteRule ^scorm_rich_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true&$2 > > new > > rewriteRule ^scorm_rich_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?data=rich&scorm=true&template_id=$1&$2 > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On > Behalf Of *Tom Reijnders > *Sent:* 28 April 2013 11:38 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Ok, I'll have a look, at why those don't work. I'll > try to set it up on one of my installations. Bit > easier to test... ;-) > > Tom > > Op 28-4-2013 11:39, Ron Mitchell schreef: > > Hi Tom > > my apologies. I just tracked back through my > messages and missed your updated .htaccess partly > because you'd renamed it as .txt but that's no > excuse for not reading your message properly! :-( > > I've just put that in place and it seems > deployment and 2004 export works but not archive > or 1.2? > > > > Being dragged out now so will be offline for an > hour or two :-0 > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 28 April 2013 10:22 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Ron, > > Apparently you didn't receive my reply on April 25? > > It oncluded a version that should have a working > export for you. It's different than the one you > have attached here, so I'll post it again. > > Tom > > Op 28-4-2013 11:03, Ron Mitchell schreef: > > I'm not sure how correct the attached is as > it's something I edited over time while 1.9 > was being developed. But it worked including > export until the engine= changes and I know > Tom was going to look at this further but > probably hasn't had time yet. The normal play > and preview work but export doesn't. > > Tom suggested the current line 12: > > rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$ > /xerte/preview.php?template_id=$1&$2 > > and that enables Ctrl + Play to toggle the > engine and that works but I haven't been able > to find a solution for export. > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *xerte at pgogywebstuff.com > > *Sent:* 27 April 2013 23:58 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > I have no idea what the export links are now, > or what is in the htaccess > > If you send the links and the export reg exps > I will have a look > > > Pgogy Webstuff http://www.pgogywebstuff.com > > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > > *To:* > > "For Xerte technical developers" > > > > *Cc:* > > *Sent:* > > Sat, 27 Apr 2013 20:56:07 +0100 > > *Subject:* > > [Xerte-dev] Re: .htaccess > > > > > > Hi Pat/Tom/all > > is there a solution to this for Export > before any of the engine changes Pat has > listed are made? > > We've got a real problem on one of the > Techdis installations now where I can't > turn .htaccess use off because it would > installantly break all the links to LO's > Alistair and co have shared but at the > same time at the moment with .htaccess on > none of the export options work. I don't > really want to revert the install back to > before Tom's engine= changes but I've > tried a few variations of rules to get > export to work without success so far. > Even if only archive export worked for now > that would be better than no export working. > > Any suggestions? > > Cheers > > Ron > > BTW am I right in thinking the engine.fla > still needs to be kept as Flash 8? I no > longer have a Flash 8 install and wary of > making any changes in CS4. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *xerte at pgogywebstuff.com > > *Sent:* 25 April 2013 23:51 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Hello, > > HTaccess debugging > > One, the default engine link in the wizard > *to me* doesn't follow the HTaccess approach > > So here are some new HTaccess rules > > These will work on a > localhost/xertetoolkts install if > > rewriteBase /xertetoolkits is on > > rewriteRule > ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)$ > preview.php?template_id=$1&linkID=$2 > > rewriteRule > ^preview_([A-Za-z0-9]+)_([A-Za-z]+)$ > preview.php?template_id=$1&engine=$2 > > rewriteRule > ^preview_([A-Za-z0-9]+)_([A-Za-z]+)_([A-Za-z0-9]+)$ > preview.php?template_id=$1&engine=$2&linkID=$3 > > In the wizard the following toggle needs > to apply (I don't have flash on this computer) > > If apache is set the link becomes > > preview_idnumber > > if control is held down then then link is > > preview_idnumber_linkID > > if control is held down then the link is > > preview_idnumber_enginename (enginename is > always text only - no numbers and no ascii) > > if control and shift are both held down > > preview_idnumber_enginename_linkID > > Note enginename comes before linkID > > I don't have flash to fix this at home, > but if some one can put the ifs into the > wizard that should fix it > > > Pgogy Webstuff http://www.pgogywebstuff.com > > Makers of Web things of a fair to middling > quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > > *To:* > > "For Xerte technical developers" > > > > *Cc:* > > *Sent:* > > Thu, 25 Apr 2013 23:18:41 +0100 > > *Subject:* > > [Xerte-dev] Re: .htaccess > > I am now working in this area, let me see > > > On 25 Apr 2013, at 20:40, Tom > Reijnders > wrote: > > Ehmm, can I have your version of > the .htacces? > > I mean how does you normal preview > look? > > I don't understand the /xerte/preview > > The difference should be the ?(.*) > before the $ and the &$2 at the end. > > Op 25-4-2013 20:44, Ron Mitchell > schreef: > > Hi Tom > > rewriteRule > ^preview_([A-Za-z0-9]+)?(.*)$ > */preview.php?template_id=$1&$2 worked > for Ctrl + Play preview > although I obviously had to > change it to > /xerte/preview.php rather than > */preview.php > > I tried applying the same > principal to one of the export > rules but that didn't work - > probably due to my lack of > knowledge of regular > expressions etc :-( > > Happy to test export additions? > > I think ideally we need a > definitive > \setup\htaccess.conf for > people to use for reference. > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 25 April 2013 10:11 > *To:* For Xerte technical > developers > *Subject:* [Xerte-dev] Re: > .htaccess > > No, the wizard tries to load > preview.php and play.php, but > it doesn't add any sizes to > the url, like the xerte play > and preview do. > > > The issue with .htaccess and > xerte preview is that now you > can have url parameters added > to the .htaccess urls, like > play_126?engine=other, and the > rules don't handle the > ?engine=other properly. I sent > a fix for Ron to try by PM, > because I couldn't send > anything to the list for some > 30 minutes. > > > Tom > > Op 25-4-2013 11:03, Julian > Tenney schreef: > > OK. Does it impact the > re-write rule? At this > point I'd rather just make > it work, than be > graceful... what I think > it means is that for > bootstrap tempaltes, the > url the wizard tries to > load will be > preview_sitephp and > play_site.php? I'm not > sure if it affects what > you're talking about or not? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 25 April 2013 10:01 > *To:* For Xerte technical > developers > *Subject:* [Xerte-dev] Re: > .htaccess > > I didn't change it > (combine preview of site > and xerte) because the url > parameters were different, > and I felt we hadn't time > to test changes thoroughly > enough, so at the moment I > only changed the absolute > minimum. > > Tom > > Op 25-4-2013 10:09, Julian > Tenney schreef: > > In the wizard (I think > you mean) is code that > launches the site > template that does > something along the > lines of (if > templateruntime = > 'preview_sitephp') > blah which launches > the site template in > the preview_site page. > If you remember, way > back when, when we > originally anticipated > different runtimes, we > had a runtime param in > the xwd file to point > to alternative > renderers for content. > If you want to look > it's in function preview() > > I would have thought > that when the recent > modularisation stuff > was done, this might > have been made > redundant, or handled > differently, and maybe > this code should > change? But I don't > have enough sight of > the other side of the > coin to know how? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Pat @ > Pgogy > *Sent:* 24 April 2013 > 20:35 > *To:* For Xerte > technical developers > *Subject:* [Xerte-dev] > Re: .htaccess > > Looks like something > is up in the engine as > well? > > > On 24 Apr 2013, at > 19:41, Tom Reijnders > > > wrote: > > Ah ok. olet me > work on the > rewriteRule, > because it doesn't > argin-bottom-alt:auto">if > control and shift > are both held down > > Just been > testing this a > bit more and > for instance > with the > editor open > clicking play > to preview > works fine > with > Apache/.htaccess > enabled or not > but clicking > Ctrl + Play > with > Apache/.htaccess > enabled > results in > http://vle.jisctechdis.ac.uk/xerte/preview_310&engine=other > > and so doesn't > work ends up > with a page > not found > > What needs to > change or be > added to the > .htaccess? > > e.g. > > NETGEAR > VMDG485 > NETGEAR > http://www.netgear.com/ > VMDG485 > VMDG485 > VMDG485 > http://www.virginmedia.com/ > (unimplemented) uuid:upnp-WANConnectionDevice-1_0-20e52aba60fb > (unimplemented) urn:schemas-upnp-org:service:WANIPConnection:1 > urn:upnp-org:serviceId:WANIPConn1 > /WANIPConnection.xml > /WANIPConnection > /WANIPConnection > > I think this > is an > important > issue for > those using > .htaccess > previously > (e.g. > Nottingham) > because if > Apache was > switched off > via management > existing links > would > obviously > break. But at > the moment > with Apache > enabled I > don't think > export and > Ctrl + Play works. > > HTH > > Cheers > > Ron > > *To:* > > "For Xerte > technical > developers" > ] > *On Behalf Of > *Pat @ Pgogy > *Sent:* 22 > April 2013 20:05 > *To:* For > Xerte > technical > developers > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottinghamac.uk/mailman/listinfo/xerte-dev > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > <.htaccess - Copy.txt> > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Thu May 9 13:03:06 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 9 May 2013 13:03:06 +0100 Subject: [Xerte-dev] Re: .htaccess again!... In-Reply-To: <518B8D70.3040700@tor.nl> References: <002701ce4381$42f1ad20$c8d50760$@co.uk> <91c102e5f21cd09f763576638fb458ca7052f1fc@webmail.hosting.heartinternet.co.uk> <005f01ce43ef$4ccf93c0$e66ebb40$@co.uk> <517CEA50.2030707@tor.nl> <007901ce43f4$3ed87f20$bc897d60$@co.uk> <517CFC0F.10607@tor.nl> <009b01ce440f$029265b0$07b73110$@co.uk> <5AF864D0-2BE6-48F3-8004-F846D365F927@pgogywebstuff.com> <517D210A.7040603@tor.nl> <030d01ce4c0d$f23a83d0$d6af8b70$@co.uk> <518B7C81.7020801@tor.nl> <03c701ce4caa$50704790$f150d6b0$@co.uk> <518B8D70.3040700@tor.nl> Message-ID: <03db01ce4cad$2b4f3ef0$81edbcd0$@co.uk> Thanks Tom I'm sure I had tried that but have just put that in place and still no joy. e.g. this works http://vle.jisctechdis.ac.uk/xerte/play_300 but this doesn't work http://vle.jisctechdis.ac.uk/xerte/play_html5_300 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 09 May 2013 12:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess again!... Ah, good point. I understand what is happening now. Change the rule to the following please: rewriteRule ^play_html5_([A-Za-z0-9]+)$ /xerte/play.php?engine=html5&template_id=$1 Op 9-5-2013 13:42, Ron Mitchell schreef: Hi Tom yes seems identical here's a direct copy and paste: site_url . "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . $extraparams); Does youre's work with .htaccess enabled? Any difference in that .htaccess rule? e.g. ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 09 May 2013 11:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess again!... Ron, Can you double-check the play_html5.php? That works on my website: site_url . "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . $extraparams); Tom P.S. I received your message just now (12:05). Op 8-5-2013 19:03, Ron Mitchell schreef: Hi I was just alerted to the fact that /play_html5_id links I'd previously shared to lo's are no longer working :-( I can live with that and update where I can but it also means that links that Alistair and others have shared previously are also currently broken. I know over time this will fade away as new links are shared etc but this was something that we wanted to avoid if possible. Here's an example link that Alistair shared previously on the lists which doesn't work at the moment: http://vle.jisctechdis.ac.uk/xerte/play_html5_300 It obviously does now work via http://vle.jisctechdis.ac.uk/xerte/play_300 and http://vle.jisctechdis.ac.uk/xerte/play_300 &engine=html But is there a change to the .htaccess rule I can make to still allow http://vle.jisctechdis.ac.uk/xerte/play_html5_300 to work? The previous rule for this was: rewriteRule ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 But http://vle.jisctechdis.ac.uk/xerte/play_html5.php?template_id=300 no longer works so the shorter version doesn't either :-( Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 28 April 2013 15:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Hi Tom I just looked at the export links the install without htaccess was generating via Fiddler and changed the order accordingly e.g. What position template_id appears Cheers Ron Sent from my iPhone On 28 Apr 2013, at 14:15, Tom Reijnders wrote: Only if you replace the /xerte with * again. And, please note, it solves the play and preview differently than your suggestion. For play your suggestion accepts play_126_javascript, whereas my solution accepts play_126?engine=javascript. The latter because that's the way the wizard works now. play_126 will choose the engine based on the default engine chosen by the author. Tom P.S. I don't understand why your modifications work, when the original line doesn't, but I am glad it does.. :-) Op 28-4-2013 14:51, Pat @ Pgogy schreef: Is the htaccess.conf ok Also the play/preview rules? On 28 Apr 2013, at 13:50, "Ron Mitchell" wrote: Hi Tom no need. :-) The attached works for me! Basically changed the order of things in a couple of the export rules: previous line 54 rewriteRule ^export_full_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=fals e&$2 new rewriteRule ^export_full_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?full=true&scorm=false&template_id=$ 1&$2 previous 70 rewriteRule ^scorm_rich_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true &$2 new rewriteRule ^scorm_rich_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?data=rich&scorm=true&template_id=$1 &$2 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 28 April 2013 11:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Ok, I'll have a look, at why those don't work. I'll try to set it up on one of my installations. Bit easier to test... ;-) Tom Op 28-4-2013 11:39, Ron Mitchell schreef: Hi Tom my apologies. I just tracked back through my messages and missed your updated .htaccess partly because you'd renamed it as .txt but that's no excuse for not reading your message properly! :-( I've just put that in place and it seems deployment and 2004 export works but not archive or 1.2? Being dragged out now so will be offline for an hour or two :-0 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 28 April 2013 10:22 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Ron, Apparently you didn't receive my reply on April 25? It oncluded a version that should have a working export for you. It's different than the one you have attached here, so I'll post it again. Tom Op 28-4-2013 11:03, Ron Mitchell schreef: I'm not sure how correct the attached is as it's something I edited over time while 1.9 was being developed. But it worked including export until the engine= changes and I know Tom was going to look at this further but probably hasn't had time yet. The normal play and preview work but export doesn't. Tom suggested the current line 12: rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$ /xerte/preview.php?template_id=$1&$2 and that enables Ctrl + Play to toggle the engine and that works but I haven't been able to find a solution for export. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 27 April 2013 23:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess I have no idea what the export links are now, or what is in the htaccess If you send the links and the export reg exps I will have a look Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To: "For Xerte technical developers" Cc: Sent: Sat, 27 Apr 2013 20:56:07 +0100 Subject: [Xerte-dev] Re: .htaccess Hi Pat/Tom/all is there a solution to this for Export before any of the engine changes Pat has listed are made? We've got a real problem on one of the Techdis installations now where I can't turn .htaccess use off because it would installantly break all the links to LO's Alistair and co have shared but at the same time at the moment with .htaccess on none of the export options work. I don't really want to revert the install back to before Tom's engine= changes but I've tried a few variations of rules to get export to work without success so far. Even if only archive export worked for now that would be better than no export working. Any suggestions? Cheers Ron BTW am I right in thinking the engine.fla still needs to be kept as Flash 8? I no longer have a Flash 8 install and wary of making any changes in CS4. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 25 April 2013 23:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Hello, HTaccess debugging One, the default engine link in the wizard *to me* doesn't follow the HTaccess approach So here are some new HTaccess rules These will work on a localhost/xertetoolkts install if rewriteBase /xertetoolkits is on rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)$ preview.php?template_id=$1&linkID=$2 rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z]+)$ preview.php?template_id=$1&engine=$2 rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z]+)_([A-Za-z0-9]+)$ preview.php?template_id=$1&engine=$2&linkID=$3 In the wizard the following toggle needs to apply (I don't have flash on this computer) If apache is set the link becomes preview_idnumber if control is held down then then link is preview_idnumber_linkID if control is held down then the link is preview_idnumber_enginename (enginename is always text only - no numbers and no ascii) if control and shift are both held down preview_idnumber_enginename_linkID Note enginename comes before linkID I don't have flash to fix this at home, but if some one can put the ifs into the wizard that should fix it Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" Cc: Sent: Thu, 25 Apr 2013 23:18:41 +0100 Subject: [Xerte-dev] Re: .htaccess I am now working in this area, let me see On 25 Apr 2013, at 20:40, Tom Reijnders wrote: Ehmm, can I have your version of the .htacces? I mean how does you normal preview look? I don't understand the /xerte/preview The difference should be the ?(.*) before the $ and the &$2 at the end. Op 25-4-2013 20:44, Ron Mitchell schreef: Hi Tom rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$ */preview.php?template_id=$1&$2 worked for Ctrl + Play preview although I obviously had to change it to /xerte/preview.php rather than */preview.php I tried applying the same principal to one of the export rules but that didn't work - probably due to my lack of knowledge of regular expressions etc :-( Happy to test export additions? I think ideally we need a definitive \setup\htaccess.conf for people to use for reference. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 25 April 2013 10:11 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess No, the wizard tries to load preview.php and play.php, but it doesn't add any sizes to the url, like the xerte play and preview do. The issue with .htaccess and xerte preview is that now you can have url parameters added to the .htaccess urls, like play_126?engine=other, and the rules don't handle the ?engine=other properly. I sent a fix for Ron to try by PM, because I couldn't send anything to the list for some 30 minutes. Tom Op 25-4-2013 11:03, Julian Tenney schreef: OK. Does it impact the re-write rule? At this point I'd rather just make it work, than be graceful. what I think it means is that for bootstrap tempaltes, the url the wizard tries to load will be preview_sitephp and play_site.php? I'm not sure if it affects what you're talking about or not? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 25 April 2013 10:01 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess I didn't change it (combine preview of site and xerte) because the url parameters were different, and I felt we hadn't time to test changes thoroughly enough, so at the moment I only changed the absolute minimum. Tom Op 25-4-2013 10:09, Julian Tenney schreef: In the wizard (I think you mean) is code that launches the site template that does something along the lines of (if templateruntime = 'preview_sitephp') blah which launches the site template in the preview_site page. If you remember, way back when, when we originally anticipated different runtimes, we had a runtime param in the xwd file to point to alternative renderers for content. If you want to look it's in function preview() I would have thought that when the recent modularisation stuff was done, this might have been made redundant, or handled differently, and maybe this code should change? But I don't have enough sight of the other side of the coin to know how? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 24 April 2013 20:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Looks like something is up in the engine as well? On 24 Apr 2013, at 19:41, Tom Reijnders wrote: Ah ok. olet me work on the rewriteRule, because it doesn't argin-bottom-alt:auto">if control and shift are both held down Just been testing this a bit more and for instance with the editor open clicking play to preview works fine with Apache/.htaccess enabled or not but clicking Ctrl + Play with Apache/.htaccess enabled results in http://vle.jisctechdis.ac.uk/xerte/preview_310 &engine=other and so doesn't work ends up with a page not found What needs to change or be added to the .htaccess? e.g. NETGEAR VMDG485 NETGEAR http://www.netgear.com/ VMDG485 VMDG485 VMDG485 http://www.virginmedia.com/ (unimplemented) uuid:upnp-WANConnectionDevice-1_0-20e52aba60fb (unimplemented) urn:schemas-upnp-org:service:WANIPConnection:1 urn:upnp-org:serviceId:WANIPConn1 /WANIPConnection.xml /WANIPConnection /WANIPConnection I think this is an important issue for those using .htaccess previously (e.g. Nottingham) because if Apache was switched off via management existing links would obviously break. But at the moment with Apache enabled I don't think export and Ctrl + Play works. HTH Cheers Ron To: "For Xerte technical developers" ] On Behalf Of Pat @ Pgogy Sent: 22 April 2013 20:05 To: For Xerte technical developers _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottinghamac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 <.htaccess - Copy.txt> _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu May 9 13:10:24 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 9 May 2013 13:10:24 +0100 Subject: [Xerte-dev] Re: HTML Editor for comment In-Reply-To: <518B865F.6050907@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A058B@EXCHANGE1.ad.nottingham.ac.uk> <0FF8450B-D7AB-4000-B621-9672CF521F24@pgogywebstuff.com> <518B865F.6050907@tor.nl> Message-ID: Hi Tom, Yes I won't meddle with anything server side just now... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: Thursday, May 09, 2013 12:20 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: HTML Editor for comment I don't mind at all if we do send the data from the server to the client in JSON, i.e. do the conversion once server side. But I would hate to loose the xml for the near future. There is a lot of server-side code that expects this to be xml. Tom Op 9-5-2013 13:06, Smith, John schreef: > My sentiments exactly but It's fine just now as I've written some code to do the parsing of data.xml and I've managed to come up with quite a short recursive routine to do data.xwd to JSON since they both needed converting anyway. > > It seems silly to keep doing this clientside in a responsive app though so it will be easy to switch to json later, especially for the wizard file since it will only need converting occasionally. > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ > Pgogy > Sent: Wednesday, May 08, 2013 5:44 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: HTML Editor for comment > > Curveball time. > > Death to XML > Switch to Json > > On 8 May 2013, at 15:47, Julian Tenney wrote: > >> Good stuff. >> >>> I await Julian's comments though as I'm sure he's thought through most of what could be done (and how to do it) before. >> Only conceptually. What I do know is that I found developing apps like this to be a lot better when you had some proper OO stuff going on, like in Flex: the Xerte 3 editor is very similar - show a tree, click a node, render the form, etc, but the Xerte 3 code was w-a-y easier to cope with than the desktop Xerte code was because you could easily extend components and could do inheritance etc, so I would encourage some sort of framework to underlie the architecture before you end up with spaghetti. I've not tackled a bigger application in JavaScript using those approaches: although the original XMLEngine was OO, with inheritance done the fake way with the prototype object. If you did that, and built components that used composition for the components you can't easily sub-class, that's where I'd start, conceptually, as I say: there are some design patterns that would be relevant. >> >> If it were flex I would think of it as >> >> Tree for the tree, or some sort of component that has the tree you're >> using composition; Form (which holds the editable components) >> EditableComponent (abstract) for capturing the form inputs The actual >> form widgets (sub classes of EditableComponent) TextInput, TextArea, >> Media, ComboBox, etc. These all have things in common (getting / >> setting values to the tree node, for example) >> >> Something like that. The tree is pretty central, I think I started out playing with that and built around it. >> >> The question might be about whether we want to replicate the existing functionality, or whether there are things to address that are currently difficult, or not covered by the xwd. For instance, being able to mess with the insert menu, depending on the level of the selected node? Probably other stuff like that. Global properties cropped up recently. >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, >> John >> Sent: 08 May 2013 14:33 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: HTML Editor for comment >> >> Thanks Ron, I've been monitoring the iPad/Android situation while developing it but with all the different browsers/os versions it gets a bit difficult to be sure that changes that fix one thing will work in the others. I think there are still a few css tweaks needed... >> >> Apologies for the lack or save and play functionality, I'll stay up >> tonight ;-) >> >> I think we need new ideas though and to collate/rate these by desirability. So far I'm duplicating an aged flash interface and we can do things in lots of different ways using html5/jQuery... >> >> Please share the url with any colleagues/contacts who might be able to input to this. I await Julian's comments though as i'm sure he's thought through most of what could be done (and how to do it) before. >> >> John >> >> Sent from Samsung tablet >> >> >> >> -------- Original message -------- >> From: Ron Mitchell >> Date: 08/05/2013 12:35 (GMT+00:00) >> To: 'For Xerte technical developers' >> >> Subject: [Xerte-dev] Re: HTML Editor for comment >> >> >> Looks good John! >> not only consumption on iPad but creation on iPad too - all seems to display fine on my iPad. >> Where's the save and play buttons? ;-) >> >> HTH >> Cheers >> Ron >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, >> John >> Sent: 08 May 2013 13:13 >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] HTML Editor for comment >> >> Hi all, >> >> There's been much talk lately about treeviews etc for the anticipated html editor and I thought that I would put something together to view to get the discussions going further. Its not running directly from a xot install but is parsing a genuine LO xml file created with every page type and with subnodes. >> >> http://xerte.smitcher.com/editor/ >> >> Any comments? Its still very much a WIP but at least demonstrates that jsTree can cope. The question is does it resemble where we want to go? Ron once mentioned possibly having plugins or some kind of visual data on the side panel. These panels are collabsible and resizable and can have multiple headers/footers. The bottom one shows a different type that can be shown and then collapsed. >> >> I'm also interested in how the layout behaves in different browsers/os/devices. >> >> Regards, >> >> John >> >> Sent from Samsung tablet >> >> Glasgow Caledonian University is a registered Scottish charity, >> number >> SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6 >> 219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 1 5691,en.html _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> Glasgow Caledonian University is a registered Scottish charity, >> number >> SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6 >> 219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 1 5691,en.html _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From J.J.Smith at gcu.ac.uk Thu May 9 13:08:45 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 9 May 2013 13:08:45 +0100 Subject: [Xerte-dev] Re: .htaccess again!... In-Reply-To: <03db01ce4cad$2b4f3ef0$81edbcd0$@co.uk> References: <002701ce4381$42f1ad20$c8d50760$@co.uk> <91c102e5f21cd09f763576638fb458ca7052f1fc@webmail.hosting.heartinternet.co.uk> <005f01ce43ef$4ccf93c0$e66ebb40$@co.uk> <517CEA50.2030707@tor.nl> <007901ce43f4$3ed87f20$bc897d60$@co.uk> <517CFC0F.10607@tor.nl> <009b01ce440f$029265b0$07b73110$@co.uk> <5AF864D0-2BE6-48F3-8004-F846D365F927@pgogywebstuff.com> <517D210A.7040603@tor.nl> <030d01ce4c0d$f23a83d0$d6af8b70$@co.uk> <518B7C81.7020801@tor.nl> <03c701ce4caa$50704790$f150d6b0$@co.uk> <518B8D70.3040700@tor.nl> <03db01ce4cad$2b4f3ef0$81edbcd0$@co.uk> Message-ID: That extra /xerte shouldn't be in the rule should it? rewriteRule ^play_html5_([A-Za-z0-9]+)$ play.php?engine=html5&template_id=$1 Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, May 09, 2013 1:03 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: .htaccess again!... Thanks Tom I'm sure I had tried that but have just put that in place and still no joy. e.g. this works http://vle.jisctechdis.ac.uk/xerte/play_300 but this doesn't work http://vle.jisctechdis.ac.uk/xerte/play_html5_300 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 09 May 2013 12:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess again!... Ah, good point. I understand what is happening now. Change the rule to the following please: rewriteRule ^play_html5_([A-Za-z0-9]+)$ /xerte/play.php?engine=html5&template_id=$1 Op 9-5-2013 13:42, Ron Mitchell schreef: Hi Tom yes seems identical here's a direct copy and paste: site_url . "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . $extraparams); Does youre's work with .htaccess enabled? Any difference in that .htaccess rule? e.g. ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 09 May 2013 11:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess again!... Ron, Can you double-check the play_html5.php? That works on my website: site_url . "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . $extraparams); Tom P.S. I received your message just now (12:05). Op 8-5-2013 19:03, Ron Mitchell schreef: Hi I was just alerted to the fact that /play_html5_id links I'd previously shared to lo's are no longer working :-( I can live with that and update where I can but it also means that links that Alistair and others have shared previously are also currently broken. I know over time this will fade away as new links are shared etc but this was something that we wanted to avoid if possible. Here's an example link that Alistair shared previously on the lists which doesn't work at the moment: http://vle.jisctechdis.ac.uk/xerte/play_html5_300 It obviously does now work via http://vle.jisctechdis.ac.uk/xerte/play_300 and http://vle.jisctechdis.ac.uk/xerte/play_300&engine=html But is there a change to the .htaccess rule I can make to still allow http://vle.jisctechdis.ac.uk/xerte/play_html5_300 to work? The previous rule for this was: rewriteRule ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 But http://vle.jisctechdis.ac.uk/xerte/play_html5.php?template_id=300 no longer works so the shorter version doesn't either :-( Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 28 April 2013 15:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Hi Tom I just looked at the export links the install without htaccess was generating via Fiddler and changed the order accordingly e.g. What position template_id appears Cheers Ron Sent from my iPhone On 28 Apr 2013, at 14:15, Tom Reijnders > wrote: Only if you replace the /xerte with * again. And, please note, it solves the play and preview differently than your suggestion. For play your suggestion accepts play_126_javascript, whereas my solution accepts play_126?engine=javascript. The latter because that's the way the wizard works now. play_126 will choose the engine based on the default engine chosen by the author. Tom P.S. I don't understand why your modifications work, when the original line doesn't, but I am glad it does.. :-) Op 28-4-2013 14:51, Pat @ Pgogy schreef: Is the htaccess.conf ok Also the play/preview rules? On 28 Apr 2013, at 13:50, "Ron Mitchell" > wrote: Hi Tom no need. :-) The attached works for me! Basically changed the order of things in a couple of the export rules: previous line 54 rewriteRule ^export_full_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=false&$2 new rewriteRule ^export_full_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?full=true&scorm=false&template_id=$1&$2 previous 70 rewriteRule ^scorm_rich_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true&$2 new rewriteRule ^scorm_rich_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?data=rich&scorm=true&template_id=$1&$2 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 28 April 2013 11:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Ok, I'll have a look, at why those don't work. I'll try to set it up on one of my installations. Bit easier to test... ;-) Tom Op 28-4-2013 11:39, Ron Mitchell schreef: Hi Tom my apologies. I just tracked back through my messages and missed your updated .htaccess partly because you'd renamed it as .txt but that's no excuse for not reading your message properly! :-( I've just put that in place and it seems deployment and 2004 export works but not archive or 1.2? Being dragged out now so will be offline for an hour or two :-0 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 28 April 2013 10:22 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Ron, Apparently you didn't receive my reply on April 25? It oncluded a version that should have a working export for you. It's different than the one you have attached here, so I'll post it again. Tom Op 28-4-2013 11:03, Ron Mitchell schreef: I'm not sure how correct the attached is as it's something I edited over time while 1.9 was being developed. But it worked including export until the engine= changes and I know Tom was going to look at this further but probably hasn't had time yet. The normal play and preview work but export doesn't. Tom suggested the current line 12: rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$ /xerte/preview.php?template_id=$1&$2 and that enables Ctrl + Play to toggle the engine and that works but I haven't been able to find a solution for export. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 27 April 2013 23:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess I have no idea what the export links are now, or what is in the htaccess If you send the links and the export reg exps I will have a look Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Sat, 27 Apr 2013 20:56:07 +0100 Subject: [Xerte-dev] Re: .htaccess Hi Pat/Tom/all is there a solution to this for Export before any of the engine changes Pat has listed are made? We've got a real problem on one of the Techdis installations now where I can't turn .htaccess use off because it would installantly break all the links to LO's Alistair and co have shared but at the same time at the moment with .htaccess on none of the export options work. I don't really want to revert the install back to before Tom's engine= changes but I've tried a few variations of rules to get export to work without success so far. Even if only archive export worked for now that would be better than no export working. Any suggestions? Cheers Ron BTW am I right in thinking the engine.fla still needs to be kept as Flash 8? I no longer have a Flash 8 install and wary of making any changes in CS4. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 25 April 2013 23:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Hello, HTaccess debugging One, the default engine link in the wizard *to me* doesn't follow the HTaccess approach So here are some new HTaccess rules These will work on a localhost/xertetoolkts install if rewriteBase /xertetoolkits is on rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)$ preview.php?template_id=$1&linkID=$2 rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z]+)$ preview.php?template_id=$1&engine=$2 rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z]+)_([A-Za-z0-9]+)$ preview.php?template_id=$1&engine=$2&linkID=$3 In the wizard the following toggle needs to apply (I don't have flash on this computer) If apache is set the link becomes preview_idnumber if control is held down then then link is preview_idnumber_linkID if control is held down then the link is preview_idnumber_enginename (enginename is always text only - no numbers and no ascii) if control and shift are both held down preview_idnumber_enginename_linkID Note enginename comes before linkID I don't have flash to fix this at home, but if some one can put the ifs into the wizard that should fix it Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Thu, 25 Apr 2013 23:18:41 +0100 Subject: [Xerte-dev] Re: .htaccess I am now working in this area, let me see On 25 Apr 2013, at 20:40, Tom Reijnders > wrote: Ehmm, can I have your version of the .htacces? I mean how does you normal preview look? I don't understand the /xerte/preview The difference should be the ?(.*) before the $ and the &$2 at the end. Op 25-4-2013 20:44, Ron Mitchell schreef: Hi Tom rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$ */preview.php?template_id=$1&$2 worked for Ctrl + Play preview although I obviously had to change it to /xerte/preview.php rather than */preview.php I tried applying the same principal to one of the export rules but that didn't work - probably due to my lack of knowledge of regular expressions etc :-( Happy to test export additions? I think ideally we need a definitive \setup\htaccess.conf for people to use for reference. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 25 April 2013 10:11 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess No, the wizard tries to load preview.php and play.php, but it doesn't add any sizes to the url, like the xerte play and preview do. The issue with .htaccess and xerte preview is that now you can have url parameters added to the .htaccess urls, like play_126?engine=other, and the rules don't handle the ?engine=other properly. I sent a fix for Ron to try by PM, because I couldn't send anything to the list for some 30 minutes. Tom Op 25-4-2013 11:03, Julian Tenney schreef: OK. Does it impact the re-write rule? At this point I'd rather just make it work, than be graceful... what I think it means is that for bootstrap tempaltes, the url the wizard tries to load will be preview_sitephp and play_site.php? I'm not sure if it affects what you're talking about or not? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 25 April 2013 10:01 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess I didn't change it (combine preview of site and xerte) because the url parameters were different, and I felt we hadn't time to test changes thoroughly enough, so at the moment I only changed the absolute minimum. Tom Op 25-4-2013 10:09, Julian Tenney schreef: In the wizard (I think you mean) is code that launches the site template that does something along the lines of (if templateruntime = 'preview_sitephp') blah which launches the site template in the preview_site page. If you remember, way back when, when we originally anticipated different runtimes, we had a runtime param in the xwd file to point to alternative renderers for content. If you want to look it's in function preview() I would have thought that when the recent modularisation stuff was done, this might have been made redundant, or handled differently, and maybe this code should change? But I don't have enough sight of the other side of the coin to know how? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 24 April 2013 20:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Looks like something is up in the engine as well? On 24 Apr 2013, at 19:41, Tom Reijnders > wrote: Ah ok. olet me work on the rewriteRule, because it doesn't argin-bottom-alt:auto">if control and shift are both held down Just been testing this a bit more and for instance with the editor open clicking play to preview works fine with Apache/.htaccess enabled or not but clicking Ctrl + Play with Apache/.htaccess enabled results in http://vle.jisctechdis.ac.uk/xerte/preview_310&engine=other and so doesn't work ends up with a page not found What needs to change or be added to the .htaccess? e.g. NETGEAR VMDG485 NETGEAR http://www.netgear.com/ VMDG485 VMDG485 VMDG485 http://www.virginmedia.com/ (unimplemented) uuid:upnp-WANConnectionDevice-1_0-20e52aba60fb (unimplemented) urn:schemas-upnp-org:service:WANIPConnection:1 urn:upnp-org:serviceId:WANIPConn1 /WANIPConnection.xml /WANIPConnection /WANIPConnection I think this is an important issue for those using .htaccess previously (e.g. Nottingham) because if Apache was switched off via management existing links would obviously break. But at the moment with Apache enabled I don't think export and Ctrl + Play works. HTH Cheers Ron To: "For Xerte technical developers" ] On Behalf Of Pat @ Pgogy Sent: 22 April 2013 20:05 To: For Xerte technical developers _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottinghamac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 <.htaccess - Copy.txt> _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Thu May 9 13:13:03 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 09 May 2013 14:13:03 +0200 Subject: [Xerte-dev] Re: .htaccess again!... In-Reply-To: <03db01ce4cad$2b4f3ef0$81edbcd0$@co.uk> References: <002701ce4381$42f1ad20$c8d50760$@co.uk> <91c102e5f21cd09f763576638fb458ca7052f1fc@webmail.hosting.heartinternet.co.uk> <005f01ce43ef$4ccf93c0$e66ebb40$@co.uk> <517CEA50.2030707@tor.nl> <007901ce43f4$3ed87f20$bc897d60$@co.uk> <517CFC0F.10607@tor.nl> <009b01ce440f$029265b0$07b73110$@co.uk> <5AF864D0-2BE6-48F3-8004-F846D365F927@pgogywebstuff.com> <517D210A.7040603@tor.nl> <030d01ce4c0d$f23a83d0$d6af8b70$@co.uk> <518B7C81.7020801@tor.nl> <03c701ce4caa$50704790$f150d6b0$@co.uk> <518B8D70.3040700@tor.nl> <03db01ce4cad$2b4f3ef0$81edbcd0$@co.uk> Message-ID: <518B92CF.8060508@tor.nl> Duhh... sorry, my mistake. It should have been: rewriteRule ^play_html5_([A-Za-z0-9]+)$ /xerte/play.php?engine=javascript&template_id=$1 AND you have to make sure that this rule exits BEFORE the other ^play rules. Op 9-5-2013 14:03, Ron Mitchell schreef: > > Thanks Tom > > I'm sure I had tried that but have just put that in place and still no > joy. > > e.g. this works http://vle.jisctechdis.ac.uk/xerte/play_300 > > but this doesn't work http://vle.jisctechdis.ac.uk/xerte/play_html5_300 > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 09 May 2013 12:50 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess again!... > > Ah, good point. > > I understand what is happening now. > > Change the rule to the following please: > > rewriteRule ^play_html5_([A-Za-z0-9]+)$ > /xerte/play.php?engine=html5&template_id=$1 > > Op 9-5-2013 13:42, Ron Mitchell schreef: > > Hi Tom > > yes seems identical here's a direct copy and paste: > > > require_once(dirname(__FILE__) . "/config.php"); > > global $xerte_toolkits_site; > > $extraparams = ""; > > if (isset($_REQUEST['LinkID'])) > > { > > $extraparams .= "&LinkID=" . $_REQUEST['LinkID']; > > } > > if (isset($_REQUEST['Page'])) > > { > > $extraparams .= "&Page=" . $_REQUEST['Page']; > > } > > header("Location: " . $xerte_toolkits_site->site_url . > "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . > $extraparams); > > Does youre's work with .htaccess enabled? > > Any difference in that .htaccess rule? e.g. > ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Tom Reijnders > *Sent:* 09 May 2013 11:38 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess again!... > > Ron, > > Can you double-check the play_html5.php? That works on my website: > > > > require_once(dirname(__FILE__) . "/config.php"); > > global $xerte_toolkits_site; > > $extraparams = ""; > if (isset($_REQUEST['LinkID'])) > { > $extraparams .= "&LinkID=" . $_REQUEST['LinkID']; > } > > if (isset($_REQUEST['Page'])) > { > $extraparams .= "&Page=" . $_REQUEST['Page']; > } > > > header("Location: " . $xerte_toolkits_site->site_url . > "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . > $extraparams); > > > > Tom > > P.S. I received your message just now (12:05). > > Op 8-5-2013 19:03, Ron Mitchell schreef: > > Hi > > I was just alerted to the fact that /play_html5_id links I'd > previously shared to lo's are no longer working :-( > > I can live with that and update where I can but it also means > that links that Alistair and others have shared previously are > also currently broken. I know over time this will fade away as > new links are shared etc but this was something that we wanted > to avoid if possible. > > Here's an example link that Alistair shared previously on the > lists which doesn't work at the moment: > > http://vle.jisctechdis.ac.uk/xerte/play_html5_300 > > It obviously does now work via > http://vle.jisctechdis.ac.uk/xerte/play_300 and > http://vle.jisctechdis.ac.uk/xerte/play_300&engine=html > > But is there a change to the .htaccess rule I can make to > still allow http://vle.jisctechdis.ac.uk/xerte/play_html5_300 > to work? > > The previous rule for this was: rewriteRule > ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 > > But > http://vle.jisctechdis.ac.uk/xerte/play_html5.php?template_id=300 > no longer works so the shorter version doesn't either :-( > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Ron Mitchell > *Sent:* 28 April 2013 15:59 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Hi Tom > > I just looked at the export links the install without htaccess > was generating via Fiddler and changed the order accordingly > e.g. What position template_id appears > > Cheers > > Ron > > Sent from my iPhone > > > On 28 Apr 2013, at 14:15, Tom Reijnders > wrote: > > Only if you replace the /xerte with * again. > > And, please note, it solves the play and preview > differently than your suggestion. > > For play your suggestion accepts play_126_javascript, > whereas my solution accepts play_126?engine=javascript. > The latter because that's the way the wizard works now. > > play_126 will choose the engine based on the default > engine chosen by the author. > > Tom > > P.S. I don't understand why your modifications work, when > the original line doesn't, but I am glad it does.. :-) > > > > > > Op 28-4-2013 14:51, Pat @ Pgogy schreef: > > Is the htaccess.conf ok > > Also the play/preview rules? > > > On 28 Apr 2013, at 13:50, "Ron Mitchell" > > wrote: > > Hi Tom > > no need. :-) > > The attached works for me! > > Basically changed the order of things in a couple > of the export rules: > > previous line 54 > > rewriteRule ^export_full_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=false&$2 > > new > > rewriteRule ^export_full_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?full=true&scorm=false&template_id=$1&$2 > > previous 70 > > rewriteRule ^scorm_rich_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true&$2 > > new > > rewriteRule ^scorm_rich_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?data=rich&scorm=true&template_id=$1&$2 > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 28 April 2013 11:38 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Ok, I'll have a look, at why those don't work. > I'll try to set it up on one of my installations. > Bit easier to test... ;-) > > Tom > > Op 28-4-2013 11:39, Ron Mitchell schreef: > > Hi Tom > > my apologies. I just tracked back through my > messages and missed your updated .htaccess > partly because you'd renamed it as .txt but > that's no excuse for not reading your message > properly! :-( > > I've just put that in place and it seems > deployment and 2004 export works but not > archive or 1.2? > > > > Being dragged out now so will be offline for > an hour or two :-0 > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 28 April 2013 10:22 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Ron, > > Apparently you didn't receive my reply on > April 25? > > It oncluded a version that should have a > working export for you. It's different than > the one you have attached here, so I'll post > it again. > > Tom > > Op 28-4-2013 11:03, Ron Mitchell schreef: > > I'm not sure how correct the attached is > as it's something I edited over time while > 1.9 was being developed. But it worked > including export until the engine= changes > and I know Tom was going to look at this > further but probably hasn't had time yet. > The normal play and preview work but > export doesn't. > > Tom suggested the current line 12: > > rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$ > /xerte/preview.php?template_id=$1&$2 > > and that enables Ctrl + Play to toggle the > engine and that works but I haven't been > able to find a solution for export. > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *xerte at pgogywebstuff.com > > *Sent:* 27 April 2013 23:58 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > I have no idea what the export links are > now, or what is in the htaccess > > If you send the links and the export reg > exps I will have a look > > > Pgogy Webstuff http://www.pgogywebstuff.com > > Makers of Web things of a fair to middling > quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > > *To:* > > "For Xerte technical developers" > > > > *Cc:* > > *Sent:* > > Sat, 27 Apr 2013 20:56:07 +0100 > > *Subject:* > > [Xerte-dev] Re: .htaccess > > > > > > > Hi Pat/Tom/all > > is there a solution to this for Export > before any of the engine changes Pat > has listed are made? > > We've got a real problem on one of the > Techdis installations now where I > can't turn .htaccess use off because > it would installantly break all the > links to LO's Alistair and co have > shared but at the same time at the > moment with .htaccess on none of the > export options work. I don't really > want to revert the install back to > before Tom's engine= changes but I've > tried a few variations of rules to get > export to work without success so far. > Even if only archive export worked for > now that would be better than no > export working. > > Any suggestions? > > Cheers > > Ron > > BTW am I right in thinking the > engine.fla still needs to be kept as > Flash 8? I no longer have a Flash 8 > install and wary of making any changes > in CS4. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *xerte at pgogywebstuff.com > > *Sent:* 25 April 2013 23:51 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Hello, > > HTaccess debugging > > One, the default engine link in the > wizard *to me* doesn't follow the > HTaccess approach > > So here are some new HTaccess rules > > These will work on a > localhost/xertetoolkts install if > > rewriteBase /xertetoolkits is on > > rewriteRule > ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)$ preview.php?template_id=$1&linkID=$2 > > rewriteRule > ^preview_([A-Za-z0-9]+)_([A-Za-z]+)$ > preview.php?template_id=$1&engine=$2 > > rewriteRule > ^preview_([A-Za-z0-9]+)_([A-Za-z]+)_([A-Za-z0-9]+)$ > preview.php?template_id=$1&engine=$2&linkID=$3 > > In the wizard the following toggle > needs to apply (I don't have flash on > this computer) > > If apache is set the link becomes > > preview_idnumber > > if control is held down then then link is > > preview_idnumber_linkID > > if control is held down then the link is > > preview_idnumber_enginename > (enginename is always text only - no > numbers and no ascii) > > if control and shift are both held down > > preview_idnumber_enginename_linkID > > Note enginename comes before linkID > > I don't have flash to fix this at > home, but if some one can put the ifs > into the wizard that should fix it > > > Pgogy Webstuff > http://www.pgogywebstuff.com > > Makers of Web things of a fair to > middling quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > > *To:* > > "For Xerte technical developers" > > > > *Cc:* > > *Sent:* > > Thu, 25 Apr 2013 23:18:41 +0100 > > *Subject:* > > [Xerte-dev] Re: .htaccess > > I am now working in this area, let > me see > > > On 25 Apr 2013, at 20:40, Tom > Reijnders > wrote: > > Ehmm, can I have your version > of the .htacces? > > I mean how does you normal > preview look? > > I don't understand the > /xerte/preview > > The difference should be the > ?(.*) before the $ and the &$2 > at the end. > > Op 25-4-2013 20:44, Ron > Mitchell schreef: > > Hi Tom > > rewriteRule > ^preview_([A-Za-z0-9]+)?(.*)$ > */preview.php?template_id=$1&$2 > worked for Ctrl + Play > preview although I > obviously had to change it > to /xerte/preview.php > rather than */preview.php > > I tried applying the same > principal to one of the > export rules but that > didn't work - probably due > to my lack of knowledge of > regular expressions etc :-( > > Happy to test export > additions? > > I think ideally we need a > definitive > \setup\htaccess.conf for > people to use for reference. > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 25 April 2013 10:11 > *To:* For Xerte technical > developers > *Subject:* [Xerte-dev] Re: > .htaccess > > No, the wizard tries to > load preview.php and > play.php, but it doesn't > add any sizes to the url, > like the xerte play and > preview do. > > > The issue with .htaccess > and xerte preview is that > now you can have url > parameters added to the > .htaccess urls, like > play_126?engine=other, and > the rules don't handle the > ?engine=other properly. I > sent a fix for Ron to try > by PM, because I couldn't > send anything to the list > for some 30 minutes. > > > Tom > > Op 25-4-2013 11:03, Julian > Tenney schreef: > > OK. Does it impact the > re-write rule? At this > point I'd rather just > make it work, than be > graceful... what I > think it means is that > for bootstrap > tempaltes, the url the > wizard tries to load > will be > preview_sitephp and > play_site.php? I'm not > sure if it affects > what you're talking > about or not? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom > Reijnders > *Sent:* 25 April 2013 > 10:01 > *To:* For Xerte > technical developers > *Subject:* [Xerte-dev] > Re: .htaccess > > I didn't change it > (combine preview of > site and xerte) > because the url > parameters were > different, and I felt > we hadn't time to test > changes thoroughly > enough, so at the > moment I only changed > the absolute minimum. > > Tom > > Op 25-4-2013 10:09, > Julian Tenney schreef: > > In the wizard (I > think you mean) is > code that launches > the site template > that does > something along > the lines of (if > templateruntime = > 'preview_sitephp') > blah which > launches the site > template in the > preview_site page. > If you remember, > way back when, > when we originally > anticipated > different > runtimes, we had a > runtime param in > the xwd file to > point to > alternative > renderers for > content. If you > want to look it's > in function preview() > > I would have > thought that when > the recent > modularisation > stuff was done, > this might have > been made > redundant, or > handled > differently, and > maybe this code > should change? But > I don't have > enough sight of > the other side of > the coin to know how? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Pat > @ Pgogy > *Sent:* 24 April > 2013 20:35 > *To:* For Xerte > technical developers > *Subject:* > [Xerte-dev] Re: > .htaccess > > Looks like > something is up in > the engine as well? > > > On 24 Apr 2013, at > 19:41, Tom > Reijnders > > > wrote: > > Ah ok. olet me > work on the > rewriteRule, > because it > doesn't > argin-bottom-alt:auto">if > control and > shift are both > held down > > Just been > testing > this a bit > more and > for > instance > with the > editor > open > clicking > play to > preview > works fine > with > Apache/.htaccess > enabled or > not but > clicking > Ctrl + > Play with > Apache/.htaccess > enabled > results in > http://vle.jisctechdis.ac.uk/xerte/preview_310&engine=other > > and so > doesn't > work ends > up with a > page not found > > What needs > to change > or be > added to > the .htaccess? > > e.g. > > NETGEAR > VMDG485 > NETGEAR > http://www.netgear.com/ > VMDG485 > VMDG485 > VMDG485 > http://www.virginmedia.com/ > (unimplemented) > uuid:upnp-WANConnectionDevice-1_0-20e52aba60fb > (unimplemented) > urn:schemas-upnp-org:service:WANIPConnection:1 > urn:upnp-org:serviceId:WANIPConn1 > /WANIPConnection.xml > /WANIPConnection > /WANIPConnection > > > I think > this is an > important > issue for > those > using > .htaccess > previously > (e.g. > Nottingham) because > if Apache > was > switched > off via > management > existing > links > would > obviously > break. But > at the > moment > with > Apache > enabled I > don't > think > export and > Ctrl + > Play works. > > HTH > > Cheers > > Ron > > *To:* > > "For Xerte > technical > developers" ] > *On Behalf > Of *Pat @ > Pgogy > *Sent:* 22 > April 2013 > 20:05 > *To:* For > Xerte > technical > developers > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottinghamac.uk/mailman/listinfo/xerte-dev > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > <.htaccess - Copy.txt> > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu May 9 13:16:46 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 9 May 2013 13:16:46 +0100 Subject: [Xerte-dev] Re: .htaccess again!... In-Reply-To: <518B92CF.8060508@tor.nl> References: <002701ce4381$42f1ad20$c8d50760$@co.uk> <91c102e5f21cd09f763576638fb458ca7052f1fc@webmail.hosting.heartinternet.co.uk> <005f01ce43ef$4ccf93c0$e66ebb40$@co.uk> <517CEA50.2030707@tor.nl> <007901ce43f4$3ed87f20$bc897d60$@co.uk> <517CFC0F.10607@tor.nl> <009b01ce440f$029265b0$07b73110$@co.uk> <5AF864D0-2BE6-48F3-8004-F846D365F927@pgogywebstuff.com> <517D210A.7040603@tor.nl> <030d01ce4c0d$f23a83d0$d6af8b70$@co.uk> <518B7C81.7020801@tor.nl> <03c701ce4caa$50704790$f150d6b0$@co.uk> <518B8D70.3040700@tor.nl> <03db01ce4cad$2b4f3ef0$81edbcd0$@co.uk> <518B92CF.8060508@tor.nl> Message-ID: The old rule translates to http://vle.jisctechdis.ac.uk/xerte/play.php?engine=html5&template_id=300 which still appears to load correctly... so can we use both engine=html5 and engine=javascript ? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: Thursday, May 09, 2013 1:13 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess again!... Duhh... sorry, my mistake. It should have been: rewriteRule ^play_html5_([A-Za-z0-9]+)$ /xerte/play.php?engine=javascript&template_id=$1 AND you have to make sure that this rule exits BEFORE the other ^play rules. Op 9-5-2013 14:03, Ron Mitchell schreef: Thanks Tom I'm sure I had tried that but have just put that in place and still no joy. e.g. this works http://vle.jisctechdis.ac.uk/xerte/play_300 but this doesn't work http://vle.jisctechdis.ac.uk/xerte/play_html5_300 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 09 May 2013 12:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess again!... Ah, good point. I understand what is happening now. Change the rule to the following please: rewriteRule ^play_html5_([A-Za-z0-9]+)$ /xerte/play.php?engine=html5&template_id=$1 Op 9-5-2013 13:42, Ron Mitchell schreef: Hi Tom yes seems identical here's a direct copy and paste: site_url . "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . $extraparams); Does youre's work with .htaccess enabled? Any difference in that .htaccess rule? e.g. ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 09 May 2013 11:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess again!... Ron, Can you double-check the play_html5.php? That works on my website: site_url . "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . $extraparams); Tom P.S. I received your message just now (12:05). Op 8-5-2013 19:03, Ron Mitchell schreef: Hi I was just alerted to the fact that /play_html5_id links I'd previously shared to lo's are no longer working :-( I can live with that and update where I can but it also means that links that Alistair and others have shared previously are also currently broken. I know over time this will fade away as new links are shared etc but this was something that we wanted to avoid if possible. Here's an example link that Alistair shared previously on the lists which doesn't work at the moment: http://vle.jisctechdis.ac.uk/xerte/play_html5_300 It obviously does now work via http://vle.jisctechdis.ac.uk/xerte/play_300 and http://vle.jisctechdis.ac.uk/xerte/play_300&engine=html But is there a change to the .htaccess rule I can make to still allow http://vle.jisctechdis.ac.uk/xerte/play_html5_300 to work? The previous rule for this was: rewriteRule ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 But http://vle.jisctechdis.ac.uk/xerte/play_html5.php?template_id=300 no longer works so the shorter version doesn't either :-( Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 28 April 2013 15:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Hi Tom I just looked at the export links the install without htaccess was generating via Fiddler and changed the order accordingly e.g. What position template_id appears Cheers Ron Sent from my iPhone On 28 Apr 2013, at 14:15, Tom Reijnders > wrote: Only if you replace the /xerte with * again. And, please note, it solves the play and preview differently than your suggestion. For play your suggestion accepts play_126_javascript, whereas my solution accepts play_126?engine=javascript. The latter because that's the way the wizard works now. play_126 will choose the engine based on the default engine chosen by the author. Tom P.S. I don't understand why your modifications work, when the original line doesn't, but I am glad it does.. :-) Op 28-4-2013 14:51, Pat @ Pgogy schreef: Is the htaccess.conf ok Also the play/preview rules? On 28 Apr 2013, at 13:50, "Ron Mitchell" > wrote: Hi Tom no need. :-) The attached works for me! Basically changed the order of things in a couple of the export rules: previous line 54 rewriteRule ^export_full_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=false&$2 new rewriteRule ^export_full_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?full=true&scorm=false&template_id=$1&$2 previous 70 rewriteRule ^scorm_rich_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true&$2 new rewriteRule ^scorm_rich_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?data=rich&scorm=true&template_id=$1&$2 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 28 April 2013 11:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Ok, I'll have a look, at why those don't work. I'll try to set it up on one of my installations. Bit easier to test... ;-) Tom Op 28-4-2013 11:39, Ron Mitchell schreef: Hi Tom my apologies. I just tracked back through my messages and missed your updated .htaccess partly because you'd renamed it as .txt but that's no excuse for not reading your message properly! :-( I've just put that in place and it seems deployment and 2004 export works but not archive or 1.2? Being dragged out now so will be offline for an hour or two :-0 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 28 April 2013 10:22 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Ron, Apparently you didn't receive my reply on April 25? It oncluded a version that should have a working export for you. It's different than the one you have attached here, so I'll post it again. Tom Op 28-4-2013 11:03, Ron Mitchell schreef: I'm not sure how correct the attached is as it's something I edited over time while 1.9 was being developed. But it worked including export until the engine= changes and I know Tom was going to look at this further but probably hasn't had time yet. The normal play and preview work but export doesn't. Tom suggested the current line 12: rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$ /xerte/preview.php?template_id=$1&$2 and that enables Ctrl + Play to toggle the engine and that works but I haven't been able to find a solution for export. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 27 April 2013 23:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess I have no idea what the export links are now, or what is in the htaccess If you send the links and the export reg exps I will have a look Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Sat, 27 Apr 2013 20:56:07 +0100 Subject: [Xerte-dev] Re: .htaccess Hi Pat/Tom/all is there a solution to this for Export before any of the engine changes Pat has listed are made? We've got a real problem on one of the Techdis installations now where I can't turn .htaccess use off because it would installantly break all the links to LO's Alistair and co have shared but at the same time at the moment with .htaccess on none of the export options work. I don't really want to revert the install back to before Tom's engine= changes but I've tried a few variations of rules to get export to work without success so far. Even if only archive export worked for now that would be better than no export working. Any suggestions? Cheers Ron BTW am I right in thinking the engine.fla still needs to be kept as Flash 8? I no longer have a Flash 8 install and wary of making any changes in CS4. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 25 April 2013 23:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Hello, HTaccess debugging One, the default engine link in the wizard *to me* doesn't follow the HTaccess approach So here are some new HTaccess rules These will work on a localhost/xertetoolkts install if rewriteBase /xertetoolkits is on rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)$ preview.php?template_id=$1&linkID=$2 rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z]+)$ preview.php?template_id=$1&engine=$2 rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z]+)_([A-Za-z0-9]+)$ preview.php?template_id=$1&engine=$2&linkID=$3 In the wizard the following toggle needs to apply (I don't have flash on this computer) If apache is set the link becomes preview_idnumber if control is held down then then link is preview_idnumber_linkID if control is held down then the link is preview_idnumber_enginename (enginename is always text only - no numbers and no ascii) if control and shift are both held down preview_idnumber_enginename_linkID Note enginename comes before linkID I don't have flash to fix this at home, but if some one can put the ifs into the wizard that should fix it Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Thu, 25 Apr 2013 23:18:41 +0100 Subject: [Xerte-dev] Re: .htaccess I am now working in this area, let me see On 25 Apr 2013, at 20:40, Tom Reijnders > wrote: Ehmm, can I have your version of the .htacces? I mean how does you normal preview look? I don't understand the /xerte/preview The difference should be the ?(.*) before the $ and the &$2 at the end. Op 25-4-2013 20:44, Ron Mitchell schreef: Hi Tom rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$ */preview.php?template_id=$1&$2 worked for Ctrl + Play preview although I obviously had to change it to /xerte/preview.php rather than */preview.php I tried applying the same principal to one of the export rules but that didn't work - probably due to my lack of knowledge of regular expressions etc :-( Happy to test export additions? I think ideally we need a definitive \setup\htaccess.conf for people to use for reference. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 25 April 2013 10:11 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess No, the wizard tries to load preview.php and play.php, but it doesn't add any sizes to the url, like the xerte play and preview do. The issue with .htaccess and xerte preview is that now you can have url parameters added to the .htaccess urls, like play_126?engine=other, and the rules don't handle the ?engine=other properly. I sent a fix for Ron to try by PM, because I couldn't send anything to the list for some 30 minutes. Tom Op 25-4-2013 11:03, Julian Tenney schreef: OK. Does it impact the re-write rule? At this point I'd rather just make it work, than be graceful... what I think it means is that for bootstrap tempaltes, the url the wizard tries to load will be preview_sitephp and play_site.php? I'm not sure if it affects what you're talking about or not? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 25 April 2013 10:01 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess I didn't change it (combine preview of site and xerte) because the url parameters were different, and I felt we hadn't time to test changes thoroughly enough, so at the moment I only changed the absolute minimum. Tom Op 25-4-2013 10:09, Julian Tenney schreef: In the wizard (I think you mean) is code that launches the site template that does something along the lines of (if templateruntime = 'preview_sitephp') blah which launches the site template in the preview_site page. If you remember, way back when, when we originally anticipated different runtimes, we had a runtime param in the xwd file to point to alternative renderers for content. If you want to look it's in function preview() I would have thought that when the recent modularisation stuff was done, this might have been made redundant, or handled differently, and maybe this code should change? But I don't have enough sight of the other side of the coin to know how? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 24 April 2013 20:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Looks like something is up in the engine as well? On 24 Apr 2013, at 19:41, Tom Reijnders > wrote: Ah ok. olet me work on the rewriteRule, because it doesn't argin-bottom-alt:auto">if control and shift are both held down Just been testing this a bit more and for instance with the editor open clicking play to preview works fine with Apache/.htaccess enabled or not but clicking Ctrl + Play with Apache/.htaccess enabled results in http://vle.jisctechdis.ac.uk/xerte/preview_310&engine=other and so doesn't work ends up with a page not found What needs to change or be added to the .htaccess? e.g. NETGEAR VMDG485 NETGEAR http://www.netgear.com/ VMDG485 VMDG485 VMDG485 http://www.virginmedia.com/ (unimplemented) uuid:upnp-WANConnectionDevice-1_0-20e52aba60fb (unimplemented) urn:schemas-upnp-org:service:WANIPConnection:1 urn:upnp-org:serviceId:WANIPConn1 /WANIPConnection.xml /WANIPConnection /WANIPConnection I think this is an important issue for those using .htaccess previously (e.g. Nottingham) because if Apache was switched off via management existing links would obviously break. But at the moment with Apache enabled I don't think export and Ctrl + Play works. HTH Cheers Ron To: "For Xerte technical developers" ] On Behalf Of Pat @ Pgogy Sent: 22 April 2013 20:05 To: For Xerte technical developers _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottinghamac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 <.htaccess - Copy.txt> _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Thu May 9 13:17:20 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 09 May 2013 14:17:20 +0200 Subject: [Xerte-dev] Re: .htaccess again!... In-Reply-To: References: <002701ce4381$42f1ad20$c8d50760$@co.uk> <91c102e5f21cd09f763576638fb458ca7052f1fc@webmail.hosting.heartinternet.co.uk> <005f01ce43ef$4ccf93c0$e66ebb40$@co.uk> <517CEA50.2030707@tor.nl> <007901ce43f4$3ed87f20$bc897d60$@co.uk> <517CFC0F.10607@tor.nl> <009b01ce440f$029265b0$07b73110$@co.uk> <5AF864D0-2BE6-48F3-8004-F846D365F927@pgogywebstuff.com> <517D210A.7040603@tor.nl> <030d01ce4c0d$f23a83d0$d6af8b70$@co.uk> <518B7C81.7020801@tor.nl> <03c701ce4caa$50704790$f150d6b0$@co.uk> <518B8D70.3040700@tor.nl> <03db01ce4cad$2b4f3ef0$81edbcd0$@co.uk> Message-ID: <518B93D0.8020907@tor.nl> Not normally, it should be * in the htaccess.conf file in the installation, but for Ron's specific installation, it should be in there yes. Op 9-5-2013 14:08, Smith, John schreef: > > That extra /xerte shouldn't be in the rule should it? > > rewriteRule ^play_html5_([A-Za-z0-9]+)$ > play.php?engine=html5&template_id=$1 > > Regards, > > John Smith > > Learning Technologist > > School of Health & Life Sciences > > Glasgow Caledonian University > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron > Mitchell > *Sent:* Thursday, May 09, 2013 1:03 PM > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: .htaccess again!... > > Thanks Tom > > I'm sure I had tried that but have just put that in place and still no > joy. > > e.g. this works http://vle.jisctechdis.ac.uk/xerte/play_300 > > but this doesn't work http://vle.jisctechdis.ac.uk/xerte/play_html5_300 > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 09 May 2013 12:50 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess again!... > > Ah, good point. > > I understand what is happening now. > > Change the rule to the following please: > > rewriteRule ^play_html5_([A-Za-z0-9]+)$ > /xerte/play.php?engine=html5&template_id=$1 > > Op 9-5-2013 13:42, Ron Mitchell schreef: > > Hi Tom > > yes seems identical here's a direct copy and paste: > > > require_once(dirname(__FILE__) . "/config.php"); > > global $xerte_toolkits_site; > > $extraparams = ""; > > if (isset($_REQUEST['LinkID'])) > > { > > $extraparams .= "&LinkID=" . $_REQUEST['LinkID']; > > } > > if (isset($_REQUEST['Page'])) > > { > > $extraparams .= "&Page=" . $_REQUEST['Page']; > > } > > header("Location: " . $xerte_toolkits_site->site_url . > "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . > $extraparams); > > Does youre's work with .htaccess enabled? > > Any difference in that .htaccess rule? e.g. > ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Tom Reijnders > *Sent:* 09 May 2013 11:38 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess again!... > > Ron, > > Can you double-check the play_html5.php? That works on my website: > > > > require_once(dirname(__FILE__) . "/config.php"); > > global $xerte_toolkits_site; > > $extraparams = ""; > if (isset($_REQUEST['LinkID'])) > { > $extraparams .= "&LinkID=" . $_REQUEST['LinkID']; > } > > if (isset($_REQUEST['Page'])) > { > $extraparams .= "&Page=" . $_REQUEST['Page']; > } > > > header("Location: " . $xerte_toolkits_site->site_url . > "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . > $extraparams); > > > > Tom > > P.S. I received your message just now (12:05). > > Op 8-5-2013 19:03, Ron Mitchell schreef: > > Hi > > I was just alerted to the fact that /play_html5_id links I'd > previously shared to lo's are no longer working :-( > > I can live with that and update where I can but it also means > that links that Alistair and others have shared previously are > also currently broken. I know over time this will fade away as > new links are shared etc but this was something that we wanted > to avoid if possible. > > Here's an example link that Alistair shared previously on the > lists which doesn't work at the moment: > > http://vle.jisctechdis.ac.uk/xerte/play_html5_300 > > It obviously does now work via > http://vle.jisctechdis.ac.uk/xerte/play_300 and > http://vle.jisctechdis.ac.uk/xerte/play_300&engine=html > > But is there a change to the .htaccess rule I can make to > still allow http://vle.jisctechdis.ac.uk/xerte/play_html5_300 > to work? > > The previous rule for this was: rewriteRule > ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 > > But > http://vle.jisctechdis.ac.uk/xerte/play_html5.php?template_id=300 > no longer works so the shorter version doesn't either :-( > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Ron Mitchell > *Sent:* 28 April 2013 15:59 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Hi Tom > > I just looked at the export links the install without htaccess > was generating via Fiddler and changed the order accordingly > e.g. What position template_id appears > > Cheers > > Ron > > Sent from my iPhone > > > On 28 Apr 2013, at 14:15, Tom Reijnders > wrote: > > Only if you replace the /xerte with * again. > > And, please note, it solves the play and preview > differently than your suggestion. > > For play your suggestion accepts play_126_javascript, > whereas my solution accepts play_126?engine=javascript. > The latter because that's the way the wizard works now. > > play_126 will choose the engine based on the default > engine chosen by the author. > > Tom > > P.S. I don't understand why your modifications work, when > the original line doesn't, but I am glad it does.. :-) > > > > > Op 28-4-2013 14:51, Pat @ Pgogy schreef: > > Is the htaccess.conf ok > > Also the play/preview rules? > > > On 28 Apr 2013, at 13:50, "Ron Mitchell" > > wrote: > > Hi Tom > > no need. :-) > > The attached works for me! > > Basically changed the order of things in a couple > of the export rules: > > previous line 54 > > rewriteRule ^export_full_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=false&$2 > > new > > rewriteRule ^export_full_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?full=true&scorm=false&template_id=$1&$2 > > previous 70 > > rewriteRule ^scorm_rich_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true&$2 > > new > > rewriteRule ^scorm_rich_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?data=rich&scorm=true&template_id=$1&$2 > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 28 April 2013 11:38 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Ok, I'll have a look, at why those don't work. > I'll try to set it up on one of my installations. > Bit easier to test... ;-) > > Tom > > Op 28-4-2013 11:39, Ron Mitchell schreef: > > Hi Tom > > my apologies. I just tracked back through my > messages and missed your updated .htaccess > partly because you'd renamed it as .txt but > that's no excuse for not reading your message > properly! :-( > > I've just put that in place and it seems > deployment and 2004 export works but not > archive or 1.2? > > > > Being dragged out now so will be offline for > an hour or two :-0 > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 28 April 2013 10:22 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Ron, > > Apparently you didn't receive my reply on > April 25? > > It oncluded a version that should have a > working export for you. It's different than > the one you have attached here, so I'll post > it again. > > Tom > > Op 28-4-2013 11:03, Ron Mitchell schreef: > > I'm not sure how correct the attached is > as it's something I edited over time while > 1.9 was being developed. But it worked > including export until the engine= changes > and I know Tom was going to look at this > further but probably hasn't had time yet. > The normal play and preview work but > export doesn't. > > Tom suggested the current line 12: > > rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$ > /xerte/preview.php?template_id=$1&$2 > > and that enables Ctrl + Play to toggle the > engine and that works but I haven't been > able to find a solution for export. > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *xerte at pgogywebstuff.com > > *Sent:* 27 April 2013 23:58 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > I have no idea what the export links are > now, or what is in the htaccess > > If you send the links and the export reg > exps I will have a look > > > Pgogy Webstuff http://www.pgogywebstuff.com > > Makers of Web things of a fair to middling > quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > > *To:* > > "For Xerte technical developers" > > > > *Cc:* > > *Sent:* > > Sat, 27 Apr 2013 20:56:07 +0100 > > *Subject:* > > [Xerte-dev] Re: .htaccess > > > > > > Hi Pat/Tom/all > > is there a solution to this for Export > before any of the engine changes Pat > has listed are made? > > We've got a real problem on one of the > Techdis installations now where I > can't turn .htaccess use off because > it would installantly break all the > links to LO's Alistair and co have > shared but at the same time at the > moment with .htaccess on none of the > export options work. I don't really > want to revert the install back to > before Tom's engine= changes but I've > tried a few variations of rules to get > export to work without success so far. > Even if only archive export worked for > now that would be better than no > export working. > > Any suggestions? > > Cheers > > Ron > > BTW am I right in thinking the > engine.fla still needs to be kept as > Flash 8? I no longer have a Flash 8 > install and wary of making any changes > in CS4. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *xerte at pgogywebstuff.com > > *Sent:* 25 April 2013 23:51 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Hello, > > HTaccess debugging > > One, the default engine link in the > wizard *to me* doesn't follow the > HTaccess approach > > So here are some new HTaccess rules > > These will work on a > localhost/xertetoolkts install if > > rewriteBase /xertetoolkits is on > > rewriteRule > ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)$ preview.php?template_id=$1&linkID=$2 > > rewriteRule > ^preview_([A-Za-z0-9]+)_([A-Za-z]+)$ > preview.php?template_id=$1&engine=$2 > > rewriteRule > ^preview_([A-Za-z0-9]+)_([A-Za-z]+)_([A-Za-z0-9]+)$ > preview.php?template_id=$1&engine=$2&linkID=$3 > > In the wizard the following toggle > needs to apply (I don't have flash on > this computer) > > If apache is set the link becomes > > preview_idnumber > > if control is held down then then link is > > preview_idnumber_linkID > > if control is held down then the link is > > preview_idnumber_enginename > (enginename is always text only - no > numbers and no ascii) > > if control and shift are both held down > > preview_idnumber_enginename_linkID > > Note enginename comes before linkID > > I don't have flash to fix this at > home, but if some one can put the ifs > into the wizard that should fix it > > > Pgogy Webstuff > http://www.pgogywebstuff.com > > Makers of Web things of a fair to > middling quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > > *To:* > > "For Xerte technical developers" > > > > *Cc:* > > *Sent:* > > Thu, 25 Apr 2013 23:18:41 +0100 > > *Subject:* > > [Xerte-dev] Re: .htaccess > > I am now working in this area, let > me see > > > On 25 Apr 2013, at 20:40, Tom > Reijnders > wrote: > > Ehmm, can I have your version > of the .htacces? > > I mean how does you normal > preview look? > > I don't understand the > /xerte/preview > > The difference should be the > ?(.*) before the $ and the &$2 > at the end. > > Op 25-4-2013 20:44, Ron > Mitchell schreef: > > Hi Tom > > rewriteRule > ^preview_([A-Za-z0-9]+)?(.*)$ > */preview.php?template_id=$1&$2 > worked for Ctrl + Play > preview although I > obviously had to change it > to /xerte/preview.php > rather than */preview.php > > I tried applying the same > principal to one of the > export rules but that > didn't work - probably due > to my lack of knowledge of > regular expressions etc :-( > > Happy to test export > additions? > > I think ideally we need a > definitive > \setup\htaccess.conf for > people to use for reference. > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 25 April 2013 10:11 > *To:* For Xerte technical > developers > *Subject:* [Xerte-dev] Re: > .htaccess > > No, the wizard tries to > load preview.php and > play.php, but it doesn't > add any sizes to the url, > like the xerte play and > preview do. > > > The issue with .htaccess > and xerte preview is that > now you can have url > parameters added to the > .htaccess urls, like > play_126?engine=other, and > the rules don't handle the > ?engine=other properly. I > sent a fix for Ron to try > by PM, because I couldn't > send anything to the list > for some 30 minutes. > > > Tom > > Op 25-4-2013 11:03, Julian > Tenney schreef: > > OK. Does it impact the > re-write rule? At this > point I'd rather just > make it work, than be > graceful... what I > think it means is that > for bootstrap > tempaltes, the url the > wizard tries to load > will be > preview_sitephp and > play_site.php? I'm not > sure if it affects > what you're talking > about or not? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom > Reijnders > *Sent:* 25 April 2013 > 10:01 > *To:* For Xerte > technical developers > *Subject:* [Xerte-dev] > Re: .htaccess > > I didn't change it > (combine preview of > site and xerte) > because the url > parameters were > different, and I felt > we hadn't time to test > changes thoroughly > enough, so at the > moment I only changed > the absolute minimum. > > Tom > > Op 25-4-2013 10:09, > Julian Tenney schreef: > > In the wizard (I > think you mean) is > code that launches > the site template > that does > something along > the lines of (if > templateruntime = > 'preview_sitephp') > blah which > launches the site > template in the > preview_site page. > If you remember, > way back when, > when we originally > anticipated > different > runtimes, we had a > runtime param in > the xwd file to > point to > alternative > renderers for > content. If you > want to look it's > in function preview() > > I would have > thought that when > the recent > modularisation > stuff was done, > this might have > been made > redundant, or > handled > differently, and > maybe this code > should change? But > I don't have > enough sight of > the other side of > the coin to know how? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Pat > @ Pgogy > *Sent:* 24 April > 2013 20:35 > *To:* For Xerte > technical developers > *Subject:* > [Xerte-dev] Re: > .htaccess > > Looks like > something is up in > the engine as well? > > > On 24 Apr 2013, at > 19:41, Tom > Reijnders > > > wrote: > > Ah ok. olet me > work on the > rewriteRule, > because it > doesn't > argin-bottom-alt:auto">if > control and > shift are both > held down > > Just been > testing > this a bit > more and > for > instance > with the > editor > open > clicking > play to > preview > works fine > with > Apache/.htaccess > enabled or > not but > clicking > Ctrl + > Play with > Apache/.htaccess > enabled > results in > http://vle.jisctechdis.ac.uk/xerte/preview_310&engine=other > > and so > doesn't > work ends > up with a > page not found > > What needs > to change > or be > added to > the .htaccess? > > e.g. > > NETGEAR > VMDG485 > NETGEAR > http://www.netgear.com/ > VMDG485 > VMDG485 > VMDG485 > http://www.virginmedia.com/ > (unimplemented) > uuid:upnp-WANConnectionDevice-1_0-20e52aba60fb > (unimplemented) > urn:schemas-upnp-org:service:WANIPConnection:1 > urn:upnp-org:serviceId:WANIPConn1 > /WANIPConnection.xml > /WANIPConnection > /WANIPConnection > > > I think > this is an > important > issue for > those > using > .htaccess > previously > (e.g. > Nottingham) because > if Apache > was > switched > off via > management > existing > links > would > obviously > break. But > at the > moment > with > Apache > enabled I > don't > think > export and > Ctrl + > Play works. > > HTH > > Cheers > > Ron > > *To:* > > "For Xerte > technical > developers" ] > *On Behalf > Of *Pat @ > Pgogy > *Sent:* 22 > April 2013 > 20:05 > *To:* For > Xerte > technical > developers > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottinghamac.uk/mailman/listinfo/xerte-dev > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > <.htaccess - Copy.txt> > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of > the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu May 9 13:20:12 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 9 May 2013 13:20:12 +0100 Subject: [Xerte-dev] Re: Update example in management.php In-Reply-To: <3F9F651C-3140-4D19-B30F-FAE9FA124795@pgogywebstuff.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A06D3@EXCHANGE1.ad.nottingham.ac.uk> <3F9F651C-3140-4D19-B30F-FAE9FA124795@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0957@EXCHANGE1.ad.nottingham.ac.uk> It has now, I think some network screwiness earlier. When you add a site example, the pop up window doesn?t have scrollbars?? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 09 May 2013 11:16 To: For Xerte technical developers Subject: [Xerte-dev] Re: Update example in management.php Has the ID been updated? On 9 May 2013, at 08:18, Julian Tenney > wrote: When I try and update the ID number for the examples, it changes in management.php, but the example fired up from the list of templates doesn?t change? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Thu May 9 13:32:50 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Thu, 9 May 2013 13:32:50 +0100 Subject: [Xerte-dev] Re: Update example in management.php In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0957@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A06D3@EXCHANGE1.ad.nottingham.ac.uk> <3F9F651C-3140-4D19-B30F-FAE9FA124795@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C518A0957@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <3B68F8CE-F0B0-42DA-A81E-382A65ED3833@pgogywebstuff.com> What's the URL opened when you click on the play button? On 9 May 2013, at 13:20, Julian Tenney wrote: > It has now, I think some network screwiness earlier. > > When you add a site example, the pop up window doesn?t have scrollbars?? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 09 May 2013 11:16 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Update example in management.php > > Has the ID been updated? > > On 9 May 2013, at 08:18, Julian Tenney wrote: > > When I try and update the ID number for the examples, it changes in management.php, but the example fired up from the list of templates doesn?t change? > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Thu May 9 13:35:14 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 9 May 2013 13:35:14 +0100 Subject: [Xerte-dev] Re: .htaccess again!... In-Reply-To: <518B92CF.8060508@tor.nl> References: <002701ce4381$42f1ad20$c8d50760$@co.uk> <91c102e5f21cd09f763576638fb458ca7052f1fc@webmail.hosting.heartinternet.co.uk> <005f01ce43ef$4ccf93c0$e66ebb40$@co.uk> <517CEA50.2030707@tor.nl> <007901ce43f4$3ed87f20$bc897d60$@co.uk> <517CFC0F.10607@tor.nl> <009b01ce440f$029265b0$07b73110$@co.uk> <5AF864D0-2BE6-48F3-8004-F846D365F927@pgogywebstuff.com> <517D210A.7040603@tor.nl> <030d01ce4c0d$f23a83d0$d6af8b70$@co.uk> <518B7C81.7020801@tor.nl> <03c701ce4caa$50704790$f150d6b0$@co.uk> <518B8D70.3040700@tor.nl> <03db01ce4cad$2b4f3ef0$81edbcd0$@co.uk> <518B92CF.8060508@tor.nl> Message-ID: <040401ce4cb1$a8cd9210$fa68b630$@co.uk> Duhh, Duhh and triple Duhh! ;-) Suffice to say before raising this sort of question here I would have already tried various permutations and although with hindsight I know that as soon as a rule is matched the others are ignored it never occurred to me to move this rule above the other play rules! :-( Works now cheers Tom! Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 09 May 2013 13:13 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess again!... Duhh... sorry, my mistake. It should have been: rewriteRule ^play_html5_([A-Za-z0-9]+)$ /xerte/play.php?engine=javascript&template_id=$1 AND you have to make sure that this rule exits BEFORE the other ^play rules. Op 9-5-2013 14:03, Ron Mitchell schreef: Thanks Tom I'm sure I had tried that but have just put that in place and still no joy. e.g. this works http://vle.jisctechdis.ac.uk/xerte/play_300 but this doesn't work http://vle.jisctechdis.ac.uk/xerte/play_html5_300 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 09 May 2013 12:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess again!... Ah, good point. I understand what is happening now. Change the rule to the following please: rewriteRule ^play_html5_([A-Za-z0-9]+)$ /xerte/play.php?engine=html5&template_id=$1 Op 9-5-2013 13:42, Ron Mitchell schreef: Hi Tom yes seems identical here's a direct copy and paste: site_url . "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . $extraparams); Does youre's work with .htaccess enabled? Any difference in that .htaccess rule? e.g. ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 09 May 2013 11:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess again!... Ron, Can you double-check the play_html5.php? That works on my website: site_url . "play.php?engine=html5&template_id=" . $_REQUEST['template_id'] . $extraparams); Tom P.S. I received your message just now (12:05). Op 8-5-2013 19:03, Ron Mitchell schreef: Hi I was just alerted to the fact that /play_html5_id links I'd previously shared to lo's are no longer working :-( I can live with that and update where I can but it also means that links that Alistair and others have shared previously are also currently broken. I know over time this will fade away as new links are shared etc but this was something that we wanted to avoid if possible. Here's an example link that Alistair shared previously on the lists which doesn't work at the moment: http://vle.jisctechdis.ac.uk/xerte/play_html5_300 It obviously does now work via http://vle.jisctechdis.ac.uk/xerte/play_300 and http://vle.jisctechdis.ac.uk/xerte/play_300 &engine=html But is there a change to the .htaccess rule I can make to still allow http://vle.jisctechdis.ac.uk/xerte/play_html5_300 to work? The previous rule for this was: rewriteRule ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 But http://vle.jisctechdis.ac.uk/xerte/play_html5.php?template_id=300 no longer works so the shorter version doesn't either :-( Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 28 April 2013 15:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Hi Tom I just looked at the export links the install without htaccess was generating via Fiddler and changed the order accordingly e.g. What position template_id appears Cheers Ron Sent from my iPhone On 28 Apr 2013, at 14:15, Tom Reijnders wrote: Only if you replace the /xerte with * again. And, please note, it solves the play and preview differently than your suggestion. For play your suggestion accepts play_126_javascript, whereas my solution accepts play_126?engine=javascript. The latter because that's the way the wizard works now. play_126 will choose the engine based on the default engine chosen by the author. Tom P.S. I don't understand why your modifications work, when the original line doesn't, but I am glad it does.. :-) Op 28-4-2013 14:51, Pat @ Pgogy schreef: Is the htaccess.conf ok Also the play/preview rules? On 28 Apr 2013, at 13:50, "Ron Mitchell" wrote: Hi Tom no need. :-) The attached works for me! Basically changed the order of things in a couple of the export rules: previous line 54 rewriteRule ^export_full_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=fals e&$2 new rewriteRule ^export_full_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?full=true&scorm=false&template_id=$ 1&$2 previous 70 rewriteRule ^scorm_rich_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true &$2 new rewriteRule ^scorm_rich_([0-9]+)?(.*)$ /xerte/website_code/php/scorm/export.php?data=rich&scorm=true&template_id=$1 &$2 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 28 April 2013 11:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Ok, I'll have a look, at why those don't work. I'll try to set it up on one of my installations. Bit easier to test... ;-) Tom Op 28-4-2013 11:39, Ron Mitchell schreef: Hi Tom my apologies. I just tracked back through my messages and missed your updated .htaccess partly because you'd renamed it as .txt but that's no excuse for not reading your message properly! :-( I've just put that in place and it seems deployment and 2004 export works but not archive or 1.2? Being dragged out now so will be offline for an hour or two :-0 Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 28 April 2013 10:22 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Ron, Apparently you didn't receive my reply on April 25? It oncluded a version that should have a working export for you. It's different than the one you have attached here, so I'll post it again. Tom Op 28-4-2013 11:03, Ron Mitchell schreef: I'm not sure how correct the attached is as it's something I edited over time while 1.9 was being developed. But it worked including export until the engine= changes and I know Tom was going to look at this further but probably hasn't had time yet. The normal play and preview work but export doesn't. Tom suggested the current line 12: rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$ /xerte/preview.php?template_id=$1&$2 and that enables Ctrl + Play to toggle the engine and that works but I haven't been able to find a solution for export. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 27 April 2013 23:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess I have no idea what the export links are now, or what is in the htaccess If you send the links and the export reg exps I will have a look Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To: "For Xerte technical developers" Cc: Sent: Sat, 27 Apr 2013 20:56:07 +0100 Subject: [Xerte-dev] Re: .htaccess Hi Pat/Tom/all is there a solution to this for Export before any of the engine changes Pat has listed are made? We've got a real problem on one of the Techdis installations now where I can't turn .htaccess use off because it would installantly break all the links to LO's Alistair and co have shared but at the same time at the moment with .htaccess on none of the export options work. I don't really want to revert the install back to before Tom's engine= changes but I've tried a few variations of rules to get export to work without success so far. Even if only archive export worked for now that would be better than no export working. Any suggestions? Cheers Ron BTW am I right in thinking the engine.fla still needs to be kept as Flash 8? I no longer have a Flash 8 install and wary of making any changes in CS4. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 25 April 2013 23:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Hello, HTaccess debugging One, the default engine link in the wizard *to me* doesn't follow the HTaccess approach So here are some new HTaccess rules These will work on a localhost/xertetoolkts install if rewriteBase /xertetoolkits is on rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)$ preview.php?template_id=$1&linkID=$2 rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z]+)$ preview.php?template_id=$1&engine=$2 rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z]+)_([A-Za-z0-9]+)$ preview.php?template_id=$1&engine=$2&linkID=$3 In the wizard the following toggle needs to apply (I don't have flash on this computer) If apache is set the link becomes preview_idnumber if control is held down then then link is preview_idnumber_linkID if control is held down then the link is preview_idnumber_enginename (enginename is always text only - no numbers and no ascii) if control and shift are both held down preview_idnumber_enginename_linkID Note enginename comes before linkID I don't have flash to fix this at home, but if some one can put the ifs into the wizard that should fix it Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" Cc: Sent: Thu, 25 Apr 2013 23:18:41 +0100 Subject: [Xerte-dev] Re: .htaccess I am now working in this area, let me see On 25 Apr 2013, at 20:40, Tom Reijnders wrote: Ehmm, can I have your version of the .htacces? I mean how does you normal preview look? I don't understand the /xerte/preview The difference should be the ?(.*) before the $ and the &$2 at the end. Op 25-4-2013 20:44, Ron Mitchell schreef: Hi Tom rewriteRule ^preview_([A-Za-z0-9]+)?(.*)$ */preview.php?template_id=$1&$2 worked for Ctrl + Play preview although I obviously had to change it to /xerte/preview.php rather than */preview.php I tried applying the same principal to one of the export rules but that didn't work - probably due to my lack of knowledge of regular expressions etc :-( Happy to test export additions? I think ideally we need a definitive \setup\htaccess.conf for people to use for reference. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 25 April 2013 10:11 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess No, the wizard tries to load preview.php and play.php, but it doesn't add any sizes to the url, like the xerte play and preview do. The issue with .htaccess and xerte preview is that now you can have url parameters added to the .htaccess urls, like play_126?engine=other, and the rules don't handle the ?engine=other properly. I sent a fix for Ron to try by PM, because I couldn't send anything to the list for some 30 minutes. Tom Op 25-4-2013 11:03, Julian Tenney schreef: OK. Does it impact the re-write rule? At this point I'd rather just make it work, than be graceful. what I think it means is that for bootstrap tempaltes, the url the wizard tries to load will be preview_sitephp and play_site.php? I'm not sure if it affects what you're talking about or not? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 25 April 2013 10:01 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess I didn't change it (combine preview of site and xerte) because the url parameters were different, and I felt we hadn't time to test changes thoroughly enough, so at the moment I only changed the absolute minimum. Tom Op 25-4-2013 10:09, Julian Tenney schreef: In the wizard (I think you mean) is code that launches the site template that does something along the lines of (if templateruntime = 'preview_sitephp') blah which launches the site template in the preview_site page. If you remember, way back when, when we originally anticipated different runtimes, we had a runtime param in the xwd file to point to alternative renderers for content. If you want to look it's in function preview() I would have thought that when the recent modularisation stuff was done, this might have been made redundant, or handled differently, and maybe this code should change? But I don't have enough sight of the other side of the coin to know how? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 24 April 2013 20:35 To: For Xerte technical developers Subject: [Xerte-dev] Re: .htaccess Looks like something is up in the engine as well? On 24 Apr 2013, at 19:41, Tom Reijnders wrote: Ah ok. olet me work on the rewriteRule, because it doesn't argin-bottom-alt:auto">if control and shift are both held down Just been testing this a bit more and for instance with the editor open clicking play to preview works fine with Apache/.htaccess enabled or not but clicking Ctrl + Play with Apache/.htaccess enabled results in http://vle.jisctechdis.ac.uk/xerte/preview_310 &engine=other and so doesn't work ends up with a page not found What needs to change or be added to the .htaccess? e.g. NETGEAR VMDG485 NETGEAR http://www.netgear.com/ VMDG485 VMDG485 VMDG485 http://www.virginmedia.com/ (unimplemented) uuid:upnp-WANConnectionDevice-1_0-20e52aba60fb (unimplemented) urn:schemas-upnp-org:service:WANIPConnection:1 urn:upnp-org:serviceId:WANIPConn1 /WANIPConnection.xml /WANIPConnection /WANIPConnection I think this is an important issue for those using .htaccess previously (e.g. Nottingham) because if Apache was switched off via management existing links would obviously break. But at the moment with Apache enabled I don't think export and Ctrl + Play works. HTH Cheers Ron To: "For Xerte technical developers" ] On Behalf Of Pat @ Pgogy Sent: 22 April 2013 20:05 To: For Xerte technical developers _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottinghamac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 <.htaccess - Copy.txt> _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu May 9 13:39:14 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 9 May 2013 13:39:14 +0100 Subject: [Xerte-dev] Re: Update example in management.php In-Reply-To: <3B68F8CE-F0B0-42DA-A81E-382A65ED3833@pgogywebstuff.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A06D3@EXCHANGE1.ad.nottingham.ac.uk> <3F9F651C-3140-4D19-B30F-FAE9FA124795@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C518A0957@EXCHANGE1.ad.nottingham.ac.uk> <3B68F8CE-F0B0-42DA-A81E-382A65ED3833@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0981@EXCHANGE1.ad.nottingham.ac.uk> When I click the example link, it?s http://www.nottingham.ac.uk/toolkits/play_8222 so it must be the window.open call. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 09 May 2013 13:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: Update example in management.php What's the URL opened when you click on the play button? On 9 May 2013, at 13:20, Julian Tenney > wrote: It has now, I think some network screwiness earlier. When you add a site example, the pop up window doesn?t have scrollbars?? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 09 May 2013 11:16 To: For Xerte technical developers Subject: [Xerte-dev] Re: Update example in management.php Has the ID been updated? On 9 May 2013, at 08:18, Julian Tenney > wrote: When I try and update the ID number for the examples, it changes in management.php, but the example fired up from the list of templates doesn?t change? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Thu May 9 13:40:00 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 09 May 2013 14:40:00 +0200 Subject: [Xerte-dev] Re: .htaccess again!... In-Reply-To: References: <002701ce4381$42f1ad20$c8d50760$@co.uk> <91c102e5f21cd09f763576638fb458ca7052f1fc@webmail.hosting.heartinternet.co.uk> <005f01ce43ef$4ccf93c0$e66ebb40$@co.uk> <517CEA50.2030707@tor.nl> <007901ce43f4$3ed87f20$bc897d60$@co.uk> <517CFC0F.10607@tor.nl> <009b01ce440f$029265b0$07b73110$@co.uk> <5AF864D0-2BE6-48F3-8004-F846D365F927@pgogywebstuff.com> <517D210A.7040603@tor.nl> <030d01ce4c0d$f23a83d0$d6af8b70$@co.uk> <518B7C81.7020801@tor.nl> <03c701ce4caa$50704790$f150d6b0$@co.uk> <518B8D70.3040700@tor.nl> <03db01ce4cad$2b4f3ef0$81edbcd0$@co.uk> <518B92CF.8060508@tor.nl> Message-ID: <518B9920.2050303@tor.nl> Ehmm no... :-) Op 9-5-2013 14:16, Smith, John schreef: > > The old rule translates to > http://vle.jisctechdis.ac.uk/xerte/play.php?engine=html5&template_id=300 > which still appears to load correctly...so can we use both > engine=html5 and engine=javascript ? > > Regards, > > John Smith > > Learning Technologist > > School of Health & Life Sciences > > Glasgow Caledonian University > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* Thursday, May 09, 2013 1:13 PM > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess again!... > > Duhh... sorry, my mistake. > > It should have been: rewriteRule ^play_html5_([A-Za-z0-9]+)$ > /xerte/play.php?engine=javascript&template_id=$1 > > AND you have to make sure that this rule exits BEFORE the other ^play > rules. > > Op 9-5-2013 14:03, Ron Mitchell schreef: > > Thanks Tom > > I'm sure I had tried that but have just put that in place and > still no joy. > > e.g. this works http://vle.jisctechdis.ac.uk/xerte/play_300 > > but this doesn't work > http://vle.jisctechdis.ac.uk/xerte/play_html5_300 > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Tom Reijnders > *Sent:* 09 May 2013 12:50 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess again!... > > Ah, good point. > > I understand what is happening now. > > Change the rule to the following please: > > rewriteRule ^play_html5_([A-Za-z0-9]+)$ > /xerte/play.php?engine=html5&template_id=$1 > > Op 9-5-2013 13:42, Ron Mitchell schreef: > > Hi Tom > > yes seems identical here's a direct copy and paste: > > > require_once(dirname(__FILE__) . "/config.php"); > > global $xerte_toolkits_site; > > $extraparams = ""; > > if (isset($_REQUEST['LinkID'])) > > { > > $extraparams .= "&LinkID=" . $_REQUEST['LinkID']; > > } > > if (isset($_REQUEST['Page'])) > > { > > $extraparams .= "&Page=" . $_REQUEST['Page']; > > } > > header("Location: " . $xerte_toolkits_site->site_url . > "play.php?engine=html5&template_id=" . > $_REQUEST['template_id'] . $extraparams); > > Does youre's work with .htaccess enabled? > > Any difference in that .htaccess rule? e.g. > ^play_html5_([A-Za-z0-9]+)$ /xerte/play_html5.php?template_id=$1 > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Tom Reijnders > *Sent:* 09 May 2013 11:38 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess again!... > > Ron, > > Can you double-check the play_html5.php? That works on my website: > > > > require_once(dirname(__FILE__) . "/config.php"); > > global $xerte_toolkits_site; > > $extraparams = ""; > if (isset($_REQUEST['LinkID'])) > { > $extraparams .= "&LinkID=" . $_REQUEST['LinkID']; > } > > if (isset($_REQUEST['Page'])) > { > $extraparams .= "&Page=" . $_REQUEST['Page']; > } > > > header("Location: " . $xerte_toolkits_site->site_url . > "play.php?engine=html5&template_id=" . > $_REQUEST['template_id'] . $extraparams); > > > > Tom > > P.S. I received your message just now (12:05). > > Op 8-5-2013 19:03, Ron Mitchell schreef: > > Hi > > I was just alerted to the fact that /play_html5_id links > I'd previously shared to lo's are no longer working :-( > > I can live with that and update where I can but it also > means that links that Alistair and others have shared > previously are also currently broken. I know over time > this will fade away as new links are shared etc but this > was something that we wanted to avoid if possible. > > Here's an example link that Alistair shared previously on > the lists which doesn't work at the moment: > > http://vle.jisctechdis.ac.uk/xerte/play_html5_300 > > It obviously does now work via > http://vle.jisctechdis.ac.uk/xerte/play_300 and > http://vle.jisctechdis.ac.uk/xerte/play_300&engine=html > > But is there a change to the .htaccess rule I can make to > still allow > http://vle.jisctechdis.ac.uk/xerte/play_html5_300 to work? > > The previous rule for this was: rewriteRule > ^play_html5_([A-Za-z0-9]+)$ > /xerte/play_html5.php?template_id=$1 > > But > http://vle.jisctechdis.ac.uk/xerte/play_html5.php?template_id=300 > no longer works so the shorter version doesn't either :-( > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On > Behalf Of *Ron Mitchell > *Sent:* 28 April 2013 15:59 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Hi Tom > > I just looked at the export links the install without > htaccess was generating via Fiddler and changed the order > accordingly e.g. What position template_id appears > > Cheers > > Ron > > Sent from my iPhone > > > On 28 Apr 2013, at 14:15, Tom Reijnders > wrote: > > Only if you replace the /xerte with * again. > > And, please note, it solves the play and preview > differently than your suggestion. > > For play your suggestion accepts play_126_javascript, > whereas my solution accepts > play_126?engine=javascript. The latter because that's > the way the wizard works now. > > play_126 will choose the engine based on the default > engine chosen by the author. > > Tom > > P.S. I don't understand why your modifications work, > when the original line doesn't, but I am glad it > does.. :-) > > > > > > > Op 28-4-2013 14:51, Pat @ Pgogy schreef: > > Is the htaccess.conf ok > > Also the play/preview rules? > > > On 28 Apr 2013, at 13:50, "Ron Mitchell" > > wrote: > > Hi Tom > > no need. :-) > > The attached works for me! > > Basically changed the order of things in a > couple of the export rules: > > previous line 54 > > rewriteRule ^export_full_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=false&$2 > > new > > rewriteRule ^export_full_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?full=true&scorm=false&template_id=$1&$2 > > previous 70 > > rewriteRule ^scorm_rich_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true&$2 > > new > > rewriteRule ^scorm_rich_([0-9]+)?(.*)$ > /xerte/website_code/php/scorm/export.php?data=rich&scorm=true&template_id=$1&$2 > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 28 April 2013 11:38 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Ok, I'll have a look, at why those don't work. > I'll try to set it up on one of my > installations. Bit easier to test... ;-) > > Tom > > Op 28-4-2013 11:39, Ron Mitchell schreef: > > Hi Tom > > my apologies. I just tracked back through > my messages and missed your updated > .htaccess partly because you'd renamed it > as .txt but that's no excuse for not > reading your message properly! :-( > > I've just put that in place and it seems > deployment and 2004 export works but not > archive or 1.2? > > > > Being dragged out now so will be offline > for an hour or two :-0 > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom Reijnders > *Sent:* 28 April 2013 10:22 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Ron, > > Apparently you didn't receive my reply on > April 25? > > It oncluded a version that should have a > working export for you. It's different > than the one you have attached here, so > I'll post it again. > > Tom > > Op 28-4-2013 11:03, Ron Mitchell schreef: > > I'm not sure how correct the attached > is as it's something I edited over > time while 1.9 was being developed. > But it worked including export until > the engine= changes and I know Tom was > going to look at this further but > probably hasn't had time yet. The > normal play and preview work but > export doesn't. > > Tom suggested the current line 12: > > rewriteRule > ^preview_([A-Za-z0-9]+)?(.*)$ > /xerte/preview.php?template_id=$1&$2 > > and that enables Ctrl + Play to toggle > the engine and that works but I > haven't been able to find a solution > for export. > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *xerte at pgogywebstuff.com > > *Sent:* 27 April 2013 23:58 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > I have no idea what the export links > are now, or what is in the htaccess > > If you send the links and the export > reg exps I will have a look > > > Pgogy Webstuff > http://www.pgogywebstuff.com > > Makers of Web things of a fair to > middling quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > > *To:* > > "For Xerte technical developers" > > > > *Cc:* > > *Sent:* > > Sat, 27 Apr 2013 20:56:07 +0100 > > *Subject:* > > [Xerte-dev] Re: .htaccess > > > > > > > > Hi Pat/Tom/all > > is there a solution to this for > Export before any of the engine > changes Pat has listed are made? > > We've got a real problem on one of > the Techdis installations now > where I can't turn .htaccess use > off because it would installantly > break all the links to LO's > Alistair and co have shared but at > the same time at the moment with > .htaccess on none of the export > options work. I don't really want > to revert the install back to > before Tom's engine= changes but > I've tried a few variations of > rules to get export to work > without success so far. Even if > only archive export worked for now > that would be better than no > export working. > > Any suggestions? > > Cheers > > Ron > > BTW am I right in thinking the > engine.fla still needs to be kept > as Flash 8? I no longer have a > Flash 8 install and wary of making > any changes in CS4. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of > *xerte at pgogywebstuff.com > > *Sent:* 25 April 2013 23:51 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: .htaccess > > Hello, > > HTaccess debugging > > One, the default engine link in > the wizard *to me* doesn't follow > the HTaccess approach > > So here are some new HTaccess rules > > These will work on a > localhost/xertetoolkts install if > > rewriteBase /xertetoolkits is on > > rewriteRule > ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)$ > preview.php?template_id=$1&linkID=$2 > > rewriteRule > ^preview_([A-Za-z0-9]+)_([A-Za-z]+)$ > preview.php?template_id=$1&engine=$2 > > rewriteRule > ^preview_([A-Za-z0-9]+)_([A-Za-z]+)_([A-Za-z0-9]+)$ > preview.php?template_id=$1&engine=$2&linkID=$3 > > In the wizard the following toggle > needs to apply (I don't have flash > on this computer) > > If apache is set the link becomes > > preview_idnumber > > if control is held down then then > link is > > preview_idnumber_linkID > > if control is held down then the > link is > > preview_idnumber_enginename > (enginename is always text only - > no numbers and no ascii) > > if control and shift are both held > down > > preview_idnumber_enginename_linkID > > Note enginename comes before linkID > > I don't have flash to fix this at > home, but if some one can put the > ifs into the wizard that should fix it > > > Pgogy Webstuff > http://www.pgogywebstuff.com > > Makers of Web things of a fair to > middling quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical > developers" > > > > *To:* > > "For Xerte technical > developers" > > > > *Cc:* > > *Sent:* > > Thu, 25 Apr 2013 23:18:41 +0100 > > *Subject:* > > [Xerte-dev] Re: .htaccess > > I am now working in this area, > let me see > > > On 25 Apr 2013, at 20:40, Tom > Reijnders > wrote: > > Ehmm, can I have your > version of the .htacces? > > I mean how does you normal > preview look? > > I don't understand the > /xerte/preview > > The difference should be > the ?(.*) before the $ and > the &$2 at the end. > > Op 25-4-2013 20:44, Ron > Mitchell schreef: > > Hi Tom > > rewriteRule > ^preview_([A-Za-z0-9]+)?(.*)$ > */preview.php?template_id=$1&$2 > worked for Ctrl + Play > preview although I > obviously had to > change it to > /xerte/preview.php > rather than */preview.php > > I tried applying the > same principal to one > of the export rules > but that didn't work - > probably due to my > lack of knowledge of > regular expressions > etc :-( > > Happy to test export > additions? > > I think ideally we > need a definitive > \setup\htaccess.conf > for people to use for > reference. > > Cheers > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom > Reijnders > *Sent:* 25 April 2013 > 10:11 > *To:* For Xerte > technical developers > *Subject:* [Xerte-dev] > Re: .htaccess > > No, the wizard tries > to load preview.php > and play.php, but it > doesn't add any sizes > to the url, like the > xerte play and preview do. > > > The issue with > .htaccess and xerte > preview is that now > you can have url > parameters added to > the .htaccess urls, > like > play_126?engine=other, > and the rules don't > handle the > ?engine=other > properly. I sent a fix > for Ron to try by PM, > because I couldn't > send anything to the > list for some 30 minutes. > > > Tom > > Op 25-4-2013 11:03, > Julian Tenney schreef: > > OK. Does it impact > the re-write rule? > At this point I'd > rather just make > it work, than be > graceful... what I > think it means is > that for bootstrap > tempaltes, the url > the wizard tries > to load will be > preview_sitephp > and play_site.php? > I'm not sure if it > affects what > you're talking > about or not? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of *Tom > Reijnders > *Sent:* 25 April > 2013 10:01 > *To:* For Xerte > technical developers > *Subject:* > [Xerte-dev] Re: > .htaccess > > I didn't change it > (combine preview > of site and xerte) > because the url > parameters were > different, and I > felt we hadn't > time to test > changes thoroughly > enough, so at the > moment I only > changed the > absolute minimum. > > Tom > > Op 25-4-2013 > 10:09, Julian > Tenney schreef: > > In the wizard > (I think you > mean) is code > that launches > the site > template that > does something > along the > lines of (if > templateruntime = > 'preview_sitephp') > blah which > launches the > site template > in the > preview_site > page. If you > remember, way > back when, > when we > originally > anticipated > different > runtimes, we > had a runtime > param in the > xwd file to > point to > alternative > renderers for > content. If > you want to > look it's in > function preview() > > I would have > thought that > when the > recent > modularisation > stuff was > done, this > might have > been made > redundant, or > handled > differently, > and maybe this > code should > change? But I > don't have > enough sight > of the other > side of the > coin to know how? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] > *On Behalf Of > *Pat @ Pgogy > *Sent:* 24 > April 2013 20:35 > *To:* For > Xerte > technical > developers > *Subject:* > [Xerte-dev] > Re: .htaccess > > Looks like > something is > up in the > engine as well? > > > On 24 Apr > 2013, at > 19:41, Tom > Reijnders > > > wrote: > > Ah ok. > olet me > work on > the > rewriteRule, > because it > doesn't > argin-bottom-alt:auto">if > control > and shift > are both > held down > > Just > been > testing this > a bit > more > and > for > instance > with > the > editor > open > clicking > play > to > preview works > fine > with > Apache/.htaccess > enabled or > not > but > clicking > Ctrl + > Play > with > Apache/.htaccess > enabled results > in > http://vle.jisctechdis.ac.uk/xerte/preview_310&engine=other > > and so > doesn't work > ends > up > with a > page > not found > > What > needs > to > change > or be > added > to the > .htaccess? > > e.g. > > NETGEAR VMDG485 > NETGEAR http://www.netgear.com/ > VMDG485 VMDG485 > VMDG485 http://www.virginmedia.com/ > (unimplemented) > uuid:upnp-WANConnectionDevice-1_0-20e52aba60fb > (unimplemented) > urn:schemas-upnp-org:service:WANIPConnection:1 > urn:upnp-org:serviceId:WANIPConn1 > /WANIPConnection.xml > /WANIPConnection > /WANIPConnection > > > I > think > this > is an > important > issue > for > those > using > .htaccess > previously > (e.g. > Nottingham) > because if > Apache > was > switched > off > via > management > existing > links > would > obviously > break. > But at > the > moment > with > Apache > enabled I > don't > think > export > and > Ctrl + > Play > works. > > HTH > > Cheers > > Ron > > *To:* > > "For > Xerte > technical > developers" > ] > *On > Behalf > Of > *Pat @ > Pgogy > *Sent:* 22 > April > 2013 20:05 > *To:* > For > Xerte > technical > developers > > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottinghamac.uk/mailman/listinfo/xerte-dev > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > <.htaccess - Copy.txt> > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of > the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu May 9 13:49:00 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 9 May 2013 13:49:00 +0100 Subject: [Xerte-dev] FW: xot data disappearing References: <3739E9122693F648B22BEA5037F4901B016821AAFD48@KUMBX.kuds.kingston.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0998@EXCHANGE1.ad.nottingham.ac.uk> Where do we do the checking for valid data? It must be server side because I can?t see any mention of it in the wizard? From: Tenney Julian Sent: 09 May 2013 11:48 To: 'Xerte discussion list' Subject: RE: xot data disappearing Hi, This is always bad news. Happily it doesn?t seem to be happening often. From time to time it happens here as well, and almost every time it is because people are pasting in text from MSOffice or elsewhere that carries unseen formatting that breaks the XML, as much as we try and protect it. There is better error handling code in there now than the early days so if you upgrade it may improve ? of course, if it?s a rare occurrence, it?s hard to tell. We do test to see if the xml is well formed, and prevent it being saved if it isn?t, but I think from time to time things do slip though, and when this happens no one can tell us exactly what they were doing when it broke. We hear ?well, I, er, dunno, but it was working one minute, and not the next? pardon? Paste form word, no, I don?t think so, er, shouldn?t I do that then, oh, I didn?t know that?? etc, so it?s hard to replicate things and prevent them happening again. If it happens, the first thing to look at is whether data and preview.xml files are the same. If they are, there?s probably not much you can do about it, but try and see if the xml file contains more info than they are seeing in the editor. If so, some of it might be able to be rescued. If they are different, you can restore to the last good published place. If you can catch a real example I?d love to see it, because this is about the worst thing that can happen, and it shouldn?t be possible. Julian From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Loughlin, Colin Sent: 09 May 2013 10:06 To: 'Xerte discussion list' Subject: [Xerte] xot data disappearing Hi ? apologies if this has already been covered, but I have now had several incidents of data disappearing from Xerte objects and wondered if this was a known problem, and/or what the solutions might be. It happens infrequently (4/5 times over the last two versions that we have had installed during the last couple of years), we?re currently on version 1.7. I think what happens is that data gets corrupted/lost during the saving process. For example the most recent case the LO was about 40 pages and was saved normally, but when we went to open it again it contained only 29 pages. Thanks, Colin Loughlin CMALT FHEA Kingston University This email has been scanned for all viruses by the MessageLabs Email Security System. -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Thu May 9 14:23:33 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Thu, 9 May 2013 14:23:33 +0100 Subject: [Xerte-dev] Re: Update example in management.php In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0981@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A06D3@EXCHANGE1.ad.nottingham.ac.uk> <3F9F651C-3140-4D19-B30F-FAE9FA124795@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C518A0957@EXCHANGE1.ad.nottingham.ac.uk> <3B68F8CE-F0B0-42DA-A81E-382A65ED3833@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C518A0981@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <2D13DAA0-E01E-4F6E-B0D2-85B3B36F228F@pgogywebstuff.com> Hmmmm, so the example link needs window size options as well then? On 9 May 2013, at 13:39, Julian Tenney wrote: > When I click the example link, it?s http://www.nottingham.ac.uk/toolkits/play_8222 so it must be the window.open call. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 09 May 2013 13:33 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Update example in management.php > > What's the URL opened when you click on the play button? > > On 9 May 2013, at 13:20, Julian Tenney wrote: > > It has now, I think some network screwiness earlier. > > When you add a site example, the pop up window doesn?t have scrollbars?? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 09 May 2013 11:16 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Update example in management.php > > Has the ID been updated? > > On 9 May 2013, at 08:18, Julian Tenney wrote: > > When I try and update the ID number for the examples, it changes in management.php, but the example fired up from the list of templates doesn?t change? > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Thu May 9 14:27:22 2013 From: xerte at pgogywebstuff.com (xerte at pgogywebstuff.com) Date: Thu, 09 May 2013 14:27:22 +0100 Subject: [Xerte-dev] Re: FW: xot data disappearing In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0998@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/modules/xerte/engine/save.php here Well we check the strings are the same length. The PHP echoes, but that isn't much use to the flash. However, when it was written, the mantra was "code for success" :) ----- Original Message ----- From: "For Xerte technical developers" To:"For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" Cc: Sent:Thu, 9 May 2013 13:49:00 +0100 Subject:[Xerte-dev] FW: xot data disappearing Where do we do the checking for valid data? It must be server side because I can?t see any mention of it in the wizard? ? FROM: Tenney Julian SENT: 09 May 2013 11:48 TO: 'Xerte discussion list' SUBJECT: RE: xot data disappearing ? Hi, ? This is always bad news. Happily it doesn?t seem to be happening often. From time to time it happens here as well, and almost every time it is because people are pasting in text from MSOffice or elsewhere that carries unseen formatting that breaks the XML, as much as we try and protect it. There is better error handling code in there now than the early days so if you upgrade it may improve ? of course, if it?s a rare occurrence, it?s hard to tell. ? We do test to see if the xml is well formed, and prevent it being saved if it isn?t, but I think from time to time things do slip though, and when this happens no one can tell us exactly what they were doing when it broke. We hear ?well, I, er, dunno, but it was working one minute, and not the next? pardon? Paste form word, no, I don?t think so, er, shouldn?t I do that then, oh, I didn?t know that?? etc, so it?s hard to replicate things and prevent them happening again. ? If it happens, the first thing to look at is whether data and preview.xml files are the same. If they are, there?s probably not much you can do about it, but try and see if the xml file contains more info than they are seeing in the editor. If so, some of it might be able to be rescued. ? If they are different, you can restore to the last good published place. If you can catch a real example I?d love to see it, because this is about the worst thing that can happen, and it shouldn?t be possible. ? Julian ? ? ? ? ? FROM: xerte-bounces at lists.nottingham.ac.uk [1] [mailto:xerte-bounces at lists.nottingham.ac.uk [2]] ON BEHALF OF Loughlin, Colin SENT: 09 May 2013 10:06 TO: 'Xerte discussion list' SUBJECT: [Xerte] xot data disappearing ? Hi ? apologies if this has already been covered, but I have now had several incidents of data disappearing from Xerte objects and wondered if this was a known problem, and/or what the solutions might be. ? It happens infrequently (4/5 times over the last two versions that we have had installed during the last couple of years), we?re currently on version 1.7. ? I think what happens is that data gets corrupted/lost during the saving process. For example the most recent case the LO was about 40 pages and was saved normally, but when we went to open it again it contained only 29 pages. ? Thanks, COLIN LOUGHLIN CMALT FHEA Kingston University ? ? This email has been scanned for all viruses by the MessageLabs Email Security System. Links: ------ [1] mailto:xerte-bounces at lists.nottingham.ac.uk [2] mailto:xerte-bounces at lists.nottingham.ac.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: From thomas.rochford at jiscadvance.ac.uk Thu May 9 15:12:30 2013 From: thomas.rochford at jiscadvance.ac.uk (Thomas Rochford) Date: Thu, 9 May 2013 15:12:30 +0100 Subject: [Xerte-dev] Re: Xerte Installation on a Centos - Blank Databaseerties Message-ID: <518baf05.2654b40a.583d.6810@mx.google.com> Just spoke with Mark (We were both at another meeting today). They're using the most recent, i.e. 2 days old, version. He's going to edit database.php manually, restart the install and then go to setup/page4.php if all else fails. Thomas ======================= Sent from my Windows 8 Phone Please excuse brevity & typos eml: thomas.rochford at jiscadvance.ac.uk mob: 07500 669002 -----Original Message----- From: "Tom Reijnders" Sent: ?09/?05/?2013 11:23 To: "For Xerte technical developers" Subject: [Xerte-dev] Re: Xerte Installation on a Centos - Blank Databaseerties Do you happen to know what version of the installer you are using? See version.txt Tom Op 8-5-2013 16:19, Smith, John schreef: > Hi Mark, > > I just did an install today as well and the same happened to me so something is obviously broken in the package... I had to go into the newly created database.php and manually enter the correct values to connect to the database. Then refreshed the browser on step 4 and clicked ok to resubmit the posted data and this time it went through fine... > > Hope that helps in the meantime until we fix... > > So the steps are (if you are no longer on page 4) > > Delete database.php > Go through the process until step 4 bombs > Manually enter the host/db_Name/User/password into the newly created database.php file > Go back to your browser and refresh page 4 > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > -----Original Message----- > From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Chaney, Mark > Sent: Wednesday, May 08, 2013 3:08 PM > To: Xerte discussion list > Subject: [Xerte] Xerte Installation on a Centos - Blank Database erties > > Hi all, > > I have done a test installation of xerte on a test server and have some strange behaviour. On the last page of the installation (Page 4) the database name wasn?t inserted into the database php file. Thus it was giving me an error of database not selected. > > Attempting to get into the management side of the system I found I couldn?t access it. Upon inspection there is no data what so ever in the sitedetails database table other than (what I assume is an auto incremental number) the id of 1. There is no site_url, apache, admin_username, admin_password .... etc etc. > > It looks like somewhere a section of a script failed to run without throwing an error? > > To try and pre-empt some questions: > Centos 6 server. > Install ran ok up untill page4 > Same server as I have 7 fully working moodle installs. Apache and php are ok. SE linux off. > Mysql installed and working. > Xerte database accessible and can be queries from workbench on external machine and on server itself. > File/Folder permissions set according to docs/instructions. > > Any help would be much appreciated. > > Thanks > > Mark Chaney > mchaney at bedford.ac.uk > Learning Technologies Adviser > Bedford College > Cauldwell Street, Bedford, MK42 9AH > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu May 9 15:20:37 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 9 May 2013 15:20:37 +0100 Subject: [Xerte-dev] Re: Xerte Installation on a Centos - Blank Databaseerties In-Reply-To: <518baf05.2654b40a.583d.6810@mx.google.com> References: <518baf05.2654b40a.583d.6810@mx.google.com> Message-ID: Hi Tom, Yes the latest version from the community site. I had the exact same error (yesterday) and after manually adding the details to database.php and getting page4 to run it appeared to setup properly however enabling db auth and going to management and trying to add a user giver the error I posted yesterday so something still isn?t right? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Thomas Rochford Sent: Thursday, May 09, 2013 3:12 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Xerte Installation on a Centos - Blank Databaseerties Just spoke with Mark (We were both at another meeting today). They're using the most recent, i.e. 2 days old, version. He's going to edit database.php manually, restart the install and then go to setup/page4.php if all else fails. Thomas ======================= Sent from my Windows 8 Phone Please excuse brevity & typos eml: thomas.rochford at jiscadvance.ac.uk mob: 07500 669002 ________________________________ From: Tom Reijnders Sent: ?09/?05/?2013 11:23 To: For Xerte technical developers Subject: [Xerte-dev] Re: Xerte Installation on a Centos - Blank Databaseerties Do you happen to know what version of the installer you are using? See version.txt Tom Op 8-5-2013 16:19, Smith, John schreef: > Hi Mark, > > I just did an install today as well and the same happened to me so something is obviously broken in the package... I had to go into the newly created database.php and manually enter the correct values to connect to the database. Then refreshed the browser on step 4 and clicked ok to resubmit the posted data and this time it went through fine... > > Hope that helps in the meantime until we fix... > > So the steps are (if you are no longer on page 4) > > Delete database.php > Go through the process until step 4 bombs > Manually enter the host/db_Name/User/password into the newly created database.php file > Go back to your browser and refresh page 4 > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > -----Original Message----- > From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Chaney, Mark > Sent: Wednesday, May 08, 2013 3:08 PM > To: Xerte discussion list > Subject: [Xerte] Xerte Installation on a Centos - Blank Database erties > > Hi all, > > I have done a test installation of xerte on a test server and have some strange behaviour. On the last page of the installation (Page 4) the database name wasn?t inserted into the database php file. Thus it was giving me an error of database not selected. > > Attempting to get into the management side of the system I found I couldn?t access it. Upon inspection there is no data what so ever in the sitedetails database table other than (what I assume is an auto incremental number) the id of 1. There is no site_url, apache, admin_username, admin_password .... etc etc. > > It looks like somewhere a section of a script failed to run without throwing an error? > > To try and pre-empt some questions: > Centos 6 server. > Install ran ok up untill page4 > Same server as I have 7 fully working moodle installs. Apache and php are ok. SE linux off. > Mysql installed and working. > Xerte database accessible and can be queries from workbench on external machine and on server itself. > File/Folder permissions set according to docs/instructions. > > Any help would be much appreciated. > > Thanks > > Mark Chaney > mchaney at bedford.ac.uk > Learning Technologies Adviser > Bedford College > Cauldwell Street, Bedford, MK42 9AH > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Thu May 9 18:32:55 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 09 May 2013 19:32:55 +0200 Subject: [Xerte-dev] Re: Xerte Installation on a Centos - Blank Databaseerties In-Reply-To: References: <518baf05.2654b40a.583d.6810@mx.google.com> Message-ID: <518BDDC7.80007@tor.nl> I'll have a look. I'll do a test install on a Linux box tonight. Op 9-5-2013 16:20, Smith, John schreef: > > Hi Tom, > > Yes the latest version from the community site. I had the exact same > error (yesterday) and after manually adding the details to > database.php and getting page4 to run it appeared to setup properly > however enabling db auth and going to management and trying to add a > user giver the error I posted yesterday so something still isn't right... > > Regards, > > John Smith > > Learning Technologist > > School of Health & Life Sciences > > Glasgow Caledonian University > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Thomas Rochford > *Sent:* Thursday, May 09, 2013 3:12 PM > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Xerte Installation on a Centos - Blank > Databaseerties > > Just spoke with Mark (We were both at another meeting today). They're > using the most recent, i.e. 2 days old, version. He's going to edit > database.php manually, restart the install and then go to > setup/page4.php if all else fails. > > Thomas > ======================= > Sent from my Windows 8 Phone > Please excuse brevity & typos > eml: thomas.rochford at jiscadvance.ac.uk > > mob: 07500 669002 > > ------------------------------------------------------------------------ > > *From: *Tom Reijnders > *Sent: *?09/?05/?2013 11:23 > *To: *For Xerte technical developers > > *Subject: *[Xerte-dev] Re: Xerte Installation on a Centos - Blank > Databaseerties > > Do you happen to know what version of the installer you are using? See > version.txt > > Tom > > Op 8-5-2013 16:19, Smith, John schreef: > > Hi Mark, > > > > I just did an install today as well and the same happened to me so > something is obviously broken in the package... I had to go into the > newly created database.php and manually enter the correct values to > connect to the database. Then refreshed the browser on step 4 and > clicked ok to resubmit the posted data and this time it went through > fine... > > > > Hope that helps in the meantime until we fix... > > > > So the steps are (if you are no longer on page 4) > > > > Delete database.php > > Go through the process until step 4 bombs > > Manually enter the host/db_Name/User/password into the newly > created database.php file > > Go back to your browser and refresh page 4 > > > > Regards, > > > > John Smith > > Learning Technologist > > School of Health & Life Sciences > > Glasgow Caledonian University > > > > > > -----Original Message----- > > From: xerte-bounces at lists.nottingham.ac.uk > > [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Chaney, Mark > > Sent: Wednesday, May 08, 2013 3:08 PM > > To: Xerte discussion list > > Subject: [Xerte] Xerte Installation on a Centos - Blank Database erties > > > > Hi all, > > > > I have done a test installation of xerte on a test server and have > some strange behaviour. On the last page of the installation (Page 4) > the database name wasn't inserted into the database php file. Thus it > was giving me an error of database not selected. > > > > Attempting to get into the management side of the system I found I > couldn't access it. Upon inspection there is no data what so ever in > the sitedetails database table other than (what I assume is an auto > incremental number) the id of 1. There is no site_url, apache, > admin_username, admin_password .... etc etc. > > > > It looks like somewhere a section of a script failed to run without > throwing an error? > > > > To try and pre-empt some questions: > > Centos 6 server. > > Install ran ok up untill page4 > > Same server as I have 7 fully working moodle installs. Apache and > php are ok. SE linux off. > > Mysql installed and working. > > Xerte database accessible and can be queries from workbench on > external machine and on server itself. > > File/Folder permissions set according to docs/instructions. > > > > Any help would be much appreciated. > > > > Thanks > > > > Mark Chaney > > mchaney at bedford.ac.uk > > Learning Technologies Adviser > > Bedford College > > Cauldwell Street, Bedford, MK42 9AH > > _______________________________________________ > > Xerte mailing list > > Xerte at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > > > > Glasgow Caledonian University is a registered Scottish charity, > number SC021474 > > > > Winner: Times Higher Education's Widening Participation Initiative > of the Year 2009 and Herald Society's Education Initiative of the Year > 2009. > > > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > > > Winner: Times Higher Education's Outstanding Support for Early > Career Researchers of the Year 2010, GCU as a lead with Universities > Scotland partners. > > > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of > the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Thu May 9 20:06:37 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 09 May 2013 21:06:37 +0200 Subject: [Xerte-dev] Re: Xerte Installation on a Centos - Blank Databaseerties In-Reply-To: <518BDDC7.80007@tor.nl> References: <518baf05.2654b40a.583d.6810@mx.google.com> <518BDDC7.80007@tor.nl> Message-ID: <518BF3BD.9010004@tor.nl> I cannot reproduce this on Linux (Chrome, IE9 and Firefox 20). The only thing I noticed and didn't realize before and is different then other installations I've seen on Linux web packages is page2.php. 'MySQL Database Account Set up page' You HAVE to fill in a valid mysql user, and the user HAS to have rights for the db created on page1.php. NO user account is created for you. Is someone prepared to send me a sequence of screenshots displaying the issue by PM? The database.php should have been created after pressing 'Next' on page2.php There were issues with previous install packages if you didn't finish the install and restarted it. That almost never worked correctly. But that is fixed in the installer you report as being used. (this particular problem was fixed in SVN rev874) If you still have the setup folder, check the contents of database.txt. It should NOT have been modified. It has to be the same as the original one from the .zip. Regards, Tom Op 9-5-2013 19:32, Tom Reijnders schreef: > I'll have a look. I'll do a test install on a Linux box tonight. > > Op 9-5-2013 16:20, Smith, John schreef: >> >> Hi Tom, >> >> Yes the latest version from the community site. I had the exact same >> error (yesterday) and after manually adding the details to >> database.php and getting page4 to run it appeared to setup properly >> however enabling db auth and going to management and trying to add a >> user giver the error I posted yesterday so something still isn't right... >> >> Regards, >> >> John Smith >> >> Learning Technologist >> >> School of Health & Life Sciences >> >> Glasgow Caledonian University >> >> *From:*xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of >> *Thomas Rochford >> *Sent:* Thursday, May 09, 2013 3:12 PM >> *To:* For Xerte technical developers >> *Subject:* [Xerte-dev] Re: Xerte Installation on a Centos - Blank >> Databaseerties >> >> Just spoke with Mark (We were both at another meeting today). They're >> using the most recent, i.e. 2 days old, version. He's going to edit >> database.php manually, restart the install and then go to >> setup/page4.php if all else fails. >> >> Thomas >> ======================= >> Sent from my Windows 8 Phone >> Please excuse brevity & typos >> eml: thomas.rochford at jiscadvance.ac.uk >> >> mob: 07500 669002 >> >> ------------------------------------------------------------------------ >> >> *From: *Tom Reijnders >> *Sent: *?09/?05/?2013 11:23 >> *To: *For Xerte technical developers >> >> *Subject: *[Xerte-dev] Re: Xerte Installation on a Centos - Blank >> Databaseerties >> >> Do you happen to know what version of the installer you are using? See >> version.txt >> >> Tom >> >> Op 8-5-2013 16:19, Smith, John schreef: >> > Hi Mark, >> > >> > I just did an install today as well and the same happened to me so >> something is obviously broken in the package... I had to go into the >> newly created database.php and manually enter the correct values to >> connect to the database. Then refreshed the browser on step 4 and >> clicked ok to resubmit the posted data and this time it went through >> fine... >> > >> > Hope that helps in the meantime until we fix... >> > >> > So the steps are (if you are no longer on page 4) >> > >> > Delete database.php >> > Go through the process until step 4 bombs >> > Manually enter the host/db_Name/User/password into the newly >> created database.php file >> > Go back to your browser and refresh page 4 >> > >> > Regards, >> > >> > John Smith >> > Learning Technologist >> > School of Health & Life Sciences >> > Glasgow Caledonian University >> > >> > >> > -----Original Message----- >> > From: xerte-bounces at lists.nottingham.ac.uk >> >> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Chaney, Mark >> > Sent: Wednesday, May 08, 2013 3:08 PM >> > To: Xerte discussion list >> > Subject: [Xerte] Xerte Installation on a Centos - Blank Database erties >> > >> > Hi all, >> > >> > I have done a test installation of xerte on a test server and have >> some strange behaviour. On the last page of the installation (Page 4) >> the database name wasn't inserted into the database php file. Thus it >> was giving me an error of database not selected. >> > >> > Attempting to get into the management side of the system I found I >> couldn't access it. Upon inspection there is no data what so ever in >> the sitedetails database table other than (what I assume is an auto >> incremental number) the id of 1. There is no site_url, apache, >> admin_username, admin_password .... etc etc. >> > >> > It looks like somewhere a section of a script failed to run without >> throwing an error? >> > >> > To try and pre-empt some questions: >> > Centos 6 server. >> > Install ran ok up untill page4 >> > Same server as I have 7 fully working moodle installs. Apache and >> php are ok. SE linux off. >> > Mysql installed and working. >> > Xerte database accessible and can be queries from workbench on >> external machine and on server itself. >> > File/Folder permissions set according to docs/instructions. >> > >> > Any help would be much appreciated. >> > >> > Thanks >> > >> > Mark Chaney >> > mchaney at bedford.ac.uk >> > Learning Technologies Adviser >> > Bedford College >> > Cauldwell Street, Bedford, MK42 9AH >> > _______________________________________________ >> > Xerte mailing list >> > Xerte at lists.nottingham.ac.uk >> > http://lists.nottingham.ac.uk/mailman/listinfo/xerte >> > >> > Glasgow Caledonian University is a registered Scottish charity, >> number SC021474 >> > >> > Winner: Times Higher Education's Widening Participation Initiative >> of the Year 2009 and Herald Society's Education Initiative of the >> Year 2009. >> > >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> > >> > Winner: Times Higher Education's Outstanding Support for Early >> Career Researchers of the Year 2010, GCU as a lead with Universities >> Scotland partners. >> > >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> > _______________________________________________ >> > Xerte-dev mailing list >> > Xerte-dev at lists.nottingham.ac.uk >> >> > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> > >> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, >> number SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of >> the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career >> Researchers of the Year 2010, GCU as a lead with Universities >> Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- database_host = "DATABASE_HOST"; /* * Username for database */ $xerte_toolkits_site->database_username ="DATABASE_USERNAME"; /* * Password for database */ $xerte_toolkits_site->database_password ="DATABASE_PASSWORD"; /* * Database name */ $xerte_toolkits_site->database_name ="DATABASE_NAME"; /* * Database table prefix */ $xerte_toolkits_site->database_table_prefix ="DATABASE_PREFIX"; From Julian.Tenney at nottingham.ac.uk Fri May 10 07:59:50 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 07:59:50 +0100 Subject: [Xerte-dev] Upload JS Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0B88@EXCHANGE1.ad.nottingham.ac.uk> Thinking aloud here, you can write javascript in the bootstrap template - so it would probably be handy if you could upload a .js file, because anything more than trivial is going to be a right pita to write in the wizard. .js is currently blacklisted. Given all the other security updates recently, do you think we are opening up a major hole if we allowed .js? Either by uploading a script file, or by pointing to a url somewhere? -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Fri May 10 09:28:02 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 10 May 2013 09:28:02 +0100 Subject: [Xerte-dev] Re: Upload JS Message-ID: <89sof6einfg277w39k95es5r.1368174476026@email.android.com> Yes. But in some cases it may be a necessary evil. As long as the users are trusted then there probably isn't an issue but some institutions probably will freak out at the idea. Hosting elsewhere is most likely fine because of cross domain restrictions so no less secure than including an external library. Hosting xot solo on a sub domain is probably similarly okish for same reason but a rogue user could possibly do stuff. A moodle integration would probably be worse case scenario. You could run commands as another logged in user using ajax as if they had clicked on a link. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Julian Tenney wrote: Thinking aloud here, you can write javascript in the bootstrap template ? so it would probably be handy if you could upload a .js file, because anything more than trivial is going to be a right pita to write in the wizard. .js is currently blacklisted. Given all the other security updates recently, do you think we are opening up a major hole if we allowed .js? Either by uploading a script file, or by pointing to a url somewhere? Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Fri May 10 09:34:29 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 09:34:29 +0100 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> On our upgraded install this bug has reappeared. Every time, for me: upload media, preview, close preview, upload another file - no browse dialog. On my xampp install I can't replicate it. On our main install Fay can't replicate it. All in FF 20.0.1 So WTF? From: Tenney Julian Sent: 25 April 2013 12:10 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: Browse Dialog Issue when Uploading Media A long standing issue, but some progress: but I don't know why (this was Pat's code originally): Problem: upload media, preview, upload another media aand the browse dialog doesn't show. Solution: comment out the lines from function preview() that call the javascript function hideunload() which is this: function hideunload(){ window.onbeforeunload = null; } If you don't call that function, it works OK. But it must be there for a reason: question is, what? -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Fri May 10 09:00:10 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Fri, 10 May 2013 09:00:10 +0100 Subject: [Xerte-dev] Re: Upload JS In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0B88@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0B88@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Yes On 10 May 2013, at 07:59, Julian Tenney wrote: > Thinking aloud here, you can write javascript in the bootstrap template ? so it would probably be handy if you could upload a .js file, because anything more than trivial is going to be a right pita to write in the wizard. .js is currently blacklisted. Given all the other security updates recently, do you think we are opening up a major hole if we allowed .js? Either by uploading a script file, or by pointing to a url somewhere? > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 09:47:17 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 09:47:17 +0100 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> Further info (and going slightly nuts) Clean XAMPP install from 2.0 Made Xerte toolkit. Can replicate the issue Made a bootstrap - cannot replicate the issue Brill! Replace files in modules/Xerte/engine with files from modules site/engine Delete cache, refresh in FF. Whah! Still the same situation. Can replicate in the toolkit, but not in the bootstrap. Can anyone else replicate it? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:34 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media On our upgraded install this bug has reappeared. Every time, for me: upload media, preview, close preview, upload another file - no browse dialog. On my xampp install I can't replicate it. On our main install Fay can't replicate it. All in FF 20.0.1 So WTF? From: Tenney Julian Sent: 25 April 2013 12:10 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: Browse Dialog Issue when Uploading Media A long standing issue, but some progress: but I don't know why (this was Pat's code originally): Problem: upload media, preview, upload another media aand the browse dialog doesn't show. Solution: comment out the lines from function preview() that call the javascript function hideunload() which is this: function hideunload(){ window.onbeforeunload = null; } If you don't call that function, it works OK. But it must be there for a reason: question is, what? -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 09:49:15 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 09:49:15 +0100 Subject: [Xerte-dev] Re: Upload JS In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0B88@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0C10@EXCHANGE1.ad.nottingham.ac.uk> Fair enough then. Shame. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 10 May 2013 09:00 To: For Xerte technical developers Subject: [Xerte-dev] Re: Upload JS Yes On 10 May 2013, at 07:59, Julian Tenney > wrote: Thinking aloud here, you can write javascript in the bootstrap template ? so it would probably be handy if you could upload a .js file, because anything more than trivial is going to be a right pita to write in the wizard. .js is currently blacklisted. Given all the other security updates recently, do you think we are opening up a major hole if we allowed .js? Either by uploading a script file, or by pointing to a url somewhere? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Fri May 10 09:49:46 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 10 May 2013 10:49:46 +0200 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <518CB4AA.7000104@tor.nl> Yes, I've seen it (some) installations. It's VERY annoying. Some user had this issue in XAMPP. Don't remember who though. Tom Op 10-5-2013 10:47, Julian Tenney schreef: > > Further info (and going slightly nuts) > > Clean XAMPP install from 2.0 > > Made Xerte toolkit. Can replicate the issue > > Made a bootstrap -- cannot replicate the issue > > Brill! > > Replace files in modules/Xerte/engine with files from modules site/engine > > Delete cache, refresh in FF. > > Whah! Still the same situation. Can replicate in the toolkit, but not > in the bootstrap. > > Can anyone else replicate it? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* 10 May 2013 09:34 > *To:* For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > On our upgraded install this bug has reappeared. Every time, for me: > upload media, preview, close preview, upload another file -- no browse > dialog. > > On my xampp install I can't replicate it. > > On our main install Fay can't replicate it. > > All in FF 20.0.1 > > So WTF? > > *From:*Tenney Julian > *Sent:* 25 April 2013 12:10 > *To:* For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk > ) > *Subject:* Browse Dialog Issue when Uploading Media > > A long standing issue, but some progress: but I don't know why (this > was Pat's code originally): > > Problem: upload media, preview, upload another media aand the browse > dialog doesn't show. > > Solution: comment out the lines from function preview() that call the > javascript function hideunload() which is this: > > function hideunload(){ > > window.onbeforeunload = null; > } > > If you don't call that function, it works OK. > > But it must be there for a reason: question is, what? > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 09:56:39 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 09:56:39 +0100 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media In-Reply-To: <518CB4AA.7000104@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> <518CB4AA.7000104@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0C20@EXCHANGE1.ad.nottingham.ac.uk> Need to fix it because it was driving me crackers yesterday. It is fixable, because I can replicate it in Xerte Toolkits pieces on a clean xampp install, but not a bootstrap (which works fine) So there is something in the Xerte pieces that is breaking it, and it's not the files in modules/Xerte/engine because I have swapped them with ones from modules/site/engine. Confusing issue, because yesterday it was the bootstrap one on our server that was giving me the grief. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Yes, I've seen it (some) installations. It's VERY annoying. Some user had this issue in XAMPP. Don't remember who though. Tom Op 10-5-2013 10:47, Julian Tenney schreef: Further info (and going slightly nuts) Clean XAMPP install from 2.0 Made Xerte toolkit. Can replicate the issue Made a bootstrap - cannot replicate the issue Brill! Replace files in modules/Xerte/engine with files from modules site/engine Delete cache, refresh in FF. Whah! Still the same situation. Can replicate in the toolkit, but not in the bootstrap. Can anyone else replicate it? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:34 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media On our upgraded install this bug has reappeared. Every time, for me: upload media, preview, close preview, upload another file - no browse dialog. On my xampp install I can't replicate it. On our main install Fay can't replicate it. All in FF 20.0.1 So WTF? From: Tenney Julian Sent: 25 April 2013 12:10 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: Browse Dialog Issue when Uploading Media A long standing issue, but some progress: but I don't know why (this was Pat's code originally): Problem: upload media, preview, upload another media aand the browse dialog doesn't show. Solution: comment out the lines from function preview() that call the javascript function hideunload() which is this: function hideunload(){ window.onbeforeunload = null; } If you don't call that function, it works OK. But it must be there for a reason: question is, what? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Fri May 10 09:57:15 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 10 May 2013 09:57:15 +0100 Subject: [Xerte-dev] Re: Upload JS In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0C10@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0B88@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C10@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: We could just add as an optional setting in management to allow JS or anything else that would be insecure, off by default and allow the end user to choose? on a very closed system I agree it would be good. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, May 10, 2013 9:49 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Upload JS Fair enough then. Shame. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 10 May 2013 09:00 To: For Xerte technical developers Subject: [Xerte-dev] Re: Upload JS Yes On 10 May 2013, at 07:59, Julian Tenney > wrote: Thinking aloud here, you can write javascript in the bootstrap template ? so it would probably be handy if you could upload a .js file, because anything more than trivial is going to be a right pita to write in the wizard. .js is currently blacklisted. Given all the other security updates recently, do you think we are opening up a major hole if we allowed .js? Either by uploading a script file, or by pointing to a url somewhere? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Fri May 10 10:06:27 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 10 May 2013 10:06:27 +0100 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0C20@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> <518CB4AA.7000104@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C20@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <055501ce4d5d$a815c7a0$f84156e0$@co.uk> Sorry about to head off to catch a train and will be offline rest of the day so can't help much but I built a new xampp install yesterday from latest svn and just tried to replicate this but can't. Have only tested with IE but could browser be part of the equation? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Need to fix it because it was driving me crackers yesterday. It is fixable, because I can replicate it in Xerte Toolkits pieces on a clean xampp install, but not a bootstrap (which works fine) So there is something in the Xerte pieces that is breaking it, and it's not the files in modules/Xerte/engine because I have swapped them with ones from modules/site/engine. Confusing issue, because yesterday it was the bootstrap one on our server that was giving me the grief. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Yes, I've seen it (some) installations. It's VERY annoying. Some user had this issue in XAMPP. Don't remember who though. Tom Op 10-5-2013 10:47, Julian Tenney schreef: Further info (and going slightly nuts) Clean XAMPP install from 2.0 Made Xerte toolkit. Can replicate the issue Made a bootstrap - cannot replicate the issue Brill! Replace files in modules/Xerte/engine with files from modules site/engine Delete cache, refresh in FF. Whah! Still the same situation. Can replicate in the toolkit, but not in the bootstrap. Can anyone else replicate it? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:34 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media On our upgraded install this bug has reappeared. Every time, for me: upload media, preview, close preview, upload another file - no browse dialog. On my xampp install I can't replicate it. On our main install Fay can't replicate it. All in FF 20.0.1 So WTF? From: Tenney Julian Sent: 25 April 2013 12:10 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: Browse Dialog Issue when Uploading Media A long standing issue, but some progress: but I don't know why (this was Pat's code originally): Problem: upload media, preview, upload another media aand the browse dialog doesn't show. Solution: comment out the lines from function preview() that call the javascript function hideunload() which is this: function hideunload(){ window.onbeforeunload = null; } If you don't call that function, it works OK. But it must be there for a reason: question is, what? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 11:09:28 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 11:09:28 +0100 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media In-Reply-To: <055501ce4d5d$a815c7a0$f84156e0$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> <518CB4AA.7000104@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C20@EXCHANGE1.ad.nottingham.ac.uk> <055501ce4d5d$a815c7a0$f84156e0$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0CBB@EXCHANGE1.ad.nottingham.ac.uk> It's a FF issue only I think. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 10 May 2013 10:06 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Sorry about to head off to catch a train and will be offline rest of the day so can't help much but I built a new xampp install yesterday from latest svn and just tried to replicate this but can't. Have only tested with IE but could browser be part of the equation? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Need to fix it because it was driving me crackers yesterday. It is fixable, because I can replicate it in Xerte Toolkits pieces on a clean xampp install, but not a bootstrap (which works fine) So there is something in the Xerte pieces that is breaking it, and it's not the files in modules/Xerte/engine because I have swapped them with ones from modules/site/engine. Confusing issue, because yesterday it was the bootstrap one on our server that was giving me the grief. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Yes, I've seen it (some) installations. It's VERY annoying. Some user had this issue in XAMPP. Don't remember who though. Tom Op 10-5-2013 10:47, Julian Tenney schreef: Further info (and going slightly nuts) Clean XAMPP install from 2.0 Made Xerte toolkit. Can replicate the issue Made a bootstrap - cannot replicate the issue Brill! Replace files in modules/Xerte/engine with files from modules site/engine Delete cache, refresh in FF. Whah! Still the same situation. Can replicate in the toolkit, but not in the bootstrap. Can anyone else replicate it? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:34 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media On our upgraded install this bug has reappeared. Every time, for me: upload media, preview, close preview, upload another file - no browse dialog. On my xampp install I can't replicate it. On our main install Fay can't replicate it. All in FF 20.0.1 So WTF? From: Tenney Julian Sent: 25 April 2013 12:10 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: Browse Dialog Issue when Uploading Media A long standing issue, but some progress: but I don't know why (this was Pat's code originally): Problem: upload media, preview, upload another media aand the browse dialog doesn't show. Solution: comment out the lines from function preview() that call the javascript function hideunload() which is this: function hideunload(){ window.onbeforeunload = null; } If you don't call that function, it works OK. But it must be there for a reason: question is, what? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Fri May 10 11:17:33 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 10 May 2013 11:17:33 +0100 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0CBB@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> <518CB4AA.7000104@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C20@EXCHANGE1.ad.nottingham.ac.uk> <055501ce4d5d$a815c7a0$f84156e0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CBB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: But no console errors? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, May 10, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media It's a FF issue only I think. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 10 May 2013 10:06 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Sorry about to head off to catch a train and will be offline rest of the day so can't help much but I built a new xampp install yesterday from latest svn and just tried to replicate this but can't. Have only tested with IE but could browser be part of the equation? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Need to fix it because it was driving me crackers yesterday. It is fixable, because I can replicate it in Xerte Toolkits pieces on a clean xampp install, but not a bootstrap (which works fine) So there is something in the Xerte pieces that is breaking it, and it's not the files in modules/Xerte/engine because I have swapped them with ones from modules/site/engine. Confusing issue, because yesterday it was the bootstrap one on our server that was giving me the grief. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Yes, I've seen it (some) installations. It's VERY annoying. Some user had this issue in XAMPP. Don't remember who though. Tom Op 10-5-2013 10:47, Julian Tenney schreef: Further info (and going slightly nuts) Clean XAMPP install from 2.0 Made Xerte toolkit. Can replicate the issue Made a bootstrap - cannot replicate the issue Brill! Replace files in modules/Xerte/engine with files from modules site/engine Delete cache, refresh in FF. Whah! Still the same situation. Can replicate in the toolkit, but not in the bootstrap. Can anyone else replicate it? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:34 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media On our upgraded install this bug has reappeared. Every time, for me: upload media, preview, close preview, upload another file - no browse dialog. On my xampp install I can't replicate it. On our main install Fay can't replicate it. All in FF 20.0.1 So WTF? From: Tenney Julian Sent: 25 April 2013 12:10 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: Browse Dialog Issue when Uploading Media A long standing issue, but some progress: but I don't know why (this was Pat's code originally): Problem: upload media, preview, upload another media aand the browse dialog doesn't show. Solution: comment out the lines from function preview() that call the javascript function hideunload() which is this: function hideunload(){ window.onbeforeunload = null; } If you don't call that function, it works OK. But it must be there for a reason: question is, what? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 11:33:29 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 11:33:29 +0100 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> <518CB4AA.7000104@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C20@EXCHANGE1.ad.nottingham.ac.uk> <055501ce4d5d$a815c7a0$f84156e0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CBB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0CFE@EXCHANGE1.ad.nottingham.ac.uk> nope From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 10 May 2013 11:18 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media But no console errors? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, May 10, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media It's a FF issue only I think. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 10 May 2013 10:06 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Sorry about to head off to catch a train and will be offline rest of the day so can't help much but I built a new xampp install yesterday from latest svn and just tried to replicate this but can't. Have only tested with IE but could browser be part of the equation? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Need to fix it because it was driving me crackers yesterday. It is fixable, because I can replicate it in Xerte Toolkits pieces on a clean xampp install, but not a bootstrap (which works fine) So there is something in the Xerte pieces that is breaking it, and it's not the files in modules/Xerte/engine because I have swapped them with ones from modules/site/engine. Confusing issue, because yesterday it was the bootstrap one on our server that was giving me the grief. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Yes, I've seen it (some) installations. It's VERY annoying. Some user had this issue in XAMPP. Don't remember who though. Tom Op 10-5-2013 10:47, Julian Tenney schreef: Further info (and going slightly nuts) Clean XAMPP install from 2.0 Made Xerte toolkit. Can replicate the issue Made a bootstrap - cannot replicate the issue Brill! Replace files in modules/Xerte/engine with files from modules site/engine Delete cache, refresh in FF. Whah! Still the same situation. Can replicate in the toolkit, but not in the bootstrap. Can anyone else replicate it? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:34 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media On our upgraded install this bug has reappeared. Every time, for me: upload media, preview, close preview, upload another file - no browse dialog. On my xampp install I can't replicate it. On our main install Fay can't replicate it. All in FF 20.0.1 So WTF? From: Tenney Julian Sent: 25 April 2013 12:10 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: Browse Dialog Issue when Uploading Media A long standing issue, but some progress: but I don't know why (this was Pat's code originally): Problem: upload media, preview, upload another media aand the browse dialog doesn't show. Solution: comment out the lines from function preview() that call the javascript function hideunload() which is this: function hideunload(){ window.onbeforeunload = null; } If you don't call that function, it works OK. But it must be there for a reason: question is, what? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Fri May 10 11:50:58 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 10 May 2013 12:50:58 +0200 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0CFE@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> <518CB4AA.7000104@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C20@EXCHANGE1.ad.nottingham.ac.uk> <055501ce4d5d$a815c7a0$f84156e0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CBB@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CFE@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <518CD112.3000909@tor.nl> I've been able to reproduce it in my dev environment, But I also don't see any errors in console. Op 10-5-2013 12:33, Julian Tenney schreef: > > nope > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Smith, John > *Sent:* 10 May 2013 11:18 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > But no console errors? > > Regards, > > John Smith > > Learning Technologist > > School of Health & Life Sciences > > Glasgow Caledonian University > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* Friday, May 10, 2013 11:09 AM > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > It's a FF issue only I think. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Ron > Mitchell > *Sent:* 10 May 2013 10:06 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > Sorry about to head off to catch a train and will be offline rest of > the day so can't help much but I built a new xampp install yesterday > from latest svn and just tried to replicate this but can't. Have only > tested with IE but could browser be part of the equation? > > HTH > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* 10 May 2013 09:57 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > Need to fix it because it was driving me crackers yesterday. > > It is fixable, because I can replicate it in Xerte Toolkits pieces on > a clean xampp install, but not a bootstrap (which works fine) > > So there is something in the Xerte pieces that is breaking it, and > it's not the files in modules/Xerte/engine because I have swapped them > with ones from modules/site/engine. > > Confusing issue, because yesterday it was the bootstrap one on our > server that was giving me the grief. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 10 May 2013 09:50 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > Yes, I've seen it (some) installations. > > It's VERY annoying. > > Some user had this issue in XAMPP. Don't remember who though. > > Tom > > Op 10-5-2013 10:47, Julian Tenney schreef: > > Further info (and going slightly nuts) > > Clean XAMPP install from 2.0 > > Made Xerte toolkit. Can replicate the issue > > Made a bootstrap -- cannot replicate the issue > > Brill! > > Replace files in modules/Xerte/engine with files from modules > site/engine > > Delete cache, refresh in FF. > > Whah! Still the same situation. Can replicate in the toolkit, but > not in the bootstrap. > > Can anyone else replicate it? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* 10 May 2013 09:34 > *To:* For Xerte technical developers > (xerte-dev at lists.nottingham.ac.uk > ) > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > On our upgraded install this bug has reappeared. Every time, for > me: upload media, preview, close preview, upload another file -- > no browse dialog. > > On my xampp install I can't replicate it. > > On our main install Fay can't replicate it. > > All in FF 20.0.1 > > So WTF? > > *From:*Tenney Julian > *Sent:* 25 April 2013 12:10 > *To:* For Xerte technical developers > (xerte-dev at lists.nottingham.ac.uk > ) > *Subject:* Browse Dialog Issue when Uploading Media > > A long standing issue, but some progress: but I don't know why > (this was Pat's code originally): > > Problem: upload media, preview, upload another media aand the > browse dialog doesn't show. > > Solution: comment out the lines from function preview() that call > the javascript function hideunload() which is this: > > function hideunload(){ > > > > window.onbeforeunload = null; > > } > > If you don't call that function, it works OK. > > But it must be there for a reason: question is, what? > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of > the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 11:53:58 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 11:53:58 +0100 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media In-Reply-To: <518CD112.3000909@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> <518CB4AA.7000104@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C20@EXCHANGE1.ad.nottingham.ac.uk> <055501ce4d5d$a815c7a0$f84156e0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CBB@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CFE@EXCHANGE1.ad.nottingham.ac.uk> <518CD112.3000909@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0D31@EXCHANGE1.ad.nottingham.ac.uk> Just for the bootstrap template? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 11:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media I've been able to reproduce it in my dev environment, But I also don't see any errors in console. Op 10-5-2013 12:33, Julian Tenney schreef: nope From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 10 May 2013 11:18 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media But no console errors? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, May 10, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media It's a FF issue only I think. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 10 May 2013 10:06 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Sorry about to head off to catch a train and will be offline rest of the day so can't help much but I built a new xampp install yesterday from latest svn and just tried to replicate this but can't. Have only tested with IE but could browser be part of the equation? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Need to fix it because it was driving me crackers yesterday. It is fixable, because I can replicate it in Xerte Toolkits pieces on a clean xampp install, but not a bootstrap (which works fine) So there is something in the Xerte pieces that is breaking it, and it's not the files in modules/Xerte/engine because I have swapped them with ones from modules/site/engine. Confusing issue, because yesterday it was the bootstrap one on our server that was giving me the grief. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Yes, I've seen it (some) installations. It's VERY annoying. Some user had this issue in XAMPP. Don't remember who though. Tom Op 10-5-2013 10:47, Julian Tenney schreef: Further info (and going slightly nuts) Clean XAMPP install from 2.0 Made Xerte toolkit. Can replicate the issue Made a bootstrap - cannot replicate the issue Brill! Replace files in modules/Xerte/engine with files from modules site/engine Delete cache, refresh in FF. Whah! Still the same situation. Can replicate in the toolkit, but not in the bootstrap. Can anyone else replicate it? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:34 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media On our upgraded install this bug has reappeared. Every time, for me: upload media, preview, close preview, upload another file - no browse dialog. On my xampp install I can't replicate it. On our main install Fay can't replicate it. All in FF 20.0.1 So WTF? From: Tenney Julian Sent: 25 April 2013 12:10 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: Browse Dialog Issue when Uploading Media A long standing issue, but some progress: but I don't know why (this was Pat's code originally): Problem: upload media, preview, upload another media aand the browse dialog doesn't show. Solution: comment out the lines from function preview() that call the javascript function hideunload() which is this: function hideunload(){ window.onbeforeunload = null; } If you don't call that function, it works OK. But it must be there for a reason: question is, what? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 12:01:42 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 12:01:42 +0100 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0D31@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> <518CB4AA.7000104@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C20@EXCHANGE1.ad.nottingham.ac.uk> <055501ce4d5d$a815c7a0$f84156e0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CBB@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CFE@EXCHANGE1.ad.nottingham.ac.uk> <518CD112.3000909@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0D31@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0D3C@EXCHANGE1.ad.nottingham.ac.uk> There are differences in the wizard for how the two different templates preview. In function preview() there are quite a few nested if... else statements, but I can't see anything obvious. This code pre-dates some of the more recent modular changes, if someone more faciliar with those could check it over, that might through something up. It must be something to do with the different preview windows for the different templates, everything else seems to be the same. The answer is in there somewhere... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 11:54 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Just for the bootstrap template? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 11:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media I've been able to reproduce it in my dev environment, But I also don't see any errors in console. Op 10-5-2013 12:33, Julian Tenney schreef: nope From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 10 May 2013 11:18 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media But no console errors? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, May 10, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media It's a FF issue only I think. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 10 May 2013 10:06 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Sorry about to head off to catch a train and will be offline rest of the day so can't help much but I built a new xampp install yesterday from latest svn and just tried to replicate this but can't. Have only tested with IE but could browser be part of the equation? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Need to fix it because it was driving me crackers yesterday. It is fixable, because I can replicate it in Xerte Toolkits pieces on a clean xampp install, but not a bootstrap (which works fine) So there is something in the Xerte pieces that is breaking it, and it's not the files in modules/Xerte/engine because I have swapped them with ones from modules/site/engine. Confusing issue, because yesterday it was the bootstrap one on our server that was giving me the grief. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Yes, I've seen it (some) installations. It's VERY annoying. Some user had this issue in XAMPP. Don't remember who though. Tom Op 10-5-2013 10:47, Julian Tenney schreef: Further info (and going slightly nuts) Clean XAMPP install from 2.0 Made Xerte toolkit. Can replicate the issue Made a bootstrap - cannot replicate the issue Brill! Replace files in modules/Xerte/engine with files from modules site/engine Delete cache, refresh in FF. Whah! Still the same situation. Can replicate in the toolkit, but not in the bootstrap. Can anyone else replicate it? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:34 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media On our upgraded install this bug has reappeared. Every time, for me: upload media, preview, close preview, upload another file - no browse dialog. On my xampp install I can't replicate it. On our main install Fay can't replicate it. All in FF 20.0.1 So WTF? From: Tenney Julian Sent: 25 April 2013 12:10 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: Browse Dialog Issue when Uploading Media A long standing issue, but some progress: but I don't know why (this was Pat's code originally): Problem: upload media, preview, upload another media aand the browse dialog doesn't show. Solution: comment out the lines from function preview() that call the javascript function hideunload() which is this: function hideunload(){ window.onbeforeunload = null; } If you don't call that function, it works OK. But it must be there for a reason: question is, what? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Fri May 10 12:09:11 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 10 May 2013 13:09:11 +0200 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0D31@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> <518CB4AA.7000104@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C20@EXCHANGE1.ad.nottingham.ac.uk> <055501ce4d5d$a815c7a0$f84156e0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CBB@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CFE@EXCHANGE1.ad.nottingham.ac.uk> <518CD112.3000909@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0D31@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <518CD557.4070408@tor.nl> No, I didn't check bootstrap yet. This is Xerte. Op 10-5-2013 12:53, Julian Tenney schreef: > > Just for the bootstrap template? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 10 May 2013 11:51 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > I've been able to reproduce it in my dev environment, But I also don't > see any errors in console. > > Op 10-5-2013 12:33, Julian Tenney schreef: > > nope > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Smith, John > *Sent:* 10 May 2013 11:18 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > But no console errors? > > Regards, > > John Smith > > Learning Technologist > > School of Health & Life Sciences > > Glasgow Caledonian University > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* Friday, May 10, 2013 11:09 AM > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > It's a FF issue only I think. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Ron Mitchell > *Sent:* 10 May 2013 10:06 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > Sorry about to head off to catch a train and will be offline rest > of the day so can't help much but I built a new xampp install > yesterday from latest svn and just tried to replicate this but > can't. Have only tested with IE but could browser be part of the > equation? > > HTH > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* 10 May 2013 09:57 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > Need to fix it because it was driving me crackers yesterday. > > It is fixable, because I can replicate it in Xerte Toolkits pieces > on a clean xampp install, but not a bootstrap (which works fine) > > So there is something in the Xerte pieces that is breaking it, and > it's not the files in modules/Xerte/engine because I have swapped > them with ones from modules/site/engine. > > Confusing issue, because yesterday it was the bootstrap one on our > server that was giving me the grief. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Tom Reijnders > *Sent:* 10 May 2013 09:50 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > Yes, I've seen it (some) installations. > > It's VERY annoying. > > Some user had this issue in XAMPP. Don't remember who though. > > Tom > > Op 10-5-2013 10:47, Julian Tenney schreef: > > Further info (and going slightly nuts) > > Clean XAMPP install from 2.0 > > Made Xerte toolkit. Can replicate the issue > > Made a bootstrap -- cannot replicate the issue > > Brill! > > Replace files in modules/Xerte/engine with files from modules > site/engine > > Delete cache, refresh in FF. > > Whah! Still the same situation. Can replicate in the toolkit, > but not in the bootstrap. > > Can anyone else replicate it? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Julian Tenney > *Sent:* 10 May 2013 09:34 > *To:* For Xerte technical developers > (xerte-dev at lists.nottingham.ac.uk > ) > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading > Media > > On our upgraded install this bug has reappeared. Every time, > for me: upload media, preview, close preview, upload another > file -- no browse dialog. > > On my xampp install I can't replicate it. > > On our main install Fay can't replicate it. > > All in FF 20.0.1 > > So WTF? > > *From:*Tenney Julian > *Sent:* 25 April 2013 12:10 > *To:* For Xerte technical developers > (xerte-dev at lists.nottingham.ac.uk > ) > *Subject:* Browse Dialog Issue when Uploading Media > > A long standing issue, but some progress: but I don't know why > (this was Pat's code originally): > > Problem: upload media, preview, upload another media aand the > browse dialog doesn't show. > > Solution: comment out the lines from function preview() that > call the javascript function hideunload() which is this: > > function hideunload(){ > > > > window.onbeforeunload = null; > > } > > If you don't call that function, it works OK. > > But it must be there for a reason: question is, what? > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > Glasgow Caledonian University is a registered Scottish charity, > number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative > of the Year 2009 and Herald Society's Education Initiative of the > Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early > Career Researchers of the Year 2010, GCU as a lead with > Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Fri May 10 12:32:52 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 10 May 2013 13:32:52 +0200 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0D3C@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> <518CB4AA.7000104@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C20@EXCHANGE1.ad.nottingham.ac.uk> <055501ce4d5d$a815c7a0$f84156e0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CBB@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CFE@EXCHANGE1.ad.nottingham.ac.uk> <518CD112.3000909@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0D31@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0D3C@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <518CDAE4.3060607@tor.nl> I changed the getUrl for xerte to be exactly the same as for site (not the url mind you) and that doesn't help. I can't imagine that the url params have anything to do with that. The only difference I see between firefox and chrome is that firefox calls the javascript function getSessionId() I have really no clue.... Op 10-5-2013 13:01, Julian Tenney schreef: > > There are differences in the wizard for how the two different > templates preview. In function preview() there are quite a few nested > if... else statements, but I can't see anything obvious. This code > pre-dates some of the more recent modular changes, if someone more > faciliar with those could check it over, that might through something up. > > It must be something to do with the different preview windows for the > different templates, everything else seems to be the same. > > The answer is in there somewhere... > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* 10 May 2013 11:54 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > Just for the bootstrap template? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 10 May 2013 11:51 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > I've been able to reproduce it in my dev environment, But I also don't > see any errors in console. > > Op 10-5-2013 12:33, Julian Tenney schreef: > > nope > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Smith, John > *Sent:* 10 May 2013 11:18 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > But no console errors? > > Regards, > > John Smith > > Learning Technologist > > School of Health & Life Sciences > > Glasgow Caledonian University > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* Friday, May 10, 2013 11:09 AM > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > It's a FF issue only I think. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Ron Mitchell > *Sent:* 10 May 2013 10:06 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > Sorry about to head off to catch a train and will be offline rest > of the day so can't help much but I built a new xampp install > yesterday from latest svn and just tried to replicate this but > can't. Have only tested with IE but could browser be part of the > equation? > > HTH > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* 10 May 2013 09:57 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > Need to fix it because it was driving me crackers yesterday. > > It is fixable, because I can replicate it in Xerte Toolkits pieces > on a clean xampp install, but not a bootstrap (which works fine) > > So there is something in the Xerte pieces that is breaking it, and > it's not the files in modules/Xerte/engine because I have swapped > them with ones from modules/site/engine. > > Confusing issue, because yesterday it was the bootstrap one on our > server that was giving me the grief. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Tom Reijnders > *Sent:* 10 May 2013 09:50 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > Yes, I've seen it (some) installations. > > It's VERY annoying. > > Some user had this issue in XAMPP. Don't remember who though. > > Tom > > Op 10-5-2013 10:47, Julian Tenney schreef: > > Further info (and going slightly nuts) > > Clean XAMPP install from 2.0 > > Made Xerte toolkit. Can replicate the issue > > Made a bootstrap -- cannot replicate the issue > > Brill! > > Replace files in modules/Xerte/engine with files from modules > site/engine > > Delete cache, refresh in FF. > > Whah! Still the same situation. Can replicate in the toolkit, > but not in the bootstrap. > > Can anyone else replicate it? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Julian Tenney > *Sent:* 10 May 2013 09:34 > *To:* For Xerte technical developers > (xerte-dev at lists.nottingham.ac.uk > ) > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading > Media > > On our upgraded install this bug has reappeared. Every time, > for me: upload media, preview, close preview, upload another > file -- no browse dialog. > > On my xampp install I can't replicate it. > > On our main install Fay can't replicate it. > > All in FF 20.0.1 > > So WTF? > > *From:*Tenney Julian > *Sent:* 25 April 2013 12:10 > *To:* For Xerte technical developers > (xerte-dev at lists.nottingham.ac.uk > ) > *Subject:* Browse Dialog Issue when Uploading Media > > A long standing issue, but some progress: but I don't know why > (this was Pat's code originally): > > Problem: upload media, preview, upload another media aand the > browse dialog doesn't show. > > Solution: comment out the lines from function preview() that > call the javascript function hideunload() which is this: > > function hideunload(){ > > > > window.onbeforeunload = null; > > } > > If you don't call that function, it works OK. > > But it must be there for a reason: question is, what? > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > Glasgow Caledonian University is a registered Scottish charity, > number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative > of the Year 2009 and Herald Society's Education Initiative of the > Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early > Career Researchers of the Year 2010, GCU as a lead with > Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 12:35:13 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 12:35:13 +0100 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media In-Reply-To: <518CDAE4.3060607@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> <518CB4AA.7000104@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C20@EXCHANGE1.ad.nottingham.ac.uk> <055501ce4d5d$a815c7a0$f84156e0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CBB@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CFE@EXCHANGE1.ad.nottingham.ac.uk> <518CD112.3000909@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0D31@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0D3C@EXCHANGE1.ad.nottingham.ac.uk> <518CDAE4.3060607@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0D81@EXCHANGE1.ad.nottingham.ac.uk> But it was fixed before (in one of the temapltes with that = function(){} rather than = null. I found another instance of that in edit_xerte_top, but that hasn't helped From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 12:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media I changed the getUrl for xerte to be exactly the same as for site (not the url mind you) and that doesn't help. I can't imagine that the url params have anything to do with that. The only difference I see between firefox and chrome is that firefox calls the javascript function getSessionId() I have really no clue.... Op 10-5-2013 13:01, Julian Tenney schreef: There are differences in the wizard for how the two different templates preview. In function preview() there are quite a few nested if... else statements, but I can't see anything obvious. This code pre-dates some of the more recent modular changes, if someone more faciliar with those could check it over, that might through something up. It must be something to do with the different preview windows for the different templates, everything else seems to be the same. The answer is in there somewhere... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 11:54 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Just for the bootstrap template? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 11:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media I've been able to reproduce it in my dev environment, But I also don't see any errors in console. Op 10-5-2013 12:33, Julian Tenney schreef: nope From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 10 May 2013 11:18 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media But no console errors? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, May 10, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media It's a FF issue only I think. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 10 May 2013 10:06 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Sorry about to head off to catch a train and will be offline rest of the day so can't help much but I built a new xampp install yesterday from latest svn and just tried to replicate this but can't. Have only tested with IE but could browser be part of the equation? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Need to fix it because it was driving me crackers yesterday. It is fixable, because I can replicate it in Xerte Toolkits pieces on a clean xampp install, but not a bootstrap (which works fine) So there is something in the Xerte pieces that is breaking it, and it's not the files in modules/Xerte/engine because I have swapped them with ones from modules/site/engine. Confusing issue, because yesterday it was the bootstrap one on our server that was giving me the grief. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Yes, I've seen it (some) installations. It's VERY annoying. Some user had this issue in XAMPP. Don't remember who though. Tom Op 10-5-2013 10:47, Julian Tenney schreef: Further info (and going slightly nuts) Clean XAMPP install from 2.0 Made Xerte toolkit. Can replicate the issue Made a bootstrap - cannot replicate the issue Brill! Replace files in modules/Xerte/engine with files from modules site/engine Delete cache, refresh in FF. Whah! Still the same situation. Can replicate in the toolkit, but not in the bootstrap. Can anyone else replicate it? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:34 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media On our upgraded install this bug has reappeared. Every time, for me: upload media, preview, close preview, upload another file - no browse dialog. On my xampp install I can't replicate it. On our main install Fay can't replicate it. All in FF 20.0.1 So WTF? From: Tenney Julian Sent: 25 April 2013 12:10 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: Browse Dialog Issue when Uploading Media A long standing issue, but some progress: but I don't know why (this was Pat's code originally): Problem: upload media, preview, upload another media aand the browse dialog doesn't show. Solution: comment out the lines from function preview() that call the javascript function hideunload() which is this: function hideunload(){ window.onbeforeunload = null; } If you don't call that function, it works OK. But it must be there for a reason: question is, what? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Fri May 10 12:48:53 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 10 May 2013 13:48:53 +0200 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0D81@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> <518CB4AA.7000104@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C20@EXCHANGE1.ad.nottingham.ac.uk> <055501ce4d5d$a815c7a0$f84156e0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CBB@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CFE@EXCHANGE1.ad.nottingham.ac.uk> <518CD112.3000909@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0D31@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0D3C@EXCHANGE1.ad.nottingham.ac.uk> <518CDAE4.3060607@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0D81@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <518CDEA5.40005@tor.nl> I double-checked and it's using function(){} at the moment (=null doesn't change anything). But I have to tell you, I've never seen a fix that worked for me. I wasn't aware there used to be a fix for this.... Op 10-5-2013 13:35, Julian Tenney schreef: > > But it was fixed before (in one of the temapltes with that = > function(){} rather than = null. > > I found another instance of that in edit_xerte_top, but that hasn't helped > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 10 May 2013 12:33 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > I changed the getUrl for xerte to be exactly the same as for site (not > the url mind you) and that doesn't help. > > I can't imagine that the url params have anything to do with that. > > The only difference I see between firefox and chrome is that firefox > calls the javascript function getSessionId() > > I have really no clue.... > > Op 10-5-2013 13:01, Julian Tenney schreef: > > There are differences in the wizard for how the two different > templates preview. In function preview() there are quite a few > nested if... else statements, but I can't see anything obvious. > This code pre-dates some of the more recent modular changes, if > someone more faciliar with those could check it over, that might > through something up. > > It must be something to do with the different preview windows for > the different templates, everything else seems to be the same. > > The answer is in there somewhere... > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Julian Tenney > *Sent:* 10 May 2013 11:54 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > Just for the bootstrap template? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Tom Reijnders > *Sent:* 10 May 2013 11:51 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > I've been able to reproduce it in my dev environment, But I also > don't see any errors in console. > > Op 10-5-2013 12:33, Julian Tenney schreef: > > nope > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Smith, John > *Sent:* 10 May 2013 11:18 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading > Media > > But no console errors? > > Regards, > > John Smith > > Learning Technologist > > School of Health & Life Sciences > > Glasgow Caledonian University > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Julian Tenney > *Sent:* Friday, May 10, 2013 11:09 AM > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading > Media > > It's a FF issue only I think. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Ron Mitchell > *Sent:* 10 May 2013 10:06 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading > Media > > Sorry about to head off to catch a train and will be offline > rest of the day so can't help much but I built a new xampp > install yesterday from latest svn and just tried to replicate > this but can't. Have only tested with IE but could browser be > part of the equation? > > HTH > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Julian Tenney > *Sent:* 10 May 2013 09:57 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading > Media > > Need to fix it because it was driving me crackers yesterday. > > It is fixable, because I can replicate it in Xerte Toolkits > pieces on a clean xampp install, but not a bootstrap (which > works fine) > > So there is something in the Xerte pieces that is breaking it, > and it's not the files in modules/Xerte/engine because I have > swapped them with ones from modules/site/engine. > > Confusing issue, because yesterday it was the bootstrap one on > our server that was giving me the grief. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Tom Reijnders > *Sent:* 10 May 2013 09:50 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading > Media > > Yes, I've seen it (some) installations. > > It's VERY annoying. > > Some user had this issue in XAMPP. Don't remember who though. > > Tom > > Op 10-5-2013 10:47, Julian Tenney schreef: > > Further info (and going slightly nuts) > > Clean XAMPP install from 2.0 > > Made Xerte toolkit. Can replicate the issue > > Made a bootstrap -- cannot replicate the issue > > Brill! > > Replace files in modules/Xerte/engine with files from > modules site/engine > > Delete cache, refresh in FF. > > Whah! Still the same situation. Can replicate in the > toolkit, but not in the bootstrap. > > Can anyone else replicate it? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On > Behalf Of *Julian Tenney > *Sent:* 10 May 2013 09:34 > *To:* For Xerte technical developers > (xerte-dev at lists.nottingham.ac.uk > ) > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when > Uploading Media > > On our upgraded install this bug has reappeared. Every > time, for me: upload media, preview, close preview, upload > another file -- no browse dialog. > > On my xampp install I can't replicate it. > > On our main install Fay can't replicate it. > > All in FF 20.0.1 > > So WTF? > > *From:*Tenney Julian > *Sent:* 25 April 2013 12:10 > *To:* For Xerte technical developers > (xerte-dev at lists.nottingham.ac.uk > ) > *Subject:* Browse Dialog Issue when Uploading Media > > A long standing issue, but some progress: but I don't know > why (this was Pat's code originally): > > Problem: upload media, preview, upload another media aand > the browse dialog doesn't show. > > Solution: comment out the lines from function preview() > that call the javascript function hideunload() which is this: > > function hideunload(){ > > > > window.onbeforeunload = null; > > } > > If you don't call that function, it works OK. > > But it must be there for a reason: question is, what? > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > Glasgow Caledonian University is a registered Scottish > charity, number SC021474 > > Winner: Times Higher Education's Widening Participation > Initiative of the Year 2009 and Herald Society's Education > Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early > Career Researchers of the Year 2010, GCU as a lead with > Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 12:52:11 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 12:52:11 +0100 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media In-Reply-To: <518CD557.4070408@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> <518CB4AA.7000104@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C20@EXCHANGE1.ad.nottingham.ac.uk> <055501ce4d5d$a815c7a0$f84156e0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CBB@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CFE@EXCHANGE1.ad.nottingham.ac.uk> <518CD112.3000909@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0D31@EXCHANGE1.ad.nottingham.ac.uk> <518CD557.4070408@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DA6@EXCHANGE1.ad.nottingham.ac.uk> Which wizard file am I using if I edit a Xerte Online Toolkit piece? I have to say the modular code is very confusing with all the duplicated files, and the wizard in modules/Xerte/engine is not the wizard file I get when I edit one of those pieces. So which on is it? And which edit.php is being hit? Are there file duped unnecessarily? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 12:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media No, I didn't check bootstrap yet. This is Xerte. Op 10-5-2013 12:53, Julian Tenney schreef: Just for the bootstrap template? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 11:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media I've been able to reproduce it in my dev environment, But I also don't see any errors in console. Op 10-5-2013 12:33, Julian Tenney schreef: nope From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 10 May 2013 11:18 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media But no console errors? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, May 10, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media It's a FF issue only I think. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 10 May 2013 10:06 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Sorry about to head off to catch a train and will be offline rest of the day so can't help much but I built a new xampp install yesterday from latest svn and just tried to replicate this but can't. Have only tested with IE but could browser be part of the equation? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Need to fix it because it was driving me crackers yesterday. It is fixable, because I can replicate it in Xerte Toolkits pieces on a clean xampp install, but not a bootstrap (which works fine) So there is something in the Xerte pieces that is breaking it, and it's not the files in modules/Xerte/engine because I have swapped them with ones from modules/site/engine. Confusing issue, because yesterday it was the bootstrap one on our server that was giving me the grief. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Yes, I've seen it (some) installations. It's VERY annoying. Some user had this issue in XAMPP. Don't remember who though. Tom Op 10-5-2013 10:47, Julian Tenney schreef: Further info (and going slightly nuts) Clean XAMPP install from 2.0 Made Xerte toolkit. Can replicate the issue Made a bootstrap - cannot replicate the issue Brill! Replace files in modules/Xerte/engine with files from modules site/engine Delete cache, refresh in FF. Whah! Still the same situation. Can replicate in the toolkit, but not in the bootstrap. Can anyone else replicate it? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:34 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media On our upgraded install this bug has reappeared. Every time, for me: upload media, preview, close preview, upload another file - no browse dialog. On my xampp install I can't replicate it. On our main install Fay can't replicate it. All in FF 20.0.1 So WTF? From: Tenney Julian Sent: 25 April 2013 12:10 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: Browse Dialog Issue when Uploading Media A long standing issue, but some progress: but I don't know why (this was Pat's code originally): Problem: upload media, preview, upload another media aand the browse dialog doesn't show. Solution: comment out the lines from function preview() that call the javascript function hideunload() which is this: function hideunload(){ window.onbeforeunload = null; } If you don't call that function, it works OK. But it must be there for a reason: question is, what? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 12:52:41 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 12:52:41 +0100 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media In-Reply-To: <518CDEA5.40005@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> <518CB4AA.7000104@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C20@EXCHANGE1.ad.nottingham.ac.uk> <055501ce4d5d$a815c7a0$f84156e0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CBB@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CFE@EXCHANGE1.ad.nottingham.ac.uk> <518CD112.3000909@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0D31@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0D3C@EXCHANGE1.ad.nottingham.ac.uk> <518CDAE4.3060607@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0D81@EXCHANGE1.ad.nottingham.ac.uk> <518CDEA5.40005@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DAA@EXCHANGE1.ad.nottingham.ac.uk> I fixed it on my localhost by doing that. My bootstrap works. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 12:49 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media I double-checked and it's using function(){} at the moment (=null doesn't change anything). But I have to tell you, I've never seen a fix that worked for me. I wasn't aware there used to be a fix for this.... Op 10-5-2013 13:35, Julian Tenney schreef: But it was fixed before (in one of the temapltes with that = function(){} rather than = null. I found another instance of that in edit_xerte_top, but that hasn't helped From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 12:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media I changed the getUrl for xerte to be exactly the same as for site (not the url mind you) and that doesn't help. I can't imagine that the url params have anything to do with that. The only difference I see between firefox and chrome is that firefox calls the javascript function getSessionId() I have really no clue.... Op 10-5-2013 13:01, Julian Tenney schreef: There are differences in the wizard for how the two different templates preview. In function preview() there are quite a few nested if... else statements, but I can't see anything obvious. This code pre-dates some of the more recent modular changes, if someone more faciliar with those could check it over, that might through something up. It must be something to do with the different preview windows for the different templates, everything else seems to be the same. The answer is in there somewhere... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 11:54 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Just for the bootstrap template? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 11:51 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media I've been able to reproduce it in my dev environment, But I also don't see any errors in console. Op 10-5-2013 12:33, Julian Tenney schreef: nope From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 10 May 2013 11:18 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media But no console errors? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, May 10, 2013 11:09 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media It's a FF issue only I think. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 10 May 2013 10:06 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Sorry about to head off to catch a train and will be offline rest of the day so can't help much but I built a new xampp install yesterday from latest svn and just tried to replicate this but can't. Have only tested with IE but could browser be part of the equation? HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Need to fix it because it was driving me crackers yesterday. It is fixable, because I can replicate it in Xerte Toolkits pieces on a clean xampp install, but not a bootstrap (which works fine) So there is something in the Xerte pieces that is breaking it, and it's not the files in modules/Xerte/engine because I have swapped them with ones from modules/site/engine. Confusing issue, because yesterday it was the bootstrap one on our server that was giving me the grief. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 09:50 To: For Xerte technical developers Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media Yes, I've seen it (some) installations. It's VERY annoying. Some user had this issue in XAMPP. Don't remember who though. Tom Op 10-5-2013 10:47, Julian Tenney schreef: Further info (and going slightly nuts) Clean XAMPP install from 2.0 Made Xerte toolkit. Can replicate the issue Made a bootstrap - cannot replicate the issue Brill! Replace files in modules/Xerte/engine with files from modules site/engine Delete cache, refresh in FF. Whah! Still the same situation. Can replicate in the toolkit, but not in the bootstrap. Can anyone else replicate it? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 09:34 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media On our upgraded install this bug has reappeared. Every time, for me: upload media, preview, close preview, upload another file - no browse dialog. On my xampp install I can't replicate it. On our main install Fay can't replicate it. All in FF 20.0.1 So WTF? From: Tenney Julian Sent: 25 April 2013 12:10 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: Browse Dialog Issue when Uploading Media A long standing issue, but some progress: but I don't know why (this was Pat's code originally): Problem: upload media, preview, upload another media aand the browse dialog doesn't show. Solution: comment out the lines from function preview() that call the javascript function hideunload() which is this: function hideunload(){ window.onbeforeunload = null; } If you don't call that function, it works OK. But it must be there for a reason: question is, what? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 13:03:02 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 13:03:02 +0100 Subject: [Xerte-dev] wizard files and modules Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DB7@EXCHANGE1.ad.nottingham.ac.uk> OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Fri May 10 13:04:47 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 10 May 2013 14:04:47 +0200 Subject: [Xerte-dev] Re: Browse Dialog Issue when Uploading Media In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DA6@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0BFF@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C0D@EXCHANGE1.ad.nottingham.ac.uk> <518CB4AA.7000104@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0C20@EXCHANGE1.ad.nottingham.ac.uk> <055501ce4d5d$a815c7a0$f84156e0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CBB@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0CFE@EXCHANGE1.ad.nottingham.ac.uk> <518CD112.3000909@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0D31@EXCHANGE1.ad.nottingham.ac.uk> <518CD557.4070408@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0DA6@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <518CE25F.5070609@tor.nl> Somehow the edit.php of site ended up in xerte, so xerte is using the one from site (I noticed this, because the title of the edit window is wrong). See attached for a correct modules/xerte/edit.php. Will commit that later. I added some Alert.show messages to the wizard, and it shows the button is active, and it even returns true for the fileref.browse (line 2560) Op 10-5-2013 13:52, Julian Tenney schreef: > > Which wizard file am I using if I edit a Xerte Online Toolkit piece? > > I have to say the modular code is very confusing with all the > duplicated files, and the wizard in modules/Xerte/engine is not the > wizard file I get when I edit one of those pieces. So which on is it? > And which edit.php is being hit? Are there file duped unnecessarily? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 10 May 2013 12:09 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > No, I didn't check bootstrap yet. This is Xerte. > > Op 10-5-2013 12:53, Julian Tenney schreef: > > Just for the bootstrap template? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Tom Reijnders > *Sent:* 10 May 2013 11:51 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading Media > > I've been able to reproduce it in my dev environment, But I also > don't see any errors in console. > > > Op 10-5-2013 12:33, Julian Tenney schreef: > > nope > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Smith, John > *Sent:* 10 May 2013 11:18 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading > Media > > But no console errors? > > Regards, > > John Smith > > Learning Technologist > > School of Health & Life Sciences > > Glasgow Caledonian University > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Julian Tenney > *Sent:* Friday, May 10, 2013 11:09 AM > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading > Media > > It's a FF issue only I think. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Ron Mitchell > *Sent:* 10 May 2013 10:06 > *To:* 'For Xerte technical developers' > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading > Media > > Sorry about to head off to catch a train and will be offline > rest of the day so can't help much but I built a new xampp > install yesterday from latest svn and just tried to replicate > this but can't. Have only tested with IE but could browser be > part of the equation? > > HTH > > Ron > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Julian Tenney > *Sent:* 10 May 2013 09:57 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading > Media > > Need to fix it because it was driving me crackers yesterday. > > It is fixable, because I can replicate it in Xerte Toolkits > pieces on a clean xampp install, but not a bootstrap (which > works fine) > > So there is something in the Xerte pieces that is breaking it, > and it's not the files in modules/Xerte/engine because I have > swapped them with ones from modules/site/engine. > > Confusing issue, because yesterday it was the bootstrap one on > our server that was giving me the grief. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Tom Reijnders > *Sent:* 10 May 2013 09:50 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when Uploading > Media > > Yes, I've seen it (some) installations. > > It's VERY annoying. > > Some user had this issue in XAMPP. Don't remember who though. > > Tom > > Op 10-5-2013 10:47, Julian Tenney schreef: > > Further info (and going slightly nuts) > > Clean XAMPP install from 2.0 > > Made Xerte toolkit. Can replicate the issue > > Made a bootstrap -- cannot replicate the issue > > Brill! > > Replace files in modules/Xerte/engine with files from > modules site/engine > > Delete cache, refresh in FF. > > Whah! Still the same situation. Can replicate in the > toolkit, but not in the bootstrap. > > Can anyone else replicate it? > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On > Behalf Of *Julian Tenney > *Sent:* 10 May 2013 09:34 > *To:* For Xerte technical developers > (xerte-dev at lists.nottingham.ac.uk > ) > *Subject:* [Xerte-dev] Re: Browse Dialog Issue when > Uploading Media > > On our upgraded install this bug has reappeared. Every > time, for me: upload media, preview, close preview, upload > another file -- no browse dialog. > > On my xampp install I can't replicate it. > > On our main install Fay can't replicate it. > > All in FF 20.0.1 > > So WTF? > > *From:*Tenney Julian > *Sent:* 25 April 2013 12:10 > *To:* For Xerte technical developers > (xerte-dev at lists.nottingham.ac.uk > ) > *Subject:* Browse Dialog Issue when Uploading Media > > A long standing issue, but some progress: but I don't know > why (this was Pat's code originally): > > Problem: upload media, preview, upload another media aand > the browse dialog doesn't show. > > Solution: comment out the lines from function preview() > that call the javascript function hideunload() which is this: > > function hideunload(){ > > > > window.onbeforeunload = null; > > } > > If you don't call that function, it works OK. > > But it must be there for a reason: question is, what? > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > Glasgow Caledonian University is a registered Scottish > charity, number SC021474 > > Winner: Times Higher Education's Widening Participation > Initiative of the Year 2009 and Herald Society's Education > Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early > Career Researchers of the Year 2010, GCU as a lead with > Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: edit.php Type: application/x-httpd-php Size: 7578 bytes Desc: not available URL: From reijnders at tor.nl Fri May 10 13:08:39 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 10 May 2013 14:08:39 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DB7@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DB7@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <518CE347.6060904@tor.nl> Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the edit.php from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: > > OK, now I am really confused. > > When I use a xerte online template, the wizard comes from > modules/site/engine, not the wizard in modules/Xerte/engine. > > Any more cryptic pathing issues set up just for fun? > > Sheesh. > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 13:11:19 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 13:11:19 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <518CE347.6060904@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DB7@EXCHANGE1.ad.nottingham.ac.uk> <518CE347.6060904@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the edit.php from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 13:27:24 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 13:27:24 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DB7@EXCHANGE1.ad.nottingham.ac.uk> <518CE347.6060904@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DED@EXCHANGE1.ad.nottingham.ac.uk> I give up. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:11 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the edit.php from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Fri May 10 13:27:51 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 10 May 2013 14:27:51 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DB7@EXCHANGE1.ad.nottingham.ac.uk> <518CE347.6060904@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <518CE7C7.4050706@tor.nl> Not intentionally, I am sure, but according to the svn log it happened. Rev 840. Anyhow, it's fixed now. So xerte edit, will use the xerte wizard. Op 10-5-2013 14:11, Julian Tenney schreef: > > Nope, the wizard.swf file. I did not build the structures that contain > modules/Xerte and modules/site, and I did not duplicate all the files > that are in there. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* 10 May 2013 13:09 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > Hmmm... you did that yourself when you fixed the > onbeforeunload=function{}(); on April 25.... > As far as I can tell you copied the edit.php from site over to xerte. > > > Op 10-5-2013 14:03, Julian Tenney schreef: > > OK, now I am really confused. > > When I use a xerte online template, the wizard comes from > modules/site/engine, not the wizard in modules/Xerte/engine. > > Any more cryptic pathing issues set up just for fun? > > Sheesh. > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Fri May 10 13:28:20 2013 From: xerte at pgogywebstuff.com (xerte at pgogywebstuff.com) Date: Fri, 10 May 2013 13:28:20 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <9f1d86ed23c9d3b09689eaa45ef5092ba11d9fe3@webmail.hosting.heartinternet.co.uk> http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php You might not built the structures, but you set the path ? Pgogy Webstuff http://www.pgogywebstuff.comMakers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To:"For Xerte technical developers" Cc: Sent:Fri, 10 May 2013 13:11:19 +0100 Subject:[Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] ON BEHALF OF Tom Reijnders SENT: 10 May 2013 13:09 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: wizard files and modules ? Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the edit.php from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. ? When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. ? Any more cryptic pathing issues set up just for fun? ? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk [1] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev [2] -- -- ? Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 ? Links: ------ [1] mailto:Xerte-dev at lists.nottingham.ac.uk [2] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Fri May 10 13:28:52 2013 From: xerte at pgogywebstuff.com (xerte at pgogywebstuff.com) Date: Fri, 10 May 2013 13:28:52 +0100 Subject: [Xerte-dev] Re: Upload JS In-Reply-To: Message-ID: <1e67c24b94a66911fb232edc5cd67944cb6dbf83@webmail.hosting.heartinternet.co.uk> The option makes sense, but I think it's a big risk ? Pgogy Webstuff http://www.pgogywebstuff.comMakers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To:"For Xerte technical developers" Cc: Sent:Fri, 10 May 2013 09:57:15 +0100 Subject:[Xerte-dev] Re: Upload JS We could just add as an optional setting in management to allow JS or anything else that would be insecure, off by default and allow the end user to choose? on a very closed system I agree it would be good. ? Regards, ? John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] ON BEHALF OF Julian Tenney SENT: Friday, May 10, 2013 9:49 AM TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: Upload JS ? Fair enough then. ? Shame. ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [1] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [2]] ON BEHALF OF Pat @ Pgogy SENT: 10 May 2013 09:00 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: Upload JS ? Yes On 10 May 2013, at 07:59, Julian Tenney wrote: Thinking aloud here, you can write javascript in the bootstrap template ? so it would probably be handy if you could upload a .js file, because anything more than trivial is going to be a right pita to write in the wizard. .js is currently blacklisted. Given all the other security updates recently, do you think we are opening up a major hole if we allowed .js? Either by uploading a script file, or by pointing to a url somewhere? ? ? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk [4] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev [5] Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Links: ------ [1] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [2] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [3] mailto:Julian.Tenney at nottingham.ac.uk [4] mailto:Xerte-dev at lists.nottingham.ac.uk [5] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 13:29:04 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 13:29:04 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <518CE7C7.4050706@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DB7@EXCHANGE1.ad.nottingham.ac.uk> <518CE347.6060904@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> <518CE7C7.4050706@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DF3@EXCHANGE1.ad.nottingham.ac.uk> Yes, to move the fix into the two versions of the files, but I didn't put the files there in the first place? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Not intentionally, I am sure, but according to the svn log it happened. Rev 840. Anyhow, it's fixed now. So xerte edit, will use the xerte wizard. Op 10-5-2013 14:11, Julian Tenney schreef: Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the edit.php from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 13:33:18 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 13:33:18 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <9f1d86ed23c9d3b09689eaa45ef5092ba11d9fe3@webmail.hosting.heartinternet.co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> <9f1d86ed23c9d3b09689eaa45ef5092ba11d9fe3@webmail.hosting.heartinternet.co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DFE@EXCHANGE1.ad.nottingham.ac.uk> Probably before I realised that we had the same files in lots of different places From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php You might not built the structures, but you set the path Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 13:11:19 +0100 Subject: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the edit.php from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.acuk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 13:35:49 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 13:35:49 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <518CE7C7.4050706@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DB7@EXCHANGE1.ad.nottingham.ac.uk> <518CE347.6060904@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> <518CE7C7.4050706@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A492FD@EXCHANGE1.ad.nottingham.ac.uk> I cannot fix it. I do not know what is causing it. I know that I fixed it before with the function(){} rather than null. So I suspect it is something trying to set a value on something undefined, or call a function that doesn't exist, or something like that but I would have thought that would show up as an error. I know if you don't launch the preview window, it continues to work. I trioed stopping all the lockfile stuff, but I don't really understand it and it didn't seem to help anyway. I know that on my local host it's the Xerte pieces that have the problem and on our server it is both. I know Fay doesn't have the problem with the same version of firefox. Maybe it's OS thing and I've been barking up the wrong tree all morning? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Not intentionally, I am sure, but according to the svn log it happened. Rev 840. Anyhow, it's fixed now. So xerte edit, will use the xerte wizard. Op 10-5-2013 14:11, Julian Tenney schreef: Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the edit.php from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Fri May 10 13:39:46 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 10 May 2013 14:39:46 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DFE@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> <9f1d86ed23c9d3b09689eaa45ef5092ba11d9fe3@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0DFE@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <518CEA92.3070204@tor.nl> What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. Op 10-5-2013 14:33, Julian Tenney schreef: > > Probably before I realised that we had the same files in lots of > different places > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *xerte at pgogywebstuff.com > *Sent:* 10 May 2013 13:28 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php > > You might not built the structures, but you set the path > > > > Pgogy Webstuff http://www.pgogywebstuff.com > > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > *To:* > > "For Xerte technical developers" > > > *Cc:* > > *Sent:* > > Fri, 10 May 2013 13:11:19 +0100 > > *Subject:* > > [Xerte-dev] Re: wizard files and modules > > Nope, the wizard.swf file. I did not build the structures that > contain modules/Xerte and modules/site, and I did not duplicate > all the files that are in there. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *Tom Reijnders > *Sent:* 10 May 2013 13:09 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > Hmmm... you did that yourself when you fixed the > onbeforeunload=function{}(); on April 25.... > As far as I can tell you copied the edit.php from site over to xerte. > > Op 10-5-2013 14:03, Julian Tenney schreef: > > OK, now I am really confused. > > When I use a xerte online template, the wizard comes from > modules/site/engine, not the wizard in modules/Xerte/engine. > > Any more cryptic pathing issues set up just for fun? > > Sheesh. > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.acuk/mailman/listinfo/xerte-dev > > -- > > -- > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Fri May 10 13:40:33 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 10 May 2013 13:40:33 +0100 Subject: [Xerte-dev] Re: Upload JS In-Reply-To: <1e67c24b94a66911fb232edc5cd67944cb6dbf83@webmail.hosting.heartinternet.co.uk> References: <1e67c24b94a66911fb232edc5cd67944cb6dbf83@webmail.hosting.heartinternet.co.uk> Message-ID: It is? It could be combined with an option to restrict to only certain users I suppose? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: Friday, May 10, 2013 1:29 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Upload JS The option makes sense, but I think it's a big risk Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 09:57:15 +0100 Subject: [Xerte-dev] Re: Upload JS We could just add as an optional setting in management to allow JS or anything else that would be insecure, off by default and allow the end user to choose? on a very closed system I agree it would be good. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, May 10, 2013 9:49 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Upload JS Fair enough then. Shame. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 10 May 2013 09:00 To: For Xerte technical developers Subject: [Xerte-dev] Re: Upload JS Yes On 10 May 2013, at 07:59, Julian Tenney > wrote: Thinking aloud here, you can write javascript in the bootstrap template ? so it would probably be handy if you could upload a .js file, because anything more than trivial is going to be a right pita to write in the wizard. .js is currently blacklisted. Given all the other security updates recently, do you think we are opening up a major hole if we allowed .js? Either by uploading a script file, or by pointing to a url somewhere? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 13:51:44 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 13:51:44 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <518CEA92.3070204@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> <9f1d86ed23c9d3b09689eaa45ef5092ba11d9fe3@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0DFE@EXCHANGE1.ad.nottingham.ac.uk> <518CEA92.3070204@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A49325@EXCHANGE1.ad.nottingham.ac.uk> It's like doing the Guardian crossword... It would be good if everyone can test with the latest firefox and report back Create a project in Xerte Online Toolkit and Bootstrap Add a media thing, upload some, press play button in bottom right, close play window, upload media again Fails in Bootstrap? Fails in Xerte Online Toolkit? Flash player version? If you don't close the preview window it continues to work OK. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. Op 10-5-2013 14:33, Julian Tenney schreef: Probably before I realised that we had the same files in lots of different places From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php You might not built the structures, but you set the path Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 13:11:19 +0100 Subject: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the edit.php from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.acuk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fay.Cross at nottingham.ac.uk Fri May 10 13:56:54 2013 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Fri, 10 May 2013 13:56:54 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A49325@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> <9f1d86ed23c9d3b09689eaa45ef5092ba11d9fe3@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0DFE@EXCHANGE1.ad.nottingham.ac.uk> <518CEA92.3070204@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A49325@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Windows XP Firefox 20.0.1 Flash 11.7.700.169 Can't recreate problem in XOT or Bootstrap, XAMPP or Nottingham install From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules It's like doing the Guardian crossword... It would be good if everyone can test with the latest firefox and report back Create a project in Xerte Online Toolkit and Bootstrap Add a media thing, upload some, press play button in bottom right, close play window, upload media again Fails in Bootstrap? Fails in Xerte Online Toolkit? Flash player version? If you don't close the preview window it continues to work OK. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. Op 10-5-2013 14:33, Julian Tenney schreef: Probably before I realised that we had the same files in lots of different places From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php You might not built the structures, but you set the path Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 13:11:19 +0100 Subject: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the edit.php from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.acuk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 13:58:05 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 13:58:05 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> <9f1d86ed23c9d3b09689eaa45ef5092ba11d9fe3@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0DFE@EXCHANGE1.ad.nottingham.ac.uk> <518CEA92.3070204@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A49325@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A4932C@EXCHANGE1.ad.nottingham.ac.uk> Difference is Windows 7 - everything else the same and I see the problem in both. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 10 May 2013 13:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows XP Firefox 20.0.1 Flash 11.7.700.169 Can't recreate problem in XOT or Bootstrap, XAMPP or Nottingham install From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules It's like doing the Guardian crossword... It would be good if everyone can test with the latest firefox and report back Create a project in Xerte Online Toolkit and Bootstrap Add a media thing, upload some, press play button in bottom right, close play window, upload media again Fails in Bootstrap? Fails in Xerte Online Toolkit? Flash player version? If you don't close the preview window it continues to work OK. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. Op 10-5-2013 14:33, Julian Tenney schreef: Probably before I realised that we had the same files in lots of different places From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php You might not built the structures, but you set the path Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 13:11:19 +0100 Subject: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the edit.php from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.acuk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 14:00:36 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 14:00:36 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A4932C@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> <9f1d86ed23c9d3b09689eaa45ef5092ba11d9fe3@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0DFE@EXCHANGE1.ad.nottingham.ac.uk> <518CEA92.3070204@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A49325@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A4932C@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A49336@EXCHANGE1.ad.nottingham.ac.uk> More specifically 64bit Windows 7 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Difference is Windows 7 - everything else the same and I see the problem in both. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 10 May 2013 13:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows XP Firefox 20.0.1 Flash 11.7.700.169 Can't recreate problem in XOT or Bootstrap, XAMPP or Nottingham install From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules It's like doing the Guardian crossword... It would be good if everyone can test with the latest firefox and report back Create a project in Xerte Online Toolkit and Bootstrap Add a media thing, upload some, press play button in bottom right, close play window, upload media again Fails in Bootstrap? Fails in Xerte Online Toolkit? Flash player version? If you don't close the preview window it continues to work OK. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. Op 10-5-2013 14:33, Julian Tenney schreef: Probably before I realised that we had the same files in lots of different places From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php You might not built the structures, but you set the path Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 13:11:19 +0100 Subject: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the edit.php from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.acuk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Fri May 10 14:37:39 2013 From: xerte at pgogywebstuff.com (xerte at pgogywebstuff.com) Date: Fri, 10 May 2013 14:37:39 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A49336@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <532725f1d6a68b69a8ae9b0c6ec4684194ef0243@webmail.hosting.heartinternet.co.uk> Windows 7 Firefox 20.1.0 Preview button doesn't work for anything once you've previewed Flash Player 11.7 Fine in Chrome No Joy in FF have commented out all of the JS So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? I'd put some fscommand("console.log") into the wizard. ? Pgogy Webstuff http://www.pgogywebstuff.comMakers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To:"For Xerte technical developers" Cc: Sent:Fri, 10 May 2013 14:00:36 +0100 Subject:[Xerte-dev] Re: wizard files and modules More specifically 64bit Windows 7 ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] ON BEHALF OF Julian Tenney SENT: 10 May 2013 13:58 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: wizard files and modules ? Difference is Windows 7 ? everything else the same and I see the problem in both. ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [1] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [2]] ON BEHALF OF Fay Cross SENT: 10 May 2013 13:57 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: wizard files and modules ? Windows XP Firefox 20.0.1 Flash 11.7.700.169 ? Can?t recreate problem in XOT or Bootstrap, XAMPP or Nottingham install ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [3] [mailto:xerte-dev-bounces at listsnottingham.ac.uk [4]] ON BEHALF OF Julian Tenney SENT: 10 May 2013 13:52 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: wizard files and modules ? It?s like doing the Guardian crossword? ? It would be good if everyone can test with the latest firefox and report back ? Create a project in Xerte Online Toolkit and Bootstrap Add a media thing, upload some, press play button in bottom right, close play window, upload media again Fails in Bootstrap? Fails in Xerte Online Toolkit? Flash player version? ? If you don?t close the preview window it continues to work OK. ? ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [5] [mailto:xerte-dev-bounces at lists.nottinghamac.uk [6]] ON BEHALF OF Tom Reijnders SENT: 10 May 2013 13:40 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: wizard files and modules ? What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. Op 10-5-2013 14:33, Julian Tenney schreef: Probably before I realised that we had the same files in lots of different places ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [7] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [8]] ON BEHALF OF xerte at pgogywebstuff.com [9] SENT: 10 May 2013 13:28 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: wizard files and modules ? http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php [10] You might not built the structures, but you set the path ? Pgogy Webstuff http://www.pgogywebstuff.com [11] Makers of Web things of a fair to middling quality ? ----- Original Message ----- FROM: "For Xerte technical developers" ? TO: "For Xerte technical developers" CC: ? SENT: Fri, 10 May 2013 13:11:19 +0100 SUBJECT: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [14] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [15]] ON BEHALF OF Tom Reijnders SENT: 10 May 2013 13:09 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: wizard files and modules ? Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the edit.php from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. ? When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. ? Any more cryptic pathing issues set up just for fun? ? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk [16] http://lists.nottingham.acuk/mailman/listinfo/xerte-dev [17] ? -- -- ? Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 ? ? ? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk [18] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev [19] ? -- -- ? Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 ? Links: ------ [1] mailto:xerte-dev-bounces at lists.nottinghamac.uk [2] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [3] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [4] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [5] mailto:xerte-dev-bounces at lists.nottinghamac.uk [6] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [7] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [8] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [9] mailto:xerte at pgogywebstuff.com [10] http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php [11] http://www.pgogywebstuff.com [12] mailto:xerte-dev at lists.nottingham.ac.uk [13] mailto:xerte-dev at lists.nottingham.ac.uk [14] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [15] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [16] mailto:Xerte-dev at lists.nottingham.ac.uk [17] http://listsnottingham.ac.uk/mailman/listinfo/xerte-dev [18] mailto:Xerte-dev at lists.nottingham.ac.uk [19] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Fri May 10 14:38:06 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 10 May 2013 14:38:06 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A49336@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> <9f1d86ed23c9d3b09689eaa45ef5092ba11d9fe3@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0DFE@EXCHANGE1.ad.nottingham.ac.uk> <518CEA92.3070204@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A49325@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A4932C@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49336@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Sorry... But I'm using Windows 7 64-bit FF 20.0.1 Flash 11.6.602.180 And I can't reproduce... When you say "Fails in Bootstrap/Fails in XOT" what exactly do you mean? No file select popup? Or you get that but the file doesn't upload? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, May 10, 2013 2:01 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules More specifically 64bit Windows 7 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Difference is Windows 7 - everything else the same and I see the problem in both. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 10 May 2013 13:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows XP Firefox 20.0.1 Flash 11.7.700.169 Can't recreate problem in XOT or Bootstrap, XAMPP or Nottingham install From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules It's like doing the Guardian crossword... It would be good if everyone can test with the latest firefox and report back Create a project in Xerte Online Toolkit and Bootstrap Add a media thing, upload some, press play button in bottom right, close play window, upload media again Fails in Bootstrap? Fails in Xerte Online Toolkit? Flash player version? If you don't close the preview window it continues to work OK. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. Op 10-5-2013 14:33, Julian Tenney schreef: Probably before I realised that we had the same files in lots of different places From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php You might not built the structures, but you set the path Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 13:11:19 +0100 Subject: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the edit.php from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.acuk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 14:39:37 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 14:39:37 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <532725f1d6a68b69a8ae9b0c6ec4684194ef0243@webmail.hosting.heartinternet.co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51A49336@EXCHANGE1.ad.nottingham.ac.uk> <532725f1d6a68b69a8ae9b0c6ec4684194ef0243@webmail.hosting.heartinternet.co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A4938D@EXCHANGE1.ad.nottingham.ac.uk> You mean browse button doesn?t work after previewed? My mind is going foggy, I?ve been here since quarter to seven. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 14:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows 7 Firefox 20.1.0 Preview button doesn't work for anything once you've previewed Flash Player 11.7 Fine in Chrome No Joy in FF have commented out all of the JS So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? I'd put some fscommand("console.log") into the wizard. Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 14:00:36 +0100 Subject: [Xerte-dev] Re: wizard files and modules More specifically 64bit Windows 7 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Difference is Windows 7 ? everything else the same and I see the problem in both. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 10 May 2013 13:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows XP Firefox 20.0.1 Flash 11.7.700.169 Can?t recreate problem in XOT or Bootstrap, XAMPP or Nottingham install From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottinghamac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules It?s like doing the Guardian crossword? It would be good if everyone can test with the latest firefox and report back Create a project in Xerte Online Toolkit and Bootstrap Add a media thing, upload some, press play button in bottom right, close play window, upload media again Fails in Bootstrap? Fails in Xerte Online Toolkit? Flash player version? If you don?t close the preview window it continues to work OK. From: xerte-dev-bounces at lists.nottingham.acuk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. Op 10-5-2013 14:33, Julian Tenney schreef: Probably before I realised that we had the same files in lots of different places From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php You might not built the structures, but you set the path Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 13:11:19 +0100 Subject: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the editphp from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.acuk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 14:43:14 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 14:43:14 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A4938D@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51A49336@EXCHANGE1.ad.nottingham.ac.uk> <532725f1d6a68b69a8ae9b0c6ec4684194ef0243@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A4938D@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A49398@EXCHANGE1.ad.nottingham.ac.uk> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); what do the last three lines in the javascript do? NewWindow.focus(); setunload(); void(0); If I comment them out, after previewing the wizard window just says ?Window Object? or something From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 14:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules You mean browse button doesn?t work after previewed? My mind is going foggy, I?ve been here since quarter to seven. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 14:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows 7 Firefox 20.1.0 Preview button doesn't work for anything once you've previewed Flash Player 11.7 Fine in Chrome No Joy in FF have commented out all of the JS So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? I'd put some fscommand("console.log") into the wizard. Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 14:00:36 +0100 Subject: [Xerte-dev] Re: wizard files and modules More specifically 64bit Windows 7 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Difference is Windows 7 ? everything else the same and I see the problem in both. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 10 May 2013 13:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows XP Firefox 20.0.1 Flash 11.7.700.169 Can?t recreate problem in XOT or Bootstrap, XAMPP or Nottingham install From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottinghamac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules It?s like doing the Guardian crossword? It would be good if everyone can test with the latest firefox and report back Create a project in Xerte Online Toolkit and Bootstrap Add a media thing, upload some, press play button in bottom right, close play window, upload media again Fails in Bootstrap? Fails in Xerte Online Toolkit? Flash player version? If you don?t close the preview window it continues to work OK. From: xerte-dev-bounces at lists.nottingham.acuk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. Op 10-5-2013 14:33, Julian Tenney schreef: Probably before I realised that we had the same files in lots of different places From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php You might not built the structures, but you set the path Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 13:11:19 +0100 Subject: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the editphp from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.acuk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 14:44:04 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 14:44:04 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> <9f1d86ed23c9d3b09689eaa45ef5092ba11d9fe3@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0DFE@EXCHANGE1.ad.nottingham.ac.uk> <518CEA92.3070204@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A49325@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A4932C@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49336@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A4939A@EXCHANGE1.ad.nottingham.ac.uk> No browse dialog. The ... button just doesn't do anything. Update your flash player, see if that screws it up? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 10 May 2013 14:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Sorry... But I'm using Windows 7 64-bit FF 20.0.1 Flash 11.6.602.180 And I can't reproduce... When you say "Fails in Bootstrap/Fails in XOT" what exactly do you mean? No file select popup? Or you get that but the file doesn't upload? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, May 10, 2013 2:01 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules More specifically 64bit Windows 7 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Difference is Windows 7 - everything else the same and I see the problem in both. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 10 May 2013 13:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows XP Firefox 20.0.1 Flash 11.7.700.169 Can't recreate problem in XOT or Bootstrap, XAMPP or Nottingham install From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules It's like doing the Guardian crossword... It would be good if everyone can test with the latest firefox and report back Create a project in Xerte Online Toolkit and Bootstrap Add a media thing, upload some, press play button in bottom right, close play window, upload media again Fails in Bootstrap? Fails in Xerte Online Toolkit? Flash player version? If you don't close the preview window it continues to work OK. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. Op 10-5-2013 14:33, Julian Tenney schreef: Probably before I realised that we had the same files in lots of different places From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php You might not built the structures, but you set the path Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 13:11:19 +0100 Subject: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the edit.php from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.acuk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 14:51:19 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 14:51:19 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <532725f1d6a68b69a8ae9b0c6ec4684194ef0243@webmail.hosting.heartinternet.co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51A49336@EXCHANGE1.ad.nottingham.ac.uk> <532725f1d6a68b69a8ae9b0c6ec4684194ef0243@webmail.hosting.heartinternet.co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A493B2@EXCHANGE1.ad.nottingham.ac.uk> Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) Probably next week though, I have to go soon, function preview(){ if (xerte){ if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified saveFile(); } else {//play it in Xerte //if shift is down, jump straight to this page if (Key.isDown(Key.SHIFT)){ if (tree.selectedNode.attributes.linkID == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); } //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); } saveFile(); this.mode = 'preview'; //show the preview form mdm.form_show("preview"); mdm.form_restore("preview"); //fire up the piece mdm.form_callfunction("preview", "setMode", mode, "|"); mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); } } else { //this is toolkits - play or post? if (wizard.nfoObject.wizard.runtime != undefined){ //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ if(_root.apache!="false"){ url = "preview_" + _root.template_id; }else{ url = "preview.php?template_id=" + _root.template_id; } saveFile(); ExternalInterface.call("hideunload"); getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); } else { saveFile(); wizard.createEmptyMovieClip('getURLHelper', 9999); wizard.getURLHelper.data = KOData.format(); wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); } } else { if (Key.isDown(Key.CONTROL)){ //play the html5 version if(_root.apache!="false"){ url = "preview_" + _root.template_id + "&engine=other"; }else{ url = "preview.php?template_id=" + _root.template_id + "&engine=other"; } } else { if(_root.apache!="false"){ url = "preview_" + _root.template_id; }else{ url = "preview.php?template_id=" + _root.template_id; } } //if shift is down, jump straight to this page if (Key.isDown(Key.SHIFT)){ if (tree.selectedNode.attributes.linkID == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); } if(_root.apache!="false"){ url += '_' + tree.selectedNode.attributes.linkID; }else{ url += '&linkID=' + tree.selectedNode.attributes.linkID; } } saveFile(); ExternalInterface.call("hideunload"); getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); } } } From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 14:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows 7 Firefox 20.1.0 Preview button doesn't work for anything once you've previewed Flash Player 11.7 Fine in Chrome No Joy in FF have commented out all of the JS So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? I'd put some fscommand("console.log") into the wizard. Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 14:00:36 +0100 Subject: [Xerte-dev] Re: wizard files and modules More specifically 64bit Windows 7 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Difference is Windows 7 ? everything else the same and I see the problem in both. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 10 May 2013 13:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows XP Firefox 20.0.1 Flash 11.7.700.169 Can?t recreate problem in XOT or Bootstrap, XAMPP or Nottingham install From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottinghamac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules It?s like doing the Guardian crossword? It would be good if everyone can test with the latest firefox and report back Create a project in Xerte Online Toolkit and Bootstrap Add a media thing, upload some, press play button in bottom right, close play window, upload media again Fails in Bootstrap? Fails in Xerte Online Toolkit? Flash player version? If you don?t close the preview window it continues to work OK. From: xerte-dev-bounces at lists.nottingham.acuk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. Op 10-5-2013 14:33, Julian Tenney schreef: Probably before I realised that we had the same files in lots of different places From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php You might not built the structures, but you set the path Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 13:11:19 +0100 Subject: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the editphp from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.acuk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 14:54:16 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 14:54:16 +0100 Subject: [Xerte-dev] Re: wizard files and modules References: <12C67A1EEC419342AF5E59DA31562C3F0C51A49336@EXCHANGE1.ad.nottingham.ac.uk> <532725f1d6a68b69a8ae9b0c6ec4684194ef0243@webmail.hosting.heartinternet.co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A493B9@EXCHANGE1.ad.nottingham.ac.uk> It boils down to this: function preview(){ if(_root.apache!="false"){ url = "preview_" + _root.template_id; }else{ url = "preview.php?template_id=" + _root.template_id; } saveFile(); ExternalInterface.call("hideunload"); getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); } From: Tenney Julian Sent: 10 May 2013 14:51 To: 'For Xerte technical developers' Subject: RE: [Xerte-dev] Re: wizard files and modules Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) Probably next week though, I have to go soon, function preview(){ if (xerte){ if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified saveFile(); } else {//play it in Xerte //if shift is down, jump straight to this page if (Key.isDown(Key.SHIFT)){ if (tree.selectedNode.attributes.linkID == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); } //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); } saveFile(); this.mode = 'preview'; //show the preview form mdm.form_show("preview"); mdm.form_restore("preview"); //fire up the piece mdm.form_callfunction("preview", "setMode", mode, "|"); mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); } } else { //this is toolkits - play or post? if (wizard.nfoObject.wizard.runtime != undefined){ //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ if(_root.apache!="false"){ url = "preview_" + _root.template_id; }else{ url = "preview.php?template_id=" + _root.template_id; } saveFile(); ExternalInterface.call("hideunload"); getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); } else { saveFile(); wizard.createEmptyMovieClip('getURLHelper', 9999); wizard.getURLHelper.data = KOData.format(); wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); } } else { if (Key.isDown(Key.CONTROL)){ //play the html5 version if(_root.apache!="false"){ url = "preview_" + _root.template_id + "&engine=other"; }else{ url = "preview.php?template_id=" + _root.template_id + "&engine=other"; } } else { if(_root.apache!="false"){ url = "preview_" + _root.template_id; }else{ url = "preview.php?template_id=" + _root.template_id; } } //if shift is down, jump straight to this page if (Key.isDown(Key.SHIFT)){ if (tree.selectedNode.attributes.linkID == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); } if(_root.apache!="false"){ url += '_' + tree.selectedNode.attributes.linkID; }else{ url += '&linkID=' + tree.selectedNode.attributes.linkID; } } saveFile(); ExternalInterface.call("hideunload"); getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); } } } From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 14:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows 7 Firefox 20.1.0 Preview button doesn't work for anything once you've previewed Flash Player 11.7 Fine in Chrome No Joy in FF have commented out all of the JS So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? I'd put some fscommand("console.log") into the wizard. Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 14:00:36 +0100 Subject: [Xerte-dev] Re: wizard files and modules More specifically 64bit Windows 7 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Difference is Windows 7 ? everything else the same and I see the problem in both. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 10 May 2013 13:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows XP Firefox 20.0.1 Flash 11.7.700.169 Can?t recreate problem in XOT or Bootstrap, XAMPP or Nottingham install From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottinghamac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules It?s like doing the Guardian crossword? It would be good if everyone can test with the latest firefox and report back Create a project in Xerte Online Toolkit and Bootstrap Add a media thing, upload some, press play button in bottom right, close play window, upload media again Fails in Bootstrap? Fails in Xerte Online Toolkit? Flash player version? If you don?t close the preview window it continues to work OK. From: xerte-dev-bounces at lists.nottingham.acuk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. Op 10-5-2013 14:33, Julian Tenney schreef: Probably before I realised that we had the same files in lots of different places From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php You might not built the structures, but you set the path Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 13:11:19 +0100 Subject: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the editphp from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.acuk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Fri May 10 14:57:57 2013 From: xerte at pgogywebstuff.com (xerte at pgogywebstuff.com) Date: Fri, 10 May 2013 14:57:57 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A493B9@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <5dda1809d0bac7006a08fea584bdecde30427bd0@webmail.hosting.heartinternet.co.uk> I'd be cautious of saying it is preview - perhaps it is the file button? try not setting focus? that seems a possible route? ? Pgogy Webstuff http://www.pgogywebstuff.comMakers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" To:"For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" Cc: Sent:Fri, 10 May 2013 14:54:16 +0100 Subject:[Xerte-dev] Re: wizard files and modules It boils down to this: ? function preview(){ ? ? ??????????????? if(_root.apache!="false"){ ?????????? ???????????????????? url = "preview_" + _root.template_id; ???????????????????? ??????????????? }else{ ???????????????????? ???????????????????? url = "preview.php?template_id=" + _root.template_id; ???????????????????? ??????????????? } ? ? ??????????????? saveFile(); ??????????????? ??????????????? ExternalInterface.call("hideunload"); ? ??????????????? getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);");????????????????????????? ??????????????????????????????????????????????? ? ? } ? FROM: Tenney Julian SENT: 10 May 2013 14:51 TO: 'For Xerte technical developers' SUBJECT: RE: [Xerte-dev] Re: wizard files and modules ? Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) Probably next week though, I have to go soon, ? function preview(){ ? ???? if (xerte){ ?????????? ?????????? if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified ?????????? ??????????????? saveFile(); ??????????????????????????????? ?????????? } else {//play it in Xerte ?????????? ??????????????? //if shift is down, jump straight to this page ??????????????? if (Key.isDown(Key.SHIFT)){ ???????????????????? if (tree.selectedNode.attributes.linkID == undefined){ ?????????????????????????? tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); ???????????????????? } ???????????????????? //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) ???????????????????? mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); ?????????? ???? } ??????????????? saveFile(); ??????????????? ??????????????? this.mode = 'preview'; ? ??????????????? //show the preview form ??????????????? mdm.form_show("preview"); ??????????????? mdm.form_restore("preview"); ??????????????? ??????????????? //fire up the piece ??????????????? mdm.form_callfunction("preview", "setMode", mode, "|"); ??????????????? mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); ?????????? } ? ???? } else { //this is toolkits - play or post? ?????????? ?????????? if (wizard.nfoObject.wizard.runtime != undefined){ ??????????????? ??????????????? //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc ??????????????? if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ ???????????????????? ???????????????????? if(_root.apache!="false"){ ??????????????? ?????????????????????????? url = "preview_" + _root.template_id; ?????????????????????????? ???????????????????? }else{ ?????????????????????????? ?????????????????????????? url = "preview.php?template_id=" + _root.template_id; ?????????????????????????? ???????????????????? } ???????????????????? ???????????????????? saveFile(); ??????????????? ???????????????????? ExternalInterface.call("hideunload"); ? ???????????????????? getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);");?????????????????????????? ???????????????????? ??????????????? } else { ??????????????? ???????????????????? saveFile(); ??????????????? ???????????????????? wizard.createEmptyMovieClip('getURLHelper', 9999); ???????????????????? wizard.getURLHelper.data = KOData.format(); ???????????????????? wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); ??????????????? ??????????????? } ??????????????? ?????????? } else { ??????????????? ??????????????? if (Key.isDown(Key.CONTROL)){ //play the html5 version ???????????????????? ???????????????????? if(_root.apache!="false"){ ??????????????? ?????????????????????????? url = "preview_" + _root.template_id + "&engine=other"; ?????????????????????????? ???????????????????? }else{ ?????????????????????????? ?????????????????????????? url = "preview.php?template_id=" + _root.template_id + "&engine=other"; ?????????????????????????? ???????????????????? } ??????????????????????????????????????????????? ??????????????? } else { ???????????????????? ???????????????????? if(_root.apache!="false"){ ??????????????? ?????????????????????????? url = "preview_" + _root.template_id; ?????????????????????????? ???????????????????? }else{ ?????????????????????????? ?????????????????????????? url = "preview.php?template_id=" + _root.template_id; ?????????????????????????? ???????????????????? } ??????????????? } ? ??????????????? //if shift is down, jump straight to this page ??????????????? if (Key.isDown(Key.SHIFT)){ ???????????????????? if (tree.selectedNode.attributes.linkID == undefined){ ?????????????????????????? tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); ???????????????????? } ???????????????????? ???????????????????? if(_root.apache!="false"){ ???????????????????? ?????????????????????????? url += '_' + tree.selectedNode.attributes.linkID; ???????????????????? ???????????????????? }else{ ?????????????????????????? ?????????????????????????? url += '&linkID=' + tree.selectedNode.attributes.linkID; ???????????????????? ???????????????????? } ??????????????? } ??????????????? saveFile(); ??????????????? ??????????????? ExternalInterface.call("hideunload"); ? ??????????????? getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);");????????????????????????? ??????????????????????????????????????????????? ?????????? } ???? } } ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [1] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [2]] ON BEHALF OF xerte at pgogywebstuff.com [3] SENT: 10 May 2013 14:38 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: wizard files and modules ? Windows 7 Firefox 20.1.0 Preview button doesn't work for anything once you've previewed Flash Player 11.7 Fine in Chrome No Joy in FF have commented out all of the JS So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? I'd put some fscommand("console.log") into the wizard. ? Pgogy Webstuff http://www.pgogywebstuff.com [4] Makers of Web things of a fair to middling quality ? ----- Original Message ----- FROM: "For Xerte technical developers" ? TO: "For Xerte technical developers" CC: ? SENT: Fri, 10 May 2013 14:00:36 +0100 SUBJECT: [Xerte-dev] Re: wizard files and modules More specifically 64bit Windows 7 ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [7] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [8]] ON BEHALF OF Julian Tenney SENT: 10 May 2013 13:58 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: wizard files and modules ? Difference is Windows 7 ? everything else the same and I see the problem in both. ? FROM: xerte-dev-bounces at listsnottingham.ac.uk [9] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [10]] ON BEHALF OF Fay Cross SENT: 10 May 2013 13:57 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: wizard files and modules ? Windows XP Firefox 20.0.1 Flash 11.7.700.169 ? Can?t recreate problem in XOT or Bootstrap, XAMPP or Nottingham install ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [11] [mailto:xerte-dev-bounces at lists.nottinghamac.uk [12]] ON BEHALF OF Julian Tenney SENT: 10 May 2013 13:52 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: wizard files and modules ? It?s like doing the Guardian crossword? ? It would be good if everyone can test with the latest firefox and report back ? Create a project in Xerte Online Toolkit and Bootstrap Add a media thing, upload some, press play button in bottom right, close play window, upload media again Fails in Bootstrap? Fails in Xerte Online Toolkit? Flash player version? ? If you don?t close the preview window it continues to work OK. ? ? FROM: xerte-dev-bounces at lists.nottingham.acuk [13] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [14]] ON BEHALF OF Tom Reijnders SENT: 10 May 2013 13:40 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: wizard files and modules ? What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. Op 10-5-2013 14:33, Julian Tenney schreef: Probably before I realised that we had the same files in lots of different places ? FROM: xerte-dev-bounces at listsnottingham.ac.uk [15] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [16]] ON BEHALF OF xerte at pgogywebstuff.com [17] SENT: 10 May 2013 13:28 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: wizard files and modules ? http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php [18] You might not built the structures, but you set the path ? Pgogy Webstuff http://www.pgogywebstuff.com [19] Makers of Web things of a fair to middling quality ? ----- Original Message ----- FROM: "For Xerte technical developers" ? TO: "For Xerte technical developers" CC: ? SENT: Fri, 10 May 2013 13:11:19 +0100 SUBJECT: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. ? FROM: xerte-dev-bounces at lists.nottingham.ac.uk [22] [mailto:xerte-dev-bounces at lists.nottingham.ac.uk [23]] ON BEHALF OF Tom Reijnders SENT: 10 May 2013 13:09 TO: For Xerte technical developers SUBJECT: [Xerte-dev] Re: wizard files and modules ? Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the editphp from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. ? When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. ? Any more cryptic pathing issues set up just for fun? ? Sheesh. ? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk [24] http://lists.nottingham.acuk/mailman/listinfo/xerte-dev [25] ? -- -- ? Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 ? ? ? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk [26] http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev [27] ? -- -- ? Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 ? ? Links: ------ [1] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [2] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [3] mailto:xerte at pgogywebstuff.com [4] http://www.pgogywebstuff.com [5] mailto:xerte-dev at lists.nottingham.ac.uk [6] mailto:xerte-dev at listsnottingham.ac.uk [7] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [8] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [9] mailto:xerte-dev-bounces at lists.nottingham.acuk [10] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [11] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [12] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [13] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [14] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [15] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [16] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [17] mailto:xerte at pgogywebstuff.com [18] http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php [19] http://www.pgogywebstuff.com [20] mailto:xerte-dev at lists.nottingham.ac.uk [21] mailto:xerte-dev at lists.nottingham.ac.uk [22] mailto:xerte-dev-bounces at lists.nottingham.acuk [23] mailto:xerte-dev-bounces at lists.nottingham.ac.uk [24] mailto:Xerte-dev at lists.nottingham.ac.uk [25] http://listsnottingham.ac.uk/mailman/listinfo/xerte-dev [26] mailto:Xerte-dev at lists.nottingham.ac.uk [27] http://lists.nottingham.acuk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 10 15:01:58 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 10 May 2013 15:01:58 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <5dda1809d0bac7006a08fea584bdecde30427bd0@webmail.hosting.heartinternet.co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51A493B9@EXCHANGE1.ad.nottingham.ac.uk> <5dda1809d0bac7006a08fea584bdecde30427bd0@webmail.hosting.heartinternet.co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A493CE@EXCHANGE1.ad.nottingham.ac.uk> Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. Took out all but the void(0) and still failing. Have stripped down the function to this. I don?t think it is our code. Going for beer. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 14:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I'd be cautious of saying it is preview - perhaps it is the file button? try not setting focus? that seems a possible route? Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > Cc: Sent: Fri, 10 May 2013 14:54:16 +0100 Subject: [Xerte-dev] Re: wizard files and modules It boils down to this: function preview(){ if(_root.apache!="false"){ url = "preview_" + _root.template_id; }else{ url = "preview.php?template_id=" + _root.template_id; } saveFile(); ExternalInterface.call("hideunload"); getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); } From: Tenney Julian Sent: 10 May 2013 14:51 To: 'For Xerte technical developers' Subject: RE: [Xerte-dev] Re: wizard files and modules Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) Probably next week though, I have to go soon, function preview(){ if (xerte){ if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified saveFile(); } else {//play it in Xerte //if shift is down, jump straight to this page if (Key.isDown(Key.SHIFT)){ if (tree.selectedNode.attributes.linkID == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); } //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); } saveFile(); this.mode = 'preview'; //show the preview form mdm.form_show("preview"); mdm.form_restore("preview"); //fire up the piece mdm.form_callfunction("preview", "setMode", mode, "|"); mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); } } else { //this is toolkits - play or post? if (wizard.nfoObject.wizard.runtime != undefined){ //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ if(_root.apache!="false"){ url = "preview_" + _root.template_id; }else{ url = "preview.php?template_id=" + _root.template_id; } saveFile(); ExternalInterface.call("hideunload"); getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); } else { saveFile(); wizard.createEmptyMovieClip('getURLHelper', 9999); wizard.getURLHelper.data = KOData.format(); wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); } } else { if (Key.isDown(Key.CONTROL)){ //play the html5 version if(_root.apache!="false"){ url = "preview_" + _root.template_id + "&engine=other"; }else{ url = "preview.php?template_id=" + _root.template_id + "&engine=other"; } } else { if(_root.apache!="false"){ url = "preview_" + _root.template_id; }else{ url = "preview.php?template_id=" + _root.template_id; } } //if shift is down, jump straight to this page if (Key.isDown(Key.SHIFT)){ if (tree.selectedNode.attributes.linkID == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); } if(_root.apache!="false"){ url += '_' + tree.selectedNode.attributes.linkID; }else{ url += '&linkID=' + tree.selectedNode.attributes.linkID; } } saveFile(); ExternalInterface.call("hideunload"); getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); } } } From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 14:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows 7 Firefox 20.1.0 Preview button doesn't work for anything once you've previewed Flash Player 11.7 Fine in Chrome No Joy in FF have commented out all of the JS So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? I'd put some fscommand("console.log") into the wizard. Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 14:00:36 +0100 Subject: [Xerte-dev] Re: wizard files and modules More specifically 64bit Windows 7 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Difference is Windows 7 ? everything else the same and I see the problem in both. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 10 May 2013 13:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows XP Firefox 20.0.1 Flash 11.7.700.169 Can?t recreate problem in XOT or Bootstrap, XAMPP or Nottingham install From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottinghamac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules It?s like doing the Guardian crossword? It would be good if everyone can test with the latest firefox and report back Create a project in Xerte Online Toolkit and Bootstrap Add a media thing, upload some, press play button in bottom right, close play window, upload media again Fails in Bootstrap? Fails in Xerte Online Toolkit? Flash player version? If you don?t close the preview window it continues to work OK. From: xerte-dev-bounces at lists.nottingham.acuk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. Op 10-5-2013 14:33, Julian Tenney schreef: Probably before I realised that we had the same files in lots of different places From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php You might not built the structures, but you set the path Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 13:11:19 +0100 Subject: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the editphp from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.acuk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Fri May 10 15:01:47 2013 From: xerte at pgogywebstuff.com (xerte at pgogywebstuff.com) Date: Fri, 10 May 2013 15:01:47 +0100 Subject: [Xerte-dev] Single Page LOs Message-ID: Hello, Would it be possible to have a drop down in the display option to hide "x_footerBlock" as I'd like to make some single page LOs. I can break it myself, but thought others might find it useful Pgogy Webstuff http://www.pgogywebstuff.comMakers of Web things of a fair to middling quality -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fay.Cross at nottingham.ac.uk Fri May 10 15:05:55 2013 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Fri, 10 May 2013 15:05:55 +0100 Subject: [Xerte-dev] Re: Single Page LOs In-Reply-To: References: Message-ID: I can just hide it if there?s only one page ? no need to add an extra option. Although do you want it all removed or just the navigation bit of it? There?s other stuff that goes in the footerBlock too e.g. narration bar if you?ve added this to a page and fill screen button. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 15:02 To: For technical developers Subject: [Xerte-dev] Single Page LOs Hello, Would it be possible to have a drop down in the display option to hide "x_footerBlock" as I'd like to make some single page LOs I can break it myself, but thought others might find it useful Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Sat May 11 12:01:58 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Sat, 11 May 2013 13:01:58 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A493CE@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51A493B9@EXCHANGE1.ad.nottingham.ac.uk> <5dda1809d0bac7006a08fea584bdecde30427bd0@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A493CE@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <518E2526.3060801@tor.nl> I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: Where url is 'preview.php&template_id=4' getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); What I did: 1. I changed the code to do exactly the same but in a different way: - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); - Supply javascript function in edit.php that does: function openPreview(url, height, width) { NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); NewWindow.focus(); } This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. 2. So, different approach, without using javascript: - From flash call: getURL(url, "_blank") This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. BUT it does work! Is that a viable solution? For firefox only? Tom Op 10-5-2013 16:01, Julian Tenney schreef: > > Tested the file button, and debugged the FileRef.browse and got > Function, so it does exist, before FileRef.browse is called. > > Took out all but the void(0) and still failing. Have stripped down the > function to this. > > I don't think it is our code. Going for beer. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *xerte at pgogywebstuff.com > *Sent:* 10 May 2013 14:58 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > I'd be cautious of saying it is preview - perhaps it is the file button? > > try not setting focus? that seems a possible route? > > Pgogy Webstuff http://www.pgogywebstuff.com > > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > *To:* > > "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk > )" > > > > *Cc:* > > *Sent:* > > Fri, 10 May 2013 14:54:16 +0100 > > *Subject:* > > [Xerte-dev] Re: wizard files and modules > > It boils down to this: > > function preview(){ > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + > _root.template_id; > > } > > saveFile(); > > ExternalInterface.call("hideunload"); > > getURL("javascript:NewWindow = window.open('" + url + > "','previewwindow','height=" + this.template_height+ ",width=" + > this.template_width+ ",linkID=" + > tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); > setunload(); void(0);"); > > } > > *From:*Tenney Julian > *Sent:* 10 May 2013 14:51 > *To:* 'For Xerte technical developers' > *Subject:* RE: [Xerte-dev] Re: wizard files and modules > > Here be function preview() (I'm guessing you can't see it? Can you > see anything obvious / or anything I can try commenting out / > testing to test your theory?) > > Probably next week though, I have to go soon, > > function preview(){ > > if (xerte){ > > if (wizard.nfoObject.wizard.runtime != undefined){ > //post the xml data into the url specified > > saveFile(); > > } else {//play it in Xerte > > //if shift is down, jump straight to this page > > if (Key.isDown(Key.SHIFT)){ > > if (tree.selectedNode.attributes.linkID == > undefined){ > > tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); > > } > > //set the linkID in _level0 of the runtime > (it is deleted after onInit is fired) > > mdm.Forms.preview.callFunction("setLinkID", > tree.selectedNode.attributes.linkID, "|"); > > } > > saveFile(); > > this.mode = 'preview'; > > //show the preview form > > mdm.form_show("preview"); > > mdm.form_restore("preview"); > > //fire up the piece > > mdm.form_callfunction("preview", "setMode", mode, "|"); > > mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); > > } > > } else { //this is toolkits - play or post? > > if (wizard.nfoObject.wizard.runtime != undefined){ > > //hardcoded in here for now - this is a bit messy, > needa better way of handling multiple runtimes with all the > security etc > > if (wizard.nfoObject.wizard.runtime == > 'preview_site.php'){ > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + > _root.template_id; > > } > > saveFile(); > > ExternalInterface.call("hideunload"); > > getURL("javascript:NewWindow = window.open('" + url + > "','previewwindow','scrollbars=yes'); NewWindow.focus(); > setunload(); void(0);"); > > } else { > > saveFile(); > > wizard.createEmptyMovieClip('getURLHelper', 9999); > > wizard.getURLHelper.data = KOData.format(); > > wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, > "_blank", "POST"); > > } > > } else { > > if (Key.isDown(Key.CONTROL)){ //play the html5 version > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id + > "&engine=other"; > > }else{ > > url = "preview.php?template_id=" + > _root.template_id + "&engine=other"; > > } > > } else { > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + > _root.template_id; > > } > > } > > //if shift is down, jump straight to this page > > if (Key.isDown(Key.SHIFT)){ > > if (tree.selectedNode.attributes.linkID == > undefined){ > > tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); > > } > > if(_root.apache!="false"){ > > url += '_' + > tree.selectedNode.attributes.linkID; > > }else{ > > url += '&linkID=' + > tree.selectedNode.attributes.linkID; > > } > > } > > saveFile(); > > ExternalInterface.call("hideunload"); > > getURL("javascript:NewWindow = window.open('" + url + > "','previewwindow','height=" + this.template_height+ ",width=" + > this.template_width+ ",linkID=" + > tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); > setunload(); void(0);"); > > } > > } > > } > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *xerte at pgogywebstuff.com > *Sent:* 10 May 2013 14:38 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > Windows 7 > Firefox 20.1.0 > Preview button doesn't work for anything once you've previewed > Flash Player 11.7 > > Fine in Chrome > No Joy in FF > > have commented out all of the JS > > So I'm guessing it is in the engine somewhere for FF - possible > close event firing too soon? > > I'd put some fscommand("console.log") into the wizard. > > Pgogy Webstuff http://www.pgogywebstuff.com > > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > > *To:* > > "For Xerte technical developers" > > > > *Cc:* > > *Sent:* > > Fri, 10 May 2013 14:00:36 +0100 > > *Subject:* > > [Xerte-dev] Re: wizard files and modules > > More specifically 64bit Windows 7 > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Julian Tenney > *Sent:* 10 May 2013 13:58 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > Difference is Windows 7 -- everything else the same and I see > the problem in both. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Fay Cross > *Sent:* 10 May 2013 13:57 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > Windows XP > > Firefox 20.0.1 > > Flash 11.7.700.169 > > Can't recreate problem in XOT or Bootstrap, XAMPP or > Nottingham install > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottinghamac.uk > ] *On Behalf > Of *Julian Tenney > *Sent:* 10 May 2013 13:52 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > It's like doing the Guardian crossword... > > It would be good if everyone can test with the latest firefox > and report back > > Create a project in Xerte Online Toolkit and Bootstrap > > Add a media thing, upload some, press play button in bottom > right, close play window, upload media again > > Fails in Bootstrap? > Fails in Xerte Online Toolkit? > > Flash player version? > > If you don't close the preview window it continues to work OK. > > *From:*xerte-dev-bounces at lists.nottingham.acuk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Tom Reijnders > *Sent:* 10 May 2013 13:40 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > What you have to realise, is that the files LOOK the same, and > have the same name, but they ARE different. > > Op 10-5-2013 14:33, Julian Tenney schreef: > > Probably before I realised that we had the same files in > lots of different places > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On > Behalf Of *xerte at pgogywebstuff.com > > *Sent:* 10 May 2013 13:28 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php > > You might not built the structures, but you set the path > > > > Pgogy Webstuff http://www.pgogywebstuff.com > > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > > *To:* > > "For Xerte technical developers" > > > > *Cc:* > > *Sent:* > > Fri, 10 May 2013 13:11:19 +0100 > > *Subject:* > > [Xerte-dev] Re: wizard files and modules > > Nope, the wizard.swf file. I did not build the > structures that contain modules/Xerte and > modules/site, and I did not duplicate all the files > that are in there. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On > Behalf Of *Tom Reijnders > *Sent:* 10 May 2013 13:09 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > Hmmm... you did that yourself when you fixed the > onbeforeunload=function{}(); on April 25.... > As far as I can tell you copied the editphp from site > over to xerte. > > Op 10-5-2013 14:03, Julian Tenney schreef: > > OK, now I am really confused. > > When I use a xerte online template, the wizard > comes from modules/site/engine, not the wizard in > modules/Xerte/engine. > > Any more cryptic pathing issues set up just for fun? > > Sheesh. > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.acuk/mailman/listinfo/xerte-dev > > -- > > -- > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -- > > -- > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Sat May 11 12:01:58 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Sat, 11 May 2013 13:01:58 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A493CE@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51A493B9@EXCHANGE1.ad.nottingham.ac.uk> <5dda1809d0bac7006a08fea584bdecde30427bd0@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A493CE@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <518E2526.3060801@tor.nl> I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: Where url is 'preview.php&template_id=4' getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); What I did: 1. I changed the code to do exactly the same but in a different way: - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); - Supply javascript function in edit.php that does: function openPreview(url, height, width) { NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); NewWindow.focus(); } This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. 2. So, different approach, without using javascript: - From flash call: getURL(url, "_blank") This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. BUT it does work! Is that a viable solution? For firefox only? Tom Op 10-5-2013 16:01, Julian Tenney schreef: > > Tested the file button, and debugged the FileRef.browse and got > Function, so it does exist, before FileRef.browse is called. > > Took out all but the void(0) and still failing. Have stripped down the > function to this. > > I don't think it is our code. Going for beer. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *xerte at pgogywebstuff.com > *Sent:* 10 May 2013 14:58 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > I'd be cautious of saying it is preview - perhaps it is the file button? > > try not setting focus? that seems a possible route? > > Pgogy Webstuff http://www.pgogywebstuff.com > > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > *To:* > > "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk > )" > > > > *Cc:* > > *Sent:* > > Fri, 10 May 2013 14:54:16 +0100 > > *Subject:* > > [Xerte-dev] Re: wizard files and modules > > It boils down to this: > > function preview(){ > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + > _root.template_id; > > } > > saveFile(); > > ExternalInterface.call("hideunload"); > > getURL("javascript:NewWindow = window.open('" + url + > "','previewwindow','height=" + this.template_height+ ",width=" + > this.template_width+ ",linkID=" + > tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); > setunload(); void(0);"); > > } > > *From:*Tenney Julian > *Sent:* 10 May 2013 14:51 > *To:* 'For Xerte technical developers' > *Subject:* RE: [Xerte-dev] Re: wizard files and modules > > Here be function preview() (I'm guessing you can't see it? Can you > see anything obvious / or anything I can try commenting out / > testing to test your theory?) > > Probably next week though, I have to go soon, > > function preview(){ > > if (xerte){ > > if (wizard.nfoObject.wizard.runtime != undefined){ > //post the xml data into the url specified > > saveFile(); > > } else {//play it in Xerte > > //if shift is down, jump straight to this page > > if (Key.isDown(Key.SHIFT)){ > > if (tree.selectedNode.attributes.linkID == > undefined){ > > tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); > > } > > //set the linkID in _level0 of the runtime > (it is deleted after onInit is fired) > > mdm.Forms.preview.callFunction("setLinkID", > tree.selectedNode.attributes.linkID, "|"); > > } > > saveFile(); > > this.mode = 'preview'; > > //show the preview form > > mdm.form_show("preview"); > > mdm.form_restore("preview"); > > //fire up the piece > > mdm.form_callfunction("preview", "setMode", mode, "|"); > > mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); > > } > > } else { //this is toolkits - play or post? > > if (wizard.nfoObject.wizard.runtime != undefined){ > > //hardcoded in here for now - this is a bit messy, > needa better way of handling multiple runtimes with all the > security etc > > if (wizard.nfoObject.wizard.runtime == > 'preview_site.php'){ > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + > _root.template_id; > > } > > saveFile(); > > ExternalInterface.call("hideunload"); > > getURL("javascript:NewWindow = window.open('" + url + > "','previewwindow','scrollbars=yes'); NewWindow.focus(); > setunload(); void(0);"); > > } else { > > saveFile(); > > wizard.createEmptyMovieClip('getURLHelper', 9999); > > wizard.getURLHelper.data = KOData.format(); > > wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, > "_blank", "POST"); > > } > > } else { > > if (Key.isDown(Key.CONTROL)){ //play the html5 version > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id + > "&engine=other"; > > }else{ > > url = "preview.php?template_id=" + > _root.template_id + "&engine=other"; > > } > > } else { > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + > _root.template_id; > > } > > } > > //if shift is down, jump straight to this page > > if (Key.isDown(Key.SHIFT)){ > > if (tree.selectedNode.attributes.linkID == > undefined){ > > tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); > > } > > if(_root.apache!="false"){ > > url += '_' + > tree.selectedNode.attributes.linkID; > > }else{ > > url += '&linkID=' + > tree.selectedNode.attributes.linkID; > > } > > } > > saveFile(); > > ExternalInterface.call("hideunload"); > > getURL("javascript:NewWindow = window.open('" + url + > "','previewwindow','height=" + this.template_height+ ",width=" + > this.template_width+ ",linkID=" + > tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); > setunload(); void(0);"); > > } > > } > > } > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *xerte at pgogywebstuff.com > *Sent:* 10 May 2013 14:38 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > Windows 7 > Firefox 20.1.0 > Preview button doesn't work for anything once you've previewed > Flash Player 11.7 > > Fine in Chrome > No Joy in FF > > have commented out all of the JS > > So I'm guessing it is in the engine somewhere for FF - possible > close event firing too soon? > > I'd put some fscommand("console.log") into the wizard. > > Pgogy Webstuff http://www.pgogywebstuff.com > > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > > *To:* > > "For Xerte technical developers" > > > > *Cc:* > > *Sent:* > > Fri, 10 May 2013 14:00:36 +0100 > > *Subject:* > > [Xerte-dev] Re: wizard files and modules > > More specifically 64bit Windows 7 > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Julian Tenney > *Sent:* 10 May 2013 13:58 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > Difference is Windows 7 -- everything else the same and I see > the problem in both. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Fay Cross > *Sent:* 10 May 2013 13:57 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > Windows XP > > Firefox 20.0.1 > > Flash 11.7.700.169 > > Can't recreate problem in XOT or Bootstrap, XAMPP or > Nottingham install > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottinghamac.uk > ] *On Behalf > Of *Julian Tenney > *Sent:* 10 May 2013 13:52 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > It's like doing the Guardian crossword... > > It would be good if everyone can test with the latest firefox > and report back > > Create a project in Xerte Online Toolkit and Bootstrap > > Add a media thing, upload some, press play button in bottom > right, close play window, upload media again > > Fails in Bootstrap? > Fails in Xerte Online Toolkit? > > Flash player version? > > If you don't close the preview window it continues to work OK. > > *From:*xerte-dev-bounces at lists.nottingham.acuk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Tom Reijnders > *Sent:* 10 May 2013 13:40 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > What you have to realise, is that the files LOOK the same, and > have the same name, but they ARE different. > > Op 10-5-2013 14:33, Julian Tenney schreef: > > Probably before I realised that we had the same files in > lots of different places > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On > Behalf Of *xerte at pgogywebstuff.com > > *Sent:* 10 May 2013 13:28 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php > > You might not built the structures, but you set the path > > > > Pgogy Webstuff http://www.pgogywebstuff.com > > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > > *To:* > > "For Xerte technical developers" > > > > *Cc:* > > *Sent:* > > Fri, 10 May 2013 13:11:19 +0100 > > *Subject:* > > [Xerte-dev] Re: wizard files and modules > > Nope, the wizard.swf file. I did not build the > structures that contain modules/Xerte and > modules/site, and I did not duplicate all the files > that are in there. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On > Behalf Of *Tom Reijnders > *Sent:* 10 May 2013 13:09 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > Hmmm... you did that yourself when you fixed the > onbeforeunload=function{}(); on April 25.... > As far as I can tell you copied the editphp from site > over to xerte. > > Op 10-5-2013 14:03, Julian Tenney schreef: > > OK, now I am really confused. > > When I use a xerte online template, the wizard > comes from modules/site/engine, not the wizard in > modules/Xerte/engine. > > Any more cryptic pathing issues set up just for fun? > > Sheesh. > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.acuk/mailman/listinfo/xerte-dev > > -- > > -- > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -- > > -- > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Sun May 12 09:52:52 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Sun, 12 May 2013 09:52:52 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <518E2526.3060801@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C51A493B9@EXCHANGE1.ad.nottingham.ac.uk> <5dda1809d0bac7006a08fea584bdecde30427bd0@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A493CE@EXCHANGE1.ad.nottingham.ac.uk>, <518E2526.3060801@tor.nl> Message-ID: So the plot thickens... As you know I couldn't reproduce this on Friday and it seems that it was because of what I was doing... When the editor window was opening I was MOVING the window so that I could see the workspace too and it seems that this change of focus from the Flash to the actual window was in some way doing something to the problem but this morning I was able to reproduce the problem this morning though because I wasn't doing anything to the window after clicking preview... Please watch this screencast ( http://screencast.com/t/38tpOLopLs ) and you'll see the button not working in exactly the same way that you all described but then simply resizing the window slightly makes it work again... now it's not a focus issue because simply clicking on the window border or the window header which would change focus away from the Flash wizard doesn't fix it... but resizing does. But only until you preview again and then you need to resize again... I have no idea why this is happening but will continue to have a play around with various things to see if I can come up with a fix... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 11 May 2013 12:01 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: Where url is 'preview.php&template_id=4' getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); What I did: 1. I changed the code to do exactly the same but in a different way: - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); - Supply javascript function in edit.php that does: function openPreview(url, height, width) { NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); NewWindow.focus(); } This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. 2. So, different approach, without using javascript: - From flash call: getURL(url, "_blank") This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. BUT it does work! Is that a viable solution? For firefox only? Tom Op 10-5-2013 16:01, Julian Tenney schreef: Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. Took out all but the void(0) and still failing. Have stripped down the function to this. I don?t think it is our code. Going for beer. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 14:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I'd be cautious of saying it is preview - perhaps it is the file button? try not setting focus? that seems a possible route? Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > Cc: Sent: Fri, 10 May 2013 14:54:16 +0100 Subject: [Xerte-dev] Re: wizard files and modules It boils down to this: function preview(){ if(_root.apache!="false"){ url = "preview_" + _root.template_id; }else{ url = "preview.php?template_id=" + _root.template_id; } saveFile(); ExternalInterface.call("hideunload"); getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); } From: Tenney Julian Sent: 10 May 2013 14:51 To: 'For Xerte technical developers' Subject: RE: [Xerte-dev] Re: wizard files and modules Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) Probably next week though, I have to go soon, function preview(){ if (xerte){ if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified saveFile(); } else {//play it in Xerte //if shift is down, jump straight to this page if (Key.isDown(Key.SHIFT)){ if (tree.selectedNode.attributes.linkID == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); } //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); } saveFile(); this.mode = 'preview'; //show the preview form mdm.form_show("preview"); mdm.form_restore("preview"); //fire up the piece mdm.form_callfunction("preview", "setMode", mode, "|"); mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); } } else { //this is toolkits - play or post? if (wizard.nfoObject.wizard.runtime != undefined){ //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ if(_root.apache!="false"){ url = "preview_" + _root.template_id; }else{ url = "preview.php?template_id=" + _root.template_id; } saveFile(); ExternalInterface.call("hideunload"); getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); } else { saveFile(); wizard.createEmptyMovieClip('getURLHelper', 9999); wizard.getURLHelper.data = KOData.format(); wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); } } else { if (Key.isDown(Key.CONTROL)){ //play the html5 version if(_root.apache!="false"){ url = "preview_" + _root.template_id + "&engine=other"; }else{ url = "preview.php?template_id=" + _root.template_id + "&engine=other"; } } else { if(_root.apache!="false"){ url = "preview_" + _root.template_id; }else{ url = "preview.php?template_id=" + _root.template_id; } } //if shift is down, jump straight to this page if (Key.isDown(Key.SHIFT)){ if (tree.selectedNode.attributes.linkID == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); } if(_root.apache!="false"){ url += '_' + tree.selectedNode.attributes.linkID; }else{ url += '&linkID=' + tree.selectedNode.attributes.linkID; } } saveFile(); ExternalInterface.call("hideunload"); getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); } } } From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 14:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows 7 Firefox 20.1.0 Preview button doesn't work for anything once you've previewed Flash Player 11.7 Fine in Chrome No Joy in FF have commented out all of the JS So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? I'd put some fscommand("console.log") into the wizard. Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 14:00:36 +0100 Subject: [Xerte-dev] Re: wizard files and modules More specifically 64bit Windows 7 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Difference is Windows 7 ? everything else the same and I see the problem in both. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 10 May 2013 13:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows XP Firefox 20.0.1 Flash 11.7.700.169 Can?t recreate problem in XOT or Bootstrap, XAMPP or Nottingham install From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottinghamac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules It?s like doing the Guardian crossword? It would be good if everyone can test with the latest firefox and report back Create a project in Xerte Online Toolkit and Bootstrap Add a media thing, upload some, press play button in bottom right, close play window, upload media again Fails in Bootstrap? Fails in Xerte Online Toolkit? Flash player version? If you don?t close the preview window it continues to work OK. From: xerte-dev-bounces at lists.nottingham.acuk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. Op 10-5-2013 14:33, Julian Tenney schreef: Probably before I realised that we had the same files in lots of different places From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php You might not built the structures, but you set the path Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 13:11:19 +0100 Subject: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the editphp from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.acuk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From reijnders at tor.nl Sun May 12 10:31:17 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Sun, 12 May 2013 11:31:17 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51A493B9@EXCHANGE1.ad.nottingham.ac.uk> <5dda1809d0bac7006a08fea584bdecde30427bd0@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A493CE@EXCHANGE1.ad.nottingham.ac.uk>, <518E2526.3060801@tor.nl> Message-ID: <518F6165.1090305@tor.nl> This is really weird, but I can confirm that it works for me also. After resizing, the media button works again. Tom Op 12-5-2013 10:52, Smith, John schreef: > So the plot thickens... As you know I couldn't reproduce this on Friday and it seems that it was because of what I was doing... > > When the editor window was opening I was MOVING the window so that I could see the workspace too and it seems that this change of focus from the Flash to the actual window was in some way doing something to the problem but this morning I was able to reproduce the problem this morning though because I wasn't doing anything to the window after clicking preview... > > Please watch this screencast ( http://screencast.com/t/38tpOLopLs ) and you'll see the button not working in exactly the same way that you all described but then simply resizing the window slightly makes it work again... now it's not a focus issue because simply clicking on the window border or the window header which would change focus away from the Flash wizard doesn't fix it... but resizing does. But only until you preview again and then you need to resize again... > > I have no idea why this is happening but will continue to have a play around with various things to see if I can come up with a fix... > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] > Sent: 11 May 2013 12:01 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: > > Where url is 'preview.php&template_id=4' > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); > > What I did: > 1. I changed the code to do exactly the same but in a different way: > > - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); > - Supply javascript function in edit.php that does: > > function openPreview(url, height, width) > { > NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); > NewWindow.focus(); > } > > This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. > > 2. So, different approach, without using javascript: > > - From flash call: getURL(url, "_blank") > > This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. > > BUT it does work! > > Is that a viable solution? For firefox only? > > Tom > > Op 10-5-2013 16:01, Julian Tenney schreef: > Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. > > Took out all but the void(0) and still failing. Have stripped down the function to this. > > I don?t think it is our code. Going for beer. > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 10 May 2013 14:58 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > I'd be cautious of saying it is preview - perhaps it is the file button? > > try not setting focus? that seems a possible route? > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > > To: > "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > > Cc: > > Sent: > Fri, 10 May 2013 14:54:16 +0100 > Subject: > [Xerte-dev] Re: wizard files and modules > > It boils down to this: > > > function preview(){ > > > > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + _root.template_id; > > } > > > > > saveFile(); > > ExternalInterface.call("hideunload"); > > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); > > > > > > } > > > From: Tenney Julian > Sent: 10 May 2013 14:51 > To: 'For Xerte technical developers' > Subject: RE: [Xerte-dev] Re: wizard files and modules > > > Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) > Probably next week though, I have to go soon, > > > function preview(){ > > > if (xerte){ > > if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified > > saveFile(); > > } else {//play it in Xerte > > //if shift is down, jump straight to this page > if (Key.isDown(Key.SHIFT)){ > if (tree.selectedNode.attributes.linkID == undefined){ > tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); > } > //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) > mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); > } > saveFile(); > > this.mode = 'preview'; > > > //show the preview form > mdm.form_show("preview"); > mdm.form_restore("preview"); > > //fire up the piece > mdm.form_callfunction("preview", "setMode", mode, "|"); > mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); > } > > > } else { //this is toolkits - play or post? > > if (wizard.nfoObject.wizard.runtime != undefined){ > > //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc > if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + _root.template_id; > > } > > saveFile(); > > ExternalInterface.call("hideunload"); > > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); > > } else { > > saveFile(); > > wizard.createEmptyMovieClip('getURLHelper', 9999); > wizard.getURLHelper.data = KOData.format(); > wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); > > } > > } else { > > if (Key.isDown(Key.CONTROL)){ //play the html5 version > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id + "&engine=other"; > > }else{ > > url = "preview.php?template_id=" + _root.template_id + "&engine=other"; > > } > > } else { > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + _root.template_id; > > } > } > > > //if shift is down, jump straight to this page > if (Key.isDown(Key.SHIFT)){ > if (tree.selectedNode.attributes.linkID == undefined){ > tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); > } > > if(_root.apache!="false"){ > > url += '_' + tree.selectedNode.attributes.linkID; > > }else{ > > url += '&linkID=' + tree.selectedNode.attributes.linkID; > > } > } > saveFile(); > > ExternalInterface.call("hideunload"); > > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); > > } > } > } > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 10 May 2013 14:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Windows 7 > Firefox 20.1.0 > Preview button doesn't work for anything once you've previewed > Flash Player 11.7 > > Fine in Chrome > No Joy in FF > > have commented out all of the JS > > So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? > > I'd put some fscommand("console.log") into the wizard. > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > > > To: > "For Xerte technical developers" > > Cc: > > > Sent: > Fri, 10 May 2013 14:00:36 +0100 > Subject: > [Xerte-dev] Re: wizard files and modules > More specifically 64bit Windows 7 > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 10 May 2013 13:58 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Difference is Windows 7 ? everything else the same and I see the problem in both. > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross > Sent: 10 May 2013 13:57 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Windows XP > Firefox 20.0.1 > Flash 11.7.700.169 > > > Can?t recreate problem in XOT or Bootstrap, XAMPP or Nottingham install > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottinghamac.uk] On Behalf Of Julian Tenney > Sent: 10 May 2013 13:52 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > It?s like doing the Guardian crossword? > > > It would be good if everyone can test with the latest firefox and report back > > > Create a project in Xerte Online Toolkit and Bootstrap > Add a media thing, upload some, press play button in bottom right, close play window, upload media again > Fails in Bootstrap? > Fails in Xerte Online Toolkit? > Flash player version? > > > If you don?t close the preview window it continues to work OK. > > > > > From: xerte-dev-bounces at lists.nottingham.acuk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 10 May 2013 13:40 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. > Op 10-5-2013 14:33, Julian Tenney schreef: > Probably before I realised that we had the same files in lots of different places > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 10 May 2013 13:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php > > You might not built the structures, but you set the path > > > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > > To: > "For Xerte technical developers" > > Cc: > > Sent: > Fri, 10 May 2013 13:11:19 +0100 > Subject: > [Xerte-dev] Re: wizard files and modules > Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 10 May 2013 13:09 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... > As far as I can tell you copied the editphp from site over to xerte. > Op 10-5-2013 14:03, Julian Tenney schreef: > OK, now I am really confused. > > When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. > > Any more cryptic pathing issues set up just for fun? > > Sheesh. > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.acuk/mailman/listinfo/xerte-dev > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From xerte at pgogywebstuff.com Sun May 12 10:25:46 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Sun, 12 May 2013 10:25:46 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51A493B9@EXCHANGE1.ad.nottingham.ac.uk> <5dda1809d0bac7006a08fea584bdecde30427bd0@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A493CE@EXCHANGE1.ad.nottingham.ac.uk> <518E2526.3060801@tor.nl> Message-ID: Has this mostly happened post the upload successful button was added? I think the button click event isn't firing properly in flash? When I last did a lot of flash stuff, Firefox always went wrong on the object's depth properties On 12 May 2013, at 09:52, "Smith, John" wrote: > So the plot thickens... As you know I couldn't reproduce this on Friday and it seems that it was because of what I was doing... > > When the editor window was opening I was MOVING the window so that I could see the workspace too and it seems that this change of focus from the Flash to the actual window was in some way doing something to the problem but this morning I was able to reproduce the problem this morning though because I wasn't doing anything to the window after clicking preview... > > Please watch this screencast ( http://screencast.com/t/38tpOLopLs ) and you'll see the button not working in exactly the same way that you all described but then simply resizing the window slightly makes it work again... now it's not a focus issue because simply clicking on the window border or the window header which would change focus away from the Flash wizard doesn't fix it... but resizing does. But only until you preview again and then you need to resize again... > > I have no idea why this is happening but will continue to have a play around with various things to see if I can come up with a fix... > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] > Sent: 11 May 2013 12:01 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: > > Where url is 'preview.php&template_id=4' > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); > > What I did: > 1. I changed the code to do exactly the same but in a different way: > > - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); > - Supply javascript function in edit.php that does: > > function openPreview(url, height, width) > { > NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); > NewWindow.focus(); > } > > This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. > > 2. So, different approach, without using javascript: > > - From flash call: getURL(url, "_blank") > > This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. > > BUT it does work! > > Is that a viable solution? For firefox only? > > Tom > > Op 10-5-2013 16:01, Julian Tenney schreef: > Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. > > Took out all but the void(0) and still failing. Have stripped down the function to this. > > I don?t think it is our code. Going for beer. > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 10 May 2013 14:58 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > I'd be cautious of saying it is preview - perhaps it is the file button? > > try not setting focus? that seems a possible route? > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > > To: > "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > > Cc: > > Sent: > Fri, 10 May 2013 14:54:16 +0100 > Subject: > [Xerte-dev] Re: wizard files and modules > > It boils down to this: > > > function preview(){ > > > > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + _root.template_id; > > } > > > > > saveFile(); > > ExternalInterface.call("hideunload"); > > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); > > > > > > } > > > From: Tenney Julian > Sent: 10 May 2013 14:51 > To: 'For Xerte technical developers' > Subject: RE: [Xerte-dev] Re: wizard files and modules > > > Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) > Probably next week though, I have to go soon, > > > function preview(){ > > > if (xerte){ > > if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified > > saveFile(); > > } else {//play it in Xerte > > //if shift is down, jump straight to this page > if (Key.isDown(Key.SHIFT)){ > if (tree.selectedNode.attributes.linkID == undefined){ > tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); > } > //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) > mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); > } > saveFile(); > > this.mode = 'preview'; > > > //show the preview form > mdm.form_show("preview"); > mdm.form_restore("preview"); > > //fire up the piece > mdm.form_callfunction("preview", "setMode", mode, "|"); > mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); > } > > > } else { //this is toolkits - play or post? > > if (wizard.nfoObject.wizard.runtime != undefined){ > > //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc > if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + _root.template_id; > > } > > saveFile(); > > ExternalInterface.call("hideunload"); > > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); > > } else { > > saveFile(); > > wizard.createEmptyMovieClip('getURLHelper', 9999); > wizard.getURLHelper.data = KOData.format(); > wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); > > } > > } else { > > if (Key.isDown(Key.CONTROL)){ //play the html5 version > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id + "&engine=other"; > > }else{ > > url = "preview.php?template_id=" + _root.template_id + "&engine=other"; > > } > > } else { > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + _root.template_id; > > } > } > > > //if shift is down, jump straight to this page > if (Key.isDown(Key.SHIFT)){ > if (tree.selectedNode.attributes.linkID == undefined){ > tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); > } > > if(_root.apache!="false"){ > > url += '_' + tree.selectedNode.attributes.linkID; > > }else{ > > url += '&linkID=' + tree.selectedNode.attributes.linkID; > > } > } > saveFile(); > > ExternalInterface.call("hideunload"); > > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); > > } > } > } > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 10 May 2013 14:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Windows 7 > Firefox 20.1.0 > Preview button doesn't work for anything once you've previewed > Flash Player 11.7 > > Fine in Chrome > No Joy in FF > > have commented out all of the JS > > So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? > > I'd put some fscommand("console.log") into the wizard. > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > > > To: > "For Xerte technical developers" > > Cc: > > > Sent: > Fri, 10 May 2013 14:00:36 +0100 > Subject: > [Xerte-dev] Re: wizard files and modules > More specifically 64bit Windows 7 > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 10 May 2013 13:58 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Difference is Windows 7 ? everything else the same and I see the problem in both. > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross > Sent: 10 May 2013 13:57 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Windows XP > Firefox 20.0.1 > Flash 11.7.700.169 > > > Can?t recreate problem in XOT or Bootstrap, XAMPP or Nottingham install > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottinghamac.uk] On Behalf Of Julian Tenney > Sent: 10 May 2013 13:52 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > It?s like doing the Guardian crossword? > > > It would be good if everyone can test with the latest firefox and report back > > > Create a project in Xerte Online Toolkit and Bootstrap > Add a media thing, upload some, press play button in bottom right, close play window, upload media again > Fails in Bootstrap? > Fails in Xerte Online Toolkit? > Flash player version? > > > If you don?t close the preview window it continues to work OK. > > > > > From: xerte-dev-bounces at lists.nottingham.acuk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 10 May 2013 13:40 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. > Op 10-5-2013 14:33, Julian Tenney schreef: > Probably before I realised that we had the same files in lots of different places > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 10 May 2013 13:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php > > You might not built the structures, but you set the path > > > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > > To: > "For Xerte technical developers" > > Cc: > > Sent: > Fri, 10 May 2013 13:11:19 +0100 > Subject: > [Xerte-dev] Re: wizard files and modules > Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 10 May 2013 13:09 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... > As far as I can tell you copied the editphp from site over to xerte. > Op 10-5-2013 14:03, Julian Tenney schreef: > OK, now I am really confused. > > When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. > > Any more cryptic pathing issues set up just for fun? > > Sheesh. > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.acuk/mailman/listinfo/xerte-dev > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. From J.J.Smith at gcu.ac.uk Sun May 12 10:41:59 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Sun, 12 May 2013 10:41:59 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51A493B9@EXCHANGE1.ad.nottingham.ac.uk> <5dda1809d0bac7006a08fea584bdecde30427bd0@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A493CE@EXCHANGE1.ad.nottingham.ac.uk> <518E2526.3060801@tor.nl> , Message-ID: so now if you replace preview.php with the attached file which does nothing but is valid XHTML then I don't see the problem any more so it must be the preview page... there are a lot of XHTML Transitional errors in edit.php and a couple on preview but i've fixed these now and still not working... Can either of you confirm that using this preview.php file remeve the issue from the editor? Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] Sent: 12 May 2013 10:25 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Has this mostly happened post the upload successful button was added? I think the button click event isn't firing properly in flash? When I last did a lot of flash stuff, Firefox always went wrong on the object's depth properties On 12 May 2013, at 09:52, "Smith, John" wrote: > So the plot thickens... As you know I couldn't reproduce this on Friday and it seems that it was because of what I was doing... > > When the editor window was opening I was MOVING the window so that I could see the workspace too and it seems that this change of focus from the Flash to the actual window was in some way doing something to the problem but this morning I was able to reproduce the problem this morning though because I wasn't doing anything to the window after clicking preview... > > Please watch this screencast ( http://screencast.com/t/38tpOLopLs ) and you'll see the button not working in exactly the same way that you all described but then simply resizing the window slightly makes it work again... now it's not a focus issue because simply clicking on the window border or the window header which would change focus away from the Flash wizard doesn't fix it... but resizing does. But only until you preview again and then you need to resize again... > > I have no idea why this is happening but will continue to have a play around with various things to see if I can come up with a fix... > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] > Sent: 11 May 2013 12:01 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: > > Where url is 'preview.php&template_id=4' > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); > > What I did: > 1. I changed the code to do exactly the same but in a different way: > > - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); > - Supply javascript function in edit.php that does: > > function openPreview(url, height, width) > { > NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); > NewWindow.focus(); > } > > This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. > > 2. So, different approach, without using javascript: > > - From flash call: getURL(url, "_blank") > > This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. > > BUT it does work! > > Is that a viable solution? For firefox only? > > Tom > > Op 10-5-2013 16:01, Julian Tenney schreef: > Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. > > Took out all but the void(0) and still failing. Have stripped down the function to this. > > I don?t think it is our code. Going for beer. > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 10 May 2013 14:58 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > I'd be cautious of saying it is preview - perhaps it is the file button? > > try not setting focus? that seems a possible route? > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > > To: > "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > > Cc: > > Sent: > Fri, 10 May 2013 14:54:16 +0100 > Subject: > [Xerte-dev] Re: wizard files and modules > > It boils down to this: > > > function preview(){ > > > > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + _root.template_id; > > } > > > > > saveFile(); > > ExternalInterface.call("hideunload"); > > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); > > > > > > } > > > From: Tenney Julian > Sent: 10 May 2013 14:51 > To: 'For Xerte technical developers' > Subject: RE: [Xerte-dev] Re: wizard files and modules > > > Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) > Probably next week though, I have to go soon, > > > function preview(){ > > > if (xerte){ > > if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified > > saveFile(); > > } else {//play it in Xerte > > //if shift is down, jump straight to this page > if (Key.isDown(Key.SHIFT)){ > if (tree.selectedNode.attributes.linkID == undefined){ > tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); > } > //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) > mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); > } > saveFile(); > > this.mode = 'preview'; > > > //show the preview form > mdm.form_show("preview"); > mdm.form_restore("preview"); > > //fire up the piece > mdm.form_callfunction("preview", "setMode", mode, "|"); > mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); > } > > > } else { //this is toolkits - play or post? > > if (wizard.nfoObject.wizard.runtime != undefined){ > > //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc > if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + _root.template_id; > > } > > saveFile(); > > ExternalInterface.call("hideunload"); > > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); > > } else { > > saveFile(); > > wizard.createEmptyMovieClip('getURLHelper', 9999); > wizard.getURLHelper.data = KOData.format(); > wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); > > } > > } else { > > if (Key.isDown(Key.CONTROL)){ //play the html5 version > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id + "&engine=other"; > > }else{ > > url = "preview.php?template_id=" + _root.template_id + "&engine=other"; > > } > > } else { > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + _root.template_id; > > } > } > > > //if shift is down, jump straight to this page > if (Key.isDown(Key.SHIFT)){ > if (tree.selectedNode.attributes.linkID == undefined){ > tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); > } > > if(_root.apache!="false"){ > > url += '_' + tree.selectedNode.attributes.linkID; > > }else{ > > url += '&linkID=' + tree.selectedNode.attributes.linkID; > > } > } > saveFile(); > > ExternalInterface.call("hideunload"); > > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); > > } > } > } > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 10 May 2013 14:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Windows 7 > Firefox 20.1.0 > Preview button doesn't work for anything once you've previewed > Flash Player 11.7 > > Fine in Chrome > No Joy in FF > > have commented out all of the JS > > So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? > > I'd put some fscommand("console.log") into the wizard. > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > > > To: > "For Xerte technical developers" > > Cc: > > > Sent: > Fri, 10 May 2013 14:00:36 +0100 > Subject: > [Xerte-dev] Re: wizard files and modules > More specifically 64bit Windows 7 > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 10 May 2013 13:58 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Difference is Windows 7 ? everything else the same and I see the problem in both. > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross > Sent: 10 May 2013 13:57 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Windows XP > Firefox 20.0.1 > Flash 11.7.700.169 > > > Can?t recreate problem in XOT or Bootstrap, XAMPP or Nottingham install > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottinghamac.uk] On Behalf Of Julian Tenney > Sent: 10 May 2013 13:52 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > It?s like doing the Guardian crossword? > > > It would be good if everyone can test with the latest firefox and report back > > > Create a project in Xerte Online Toolkit and Bootstrap > Add a media thing, upload some, press play button in bottom right, close play window, upload media again > Fails in Bootstrap? > Fails in Xerte Online Toolkit? > Flash player version? > > > If you don?t close the preview window it continues to work OK. > > > > > From: xerte-dev-bounces at lists.nottingham.acuk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 10 May 2013 13:40 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. > Op 10-5-2013 14:33, Julian Tenney schreef: > Probably before I realised that we had the same files in lots of different places > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 10 May 2013 13:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php > > You might not built the structures, but you set the path > > > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > > To: > "For Xerte technical developers" > > Cc: > > Sent: > Fri, 10 May 2013 13:11:19 +0100 > Subject: > [Xerte-dev] Re: wizard files and modules > Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 10 May 2013 13:09 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... > As far as I can tell you copied the editphp from site over to xerte. > Op 10-5-2013 14:03, Julian Tenney schreef: > OK, now I am really confused. > > When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. > > Any more cryptic pathing issues set up just for fun? > > Sheesh. > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.acuk/mailman/listinfo/xerte-dev > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- A non-text attachment was scrubbed... Name: preview.php Type: application/php Size: 379 bytes Desc: preview.php URL: From reijnders at tor.nl Sun May 12 10:52:36 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Sun, 12 May 2013 11:52:36 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51A493B9@EXCHANGE1.ad.nottingham.ac.uk> <5dda1809d0bac7006a08fea584bdecde30427bd0@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A493CE@EXCHANGE1.ad.nottingham.ac.uk> <518E2526.3060801@tor.nl> , Message-ID: <518F6664.1020407@tor.nl> Confirmed... ( I liked Zen of Blakes 7...:-) ) Op 12-5-2013 11:41, Smith, John schreef: > so now if you replace preview.php with the attached file which does nothing but is valid XHTML then I don't see the problem any more so it must be the preview page... there are a lot of XHTML Transitional errors in edit.php and a couple on preview but i've fixed these now and still not working... > > Can either of you confirm that using this preview.php file remeve the issue from the editor? > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] > Sent: 12 May 2013 10:25 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > Has this mostly happened post the upload successful button was added? > > I think the button click event isn't firing properly in flash? > > When I last did a lot of flash stuff, Firefox always went wrong on the object's depth properties > > On 12 May 2013, at 09:52, "Smith, John" wrote: > >> So the plot thickens... As you know I couldn't reproduce this on Friday and it seems that it was because of what I was doing... >> >> When the editor window was opening I was MOVING the window so that I could see the workspace too and it seems that this change of focus from the Flash to the actual window was in some way doing something to the problem but this morning I was able to reproduce the problem this morning though because I wasn't doing anything to the window after clicking preview... >> >> Please watch this screencast ( http://screencast.com/t/38tpOLopLs ) and you'll see the button not working in exactly the same way that you all described but then simply resizing the window slightly makes it work again... now it's not a focus issue because simply clicking on the window border or the window header which would change focus away from the Flash wizard doesn't fix it... but resizing does. But only until you preview again and then you need to resize again... >> >> I have no idea why this is happening but will continue to have a play around with various things to see if I can come up with a fix... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >> Sent: 11 May 2013 12:01 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: >> >> Where url is 'preview.php&template_id=4' >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >> >> What I did: >> 1. I changed the code to do exactly the same but in a different way: >> >> - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); >> - Supply javascript function in edit.php that does: >> >> function openPreview(url, height, width) >> { >> NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); >> NewWindow.focus(); >> } >> >> This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. >> >> 2. So, different approach, without using javascript: >> >> - From flash call: getURL(url, "_blank") >> >> This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. >> >> BUT it does work! >> >> Is that a viable solution? For firefox only? >> >> Tom >> >> Op 10-5-2013 16:01, Julian Tenney schreef: >> Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. >> >> Took out all but the void(0) and still failing. Have stripped down the function to this. >> >> I don't think it is our code. Going for beer. >> >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >> Sent: 10 May 2013 14:58 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> I'd be cautious of saying it is preview - perhaps it is the file button? >> >> try not setting focus? that seems a possible route? >> >> Pgogy Webstuff http://www.pgogywebstuff.com >> Makers of Web things of a fair to middling quality >> >> >> ----- Original Message ----- >> From: >> "For Xerte technical developers" > >> >> To: >> "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > >> Cc: >> >> Sent: >> Fri, 10 May 2013 14:54:16 +0100 >> Subject: >> [Xerte-dev] Re: wizard files and modules >> >> It boils down to this: >> >> >> function preview(){ >> >> >> >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id; >> >> } >> >> >> >> >> saveFile(); >> >> ExternalInterface.call("hideunload"); >> >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >> >> >> >> >> >> } >> >> >> From: Tenney Julian >> Sent: 10 May 2013 14:51 >> To: 'For Xerte technical developers' >> Subject: RE: [Xerte-dev] Re: wizard files and modules >> >> >> Here be function preview() (I'm guessing you can't see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) >> Probably next week though, I have to go soon, >> >> >> function preview(){ >> >> >> if (xerte){ >> >> if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified >> >> saveFile(); >> >> } else {//play it in Xerte >> >> //if shift is down, jump straight to this page >> if (Key.isDown(Key.SHIFT)){ >> if (tree.selectedNode.attributes.linkID == undefined){ >> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >> } >> //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) >> mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); >> } >> saveFile(); >> >> this.mode = 'preview'; >> >> >> //show the preview form >> mdm.form_show("preview"); >> mdm.form_restore("preview"); >> >> //fire up the piece >> mdm.form_callfunction("preview", "setMode", mode, "|"); >> mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); >> } >> >> >> } else { //this is toolkits - play or post? >> >> if (wizard.nfoObject.wizard.runtime != undefined){ >> >> //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc >> if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id; >> >> } >> >> saveFile(); >> >> ExternalInterface.call("hideunload"); >> >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); >> >> } else { >> >> saveFile(); >> >> wizard.createEmptyMovieClip('getURLHelper', 9999); >> wizard.getURLHelper.data = KOData.format(); >> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); >> >> } >> >> } else { >> >> if (Key.isDown(Key.CONTROL)){ //play the html5 version >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id + "&engine=other"; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id + "&engine=other"; >> >> } >> >> } else { >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id; >> >> } >> } >> >> >> //if shift is down, jump straight to this page >> if (Key.isDown(Key.SHIFT)){ >> if (tree.selectedNode.attributes.linkID == undefined){ >> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >> } >> >> if(_root.apache!="false"){ >> >> url += '_' + tree.selectedNode.attributes.linkID; >> >> }else{ >> >> url += '&linkID=' + tree.selectedNode.attributes.linkID; >> >> } >> } >> saveFile(); >> >> ExternalInterface.call("hideunload"); >> >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >> >> } >> } >> } >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >> Sent: 10 May 2013 14:38 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> Windows 7 >> Firefox 20.1.0 >> Preview button doesn't work for anything once you've previewed >> Flash Player 11.7 >> >> Fine in Chrome >> No Joy in FF >> >> have commented out all of the JS >> >> So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? >> >> I'd put some fscommand("console.log") into the wizard. >> >> Pgogy Webstuff http://www.pgogywebstuff.com >> Makers of Web things of a fair to middling quality >> >> >> >> ----- Original Message ----- >> From: >> "For Xerte technical developers" > >> >> >> To: >> "For Xerte technical developers" > >> Cc: >> >> >> Sent: >> Fri, 10 May 2013 14:00:36 +0100 >> Subject: >> [Xerte-dev] Re: wizard files and modules >> More specifically 64bit Windows 7 >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >> Sent: 10 May 2013 13:58 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> Difference is Windows 7 -- everything else the same and I see the problem in both. >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross >> Sent: 10 May 2013 13:57 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> Windows XP >> Firefox 20.0.1 >> Flash 11.7.700.169 >> >> >> Can't recreate problem in XOT or Bootstrap, XAMPP or Nottingham install >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottinghamac.uk] On Behalf Of Julian Tenney >> Sent: 10 May 2013 13:52 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> It's like doing the Guardian crossword... >> >> >> It would be good if everyone can test with the latest firefox and report back >> >> >> Create a project in Xerte Online Toolkit and Bootstrap >> Add a media thing, upload some, press play button in bottom right, close play window, upload media again >> Fails in Bootstrap? >> Fails in Xerte Online Toolkit? >> Flash player version? >> >> >> If you don't close the preview window it continues to work OK. >> >> >> >> >> From: xerte-dev-bounces at lists.nottingham.acuk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders >> Sent: 10 May 2013 13:40 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. >> Op 10-5-2013 14:33, Julian Tenney schreef: >> Probably before I realised that we had the same files in lots of different places >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >> Sent: 10 May 2013 13:28 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php >> >> You might not built the structures, but you set the path >> >> >> >> Pgogy Webstuff http://www.pgogywebstuff.com >> Makers of Web things of a fair to middling quality >> >> >> ----- Original Message ----- >> From: >> "For Xerte technical developers" > >> >> To: >> "For Xerte technical developers" > >> Cc: >> >> Sent: >> Fri, 10 May 2013 13:11:19 +0100 >> Subject: >> [Xerte-dev] Re: wizard files and modules >> Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders >> Sent: 10 May 2013 13:09 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... >> As far as I can tell you copied the editphp from site over to xerte. >> Op 10-5-2013 14:03, Julian Tenney schreef: >> OK, now I am really confused. >> >> When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. >> >> Any more cryptic pathing issues set up just for fun? >> >> Sheesh. >> >> >> >> _______________________________________________ >> >> Xerte-dev mailing list >> >> Xerte-dev at lists.nottingham.ac.uk >> >> http://lists.nottingham.acuk/mailman/listinfo/xerte-dev >> >> >> -- >> >> -- >> >> >> >> Tom Reijnders >> >> TOR Informatica >> >> Chopinlaan 27 >> >> 5242HM Rosmalen >> >> Tel: 073 5226191 >> >> Fax: 073 5226196 >> >> >> >> >> >> >> >> _______________________________________________ >> >> Xerte-dev mailing list >> >> Xerte-dev at lists.nottingham.ac.uk >> >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> -- >> >> -- >> >> >> >> Tom Reijnders >> >> TOR Informatica >> >> Chopinlaan 27 >> >> 5242HM Rosmalen >> >> Tel: 073 5226191 >> >> Fax: 073 5226196 >> >> >> >> >> >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an attachment >> may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with the >> University of Nottingham may be monitored as permitted by UK legislation. > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > > > This message has been checked for viruses but the contents of an attachment > > may still contain software viruses which could damage your computer system: > > you are advised to perform your own checks. Email communications with the > > University of Nottingham may be monitored as permitted by UK legislation. > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Sun May 12 11:04:04 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Sun, 12 May 2013 11:04:04 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <518F6664.1020407@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C51A493B9@EXCHANGE1.ad.nottingham.ac.uk> <5dda1809d0bac7006a08fea584bdecde30427bd0@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A493CE@EXCHANGE1.ad.nottingham.ac.uk> <518E2526.3060801@tor.nl> , , <518F6664.1020407@tor.nl> Message-ID: Ok i've partly solved it... Is this line needed in preview.php? Taking it out solves the issue for me... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 12 May 2013 10:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Confirmed... ( I liked Zen of Blakes 7...:-) ) Op 12-5-2013 11:41, Smith, John schreef: so now if you replace preview.php with the attached file which does nothing but is valid XHTML then I don't see the problem any more so it must be the preview page... there are a lot of XHTML Transitional errors in edit.php and a couple on preview but i've fixed these now and still not working... Can either of you confirm that using this preview.php file remeve the issue from the editor? Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] Sent: 12 May 2013 10:25 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Has this mostly happened post the upload successful button was added? I think the button click event isn't firing properly in flash? When I last did a lot of flash stuff, Firefox always went wrong on the object's depth properties On 12 May 2013, at 09:52, "Smith, John" wrote: So the plot thickens... As you know I couldn't reproduce this on Friday and it seems that it was because of what I was doing... When the editor window was opening I was MOVING the window so that I could see the workspace too and it seems that this change of focus from the Flash to the actual window was in some way doing something to the problem but this morning I was able to reproduce the problem this morning though because I wasn't doing anything to the window after clicking preview... Please watch this screencast ( http://screencast.com/t/38tpOLopLs ) and you'll see the button not working in exactly the same way that you all described but then simply resizing the window slightly makes it work again... now it's not a focus issue because simply clicking on the window border or the window header which would change focus away from the Flash wizard doesn't fix it... but resizing does. But only until you preview again and then you need to resize again... I have no idea why this is happening but will continue to have a play around with various things to see if I can come up with a fix... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 11 May 2013 12:01 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: Where url is 'preview.php&template_id=4' getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); What I did: 1. I changed the code to do exactly the same but in a different way: - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); - Supply javascript function in edit.php that does: function openPreview(url, height, width) { NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); NewWindow.focus(); } This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. 2. So, different approach, without using javascript: - From flash call: getURL(url, "_blank") This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. BUT it does work! Is that a viable solution? For firefox only? Tom Op 10-5-2013 16:01, Julian Tenney schreef: Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. Took out all but the void(0) and still failing. Have stripped down the function to this. I don?t think it is our code. Going for beer. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 14:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I'd be cautious of saying it is preview - perhaps it is the file button? try not setting focus? that seems a possible route? Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > Cc: Sent: Fri, 10 May 2013 14:54:16 +0100 Subject: [Xerte-dev] Re: wizard files and modules It boils down to this: function preview(){ if(_root.apache!="false"){ url = "preview_" + _root.template_id; }else{ url = "preview.php?template_id=" + _root.template_id; } saveFile(); ExternalInterface.call("hideunload"); getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); } From: Tenney Julian Sent: 10 May 2013 14:51 To: 'For Xerte technical developers' Subject: RE: [Xerte-dev] Re: wizard files and modules Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) Probably next week though, I have to go soon, function preview(){ if (xerte){ if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified saveFile(); } else {//play it in Xerte //if shift is down, jump straight to this page if (Key.isDown(Key.SHIFT)){ if (tree.selectedNode.attributes.linkID == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); } //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); } saveFile(); this.mode = 'preview'; //show the preview form mdm.form_show("preview"); mdm.form_restore("preview"); //fire up the piece mdm.form_callfunction("preview", "setMode", mode, "|"); mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); } } else { //this is toolkits - play or post? if (wizard.nfoObject.wizard.runtime != undefined){ //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ if(_root.apache!="false"){ url = "preview_" + _root.template_id; }else{ url = "preview.php?template_id=" + _root.template_id; } saveFile(); ExternalInterface.call("hideunload"); getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); } else { saveFile(); wizard.createEmptyMovieClip('getURLHelper', 9999); wizard.getURLHelper.data = KOData.format(); wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); } } else { if (Key.isDown(Key.CONTROL)){ //play the html5 version if(_root.apache!="false"){ url = "preview_" + _root.template_id + "&engine=other"; }else{ url = "preview.php?template_id=" + _root.template_id + "&engine=other"; } } else { if(_root.apache!="false"){ url = "preview_" + _root.template_id; }else{ url = "preview.php?template_id=" + _root.template_id; } } //if shift is down, jump straight to this page if (Key.isDown(Key.SHIFT)){ if (tree.selectedNode.attributes.linkID == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); } if(_root.apache!="false"){ url += '_' + tree.selectedNode.attributes.linkID; }else{ url += '&linkID=' + tree.selectedNode.attributes.linkID; } } saveFile(); ExternalInterface.call("hideunload"); getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); } } } From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 14:38 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows 7 Firefox 20.1.0 Preview button doesn't work for anything once you've previewed Flash Player 11.7 Fine in Chrome No Joy in FF have commented out all of the JS So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? I'd put some fscommand("console.log") into the wizard. Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 14:00:36 +0100 Subject: [Xerte-dev] Re: wizard files and modules More specifically 64bit Windows 7 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Difference is Windows 7 ? everything else the same and I see the problem in both. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross Sent: 10 May 2013 13:57 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Windows XP Firefox 20.0.1 Flash 11.7.700.169 Can?t recreate problem in XOT or Bootstrap, XAMPP or Nottingham install From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottinghamac.uk] On Behalf Of Julian Tenney Sent: 10 May 2013 13:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules It?s like doing the Guardian crossword? It would be good if everyone can test with the latest firefox and report back Create a project in Xerte Online Toolkit and Bootstrap Add a media thing, upload some, press play button in bottom right, close play window, upload media again Fails in Bootstrap? Fails in Xerte Online Toolkit? Flash player version? If you don?t close the preview window it continues to work OK. From: xerte-dev-bounces at lists.nottingham.acuk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. Op 10-5-2013 14:33, Julian Tenney schreef: Probably before I realised that we had the same files in lots of different places From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php You might not built the structures, but you set the path Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 13:11:19 +0100 Subject: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the editphp from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.acuk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From reijnders at tor.nl Sun May 12 11:27:14 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Sun, 12 May 2013 12:27:14 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51A493B9@EXCHANGE1.ad.nottingham.ac.uk> <5dda1809d0bac7006a08fea584bdecde30427bd0@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A493CE@EXCHANGE1.ad.nottingham.ac.uk> <518E2526.3060801@tor.nl> , , <518F6664.1020407@tor.nl> Message-ID: <518F6E82.3080107@tor.nl> I don't know. I thought it is needed to display swf's inside the content. Fay should know the definitive answer to that. But that doesn't help when the preview is flash... Tom Op 12-5-2013 12:04, Smith, John schreef: > Ok i've partly solved it... > > Is this line needed in preview.php? > > > > Taking it out solves the issue for me... > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] > Sent: 12 May 2013 10:52 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > Confirmed... ( I liked Zen of Blakes 7...:-) ) > > Op 12-5-2013 11:41, Smith, John schreef: > > so now if you replace preview.php with the attached file which does nothing but is valid XHTML then I don't see the problem any more so it must be the preview page... there are a lot of XHTML Transitional errors in edit.php and a couple on preview but i've fixed these now and still not working... > > Can either of you confirm that using this preview.php file remeve the issue from the editor? > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] > Sent: 12 May 2013 10:25 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > Has this mostly happened post the upload successful button was added? > > I think the button click event isn't firing properly in flash? > > When I last did a lot of flash stuff, Firefox always went wrong on the object's depth properties > > On 12 May 2013, at 09:52, "Smith, John" wrote: > > > > So the plot thickens... As you know I couldn't reproduce this on Friday and it seems that it was because of what I was doing... > > When the editor window was opening I was MOVING the window so that I could see the workspace too and it seems that this change of focus from the Flash to the actual window was in some way doing something to the problem but this morning I was able to reproduce the problem this morning though because I wasn't doing anything to the window after clicking preview... > > Please watch this screencast ( http://screencast.com/t/38tpOLopLs ) and you'll see the button not working in exactly the same way that you all described but then simply resizing the window slightly makes it work again... now it's not a focus issue because simply clicking on the window border or the window header which would change focus away from the Flash wizard doesn't fix it... but resizing does. But only until you preview again and then you need to resize again... > > I have no idea why this is happening but will continue to have a play around with various things to see if I can come up with a fix... > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] > Sent: 11 May 2013 12:01 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: > > Where url is 'preview.php&template_id=4' > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); > > What I did: > 1. I changed the code to do exactly the same but in a different way: > > - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); > - Supply javascript function in edit.php that does: > > function openPreview(url, height, width) > { > NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); > NewWindow.focus(); > } > > This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. > > 2. So, different approach, without using javascript: > > - From flash call: getURL(url, "_blank") > > This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. > > BUT it does work! > > Is that a viable solution? For firefox only? > > Tom > > Op 10-5-2013 16:01, Julian Tenney schreef: > Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. > > Took out all but the void(0) and still failing. Have stripped down the function to this. > > I don?t think it is our code. Going for beer. > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 10 May 2013 14:58 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > I'd be cautious of saying it is preview - perhaps it is the file button? > > try not setting focus? that seems a possible route? > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > > To: > "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > > Cc: > > Sent: > Fri, 10 May 2013 14:54:16 +0100 > Subject: > [Xerte-dev] Re: wizard files and modules > > It boils down to this: > > > function preview(){ > > > > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + _root.template_id; > > } > > > > > saveFile(); > > ExternalInterface.call("hideunload"); > > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); > > > > > > } > > > From: Tenney Julian > Sent: 10 May 2013 14:51 > To: 'For Xerte technical developers' > Subject: RE: [Xerte-dev] Re: wizard files and modules > > > Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) > Probably next week though, I have to go soon, > > > function preview(){ > > > if (xerte){ > > if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified > > saveFile(); > > } else {//play it in Xerte > > //if shift is down, jump straight to this page > if (Key.isDown(Key.SHIFT)){ > if (tree.selectedNode.attributes.linkID == undefined){ > tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); > } > //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) > mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); > } > saveFile(); > > this.mode = 'preview'; > > > //show the preview form > mdm.form_show("preview"); > mdm.form_restore("preview"); > > //fire up the piece > mdm.form_callfunction("preview", "setMode", mode, "|"); > mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); > } > > > } else { //this is toolkits - play or post? > > if (wizard.nfoObject.wizard.runtime != undefined){ > > //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc > if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + _root.template_id; > > } > > saveFile(); > > ExternalInterface.call("hideunload"); > > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); > > } else { > > saveFile(); > > wizard.createEmptyMovieClip('getURLHelper', 9999); > wizard.getURLHelper.data = KOData.format(); > wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); > > } > > } else { > > if (Key.isDown(Key.CONTROL)){ //play the html5 version > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id + "&engine=other"; > > }else{ > > url = "preview.php?template_id=" + _root.template_id + "&engine=other"; > > } > > } else { > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + _root.template_id; > > } > } > > > //if shift is down, jump straight to this page > if (Key.isDown(Key.SHIFT)){ > if (tree.selectedNode.attributes.linkID == undefined){ > tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); > } > > if(_root.apache!="false"){ > > url += '_' + tree.selectedNode.attributes.linkID; > > }else{ > > url += '&linkID=' + tree.selectedNode.attributes.linkID; > > } > } > saveFile(); > > ExternalInterface.call("hideunload"); > > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); > > } > } > } > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 10 May 2013 14:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Windows 7 > Firefox 20.1.0 > Preview button doesn't work for anything once you've previewed > Flash Player 11.7 > > Fine in Chrome > No Joy in FF > > have commented out all of the JS > > So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? > > I'd put some fscommand("console.log") into the wizard. > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > > > To: > "For Xerte technical developers" > > Cc: > > > Sent: > Fri, 10 May 2013 14:00:36 +0100 > Subject: > [Xerte-dev] Re: wizard files and modules > More specifically 64bit Windows 7 > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 10 May 2013 13:58 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Difference is Windows 7 ? everything else the same and I see the problem in both. > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross > Sent: 10 May 2013 13:57 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Windows XP > Firefox 20.0.1 > Flash 11.7.700.169 > > > Can?t recreate problem in XOT or Bootstrap, XAMPP or Nottingham install > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottinghamac.uk] On Behalf Of Julian Tenney > Sent: 10 May 2013 13:52 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > It?s like doing the Guardian crossword? > > > It would be good if everyone can test with the latest firefox and report back > > > Create a project in Xerte Online Toolkit and Bootstrap > Add a media thing, upload some, press play button in bottom right, close play window, upload media again > Fails in Bootstrap? > Fails in Xerte Online Toolkit? > Flash player version? > > > If you don?t close the preview window it continues to work OK. > > > > > From: xerte-dev-bounces at lists.nottingham.acuk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 10 May 2013 13:40 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. > Op 10-5-2013 14:33, Julian Tenney schreef: > Probably before I realised that we had the same files in lots of different places > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 10 May 2013 13:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php > > You might not built the structures, but you set the path > > > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > > To: > "For Xerte technical developers" > > Cc: > > Sent: > Fri, 10 May 2013 13:11:19 +0100 > Subject: > [Xerte-dev] Re: wizard files and modules > Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 10 May 2013 13:09 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... > As far as I can tell you copied the editphp from site over to xerte. > Op 10-5-2013 14:03, Julian Tenney schreef: > OK, now I am really confused. > > When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. > > Any more cryptic pathing issues set up just for fun? > > Sheesh. > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.acuk/mailman/listinfo/xerte-dev > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > > > This message has been checked for viruses but the contents of an attachment > > may still contain software viruses which could damage your computer system: > > you are advised to perform your own checks. Email communications with the > > University of Nottingham may be monitored as permitted by UK legislation. > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From xerte at pgogywebstuff.com Sun May 12 11:39:59 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Sun, 12 May 2013 11:39:59 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <518F6E82.3080107@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C51A493B9@EXCHANGE1.ad.nottingham.ac.uk> <5dda1809d0bac7006a08fea584bdecde30427bd0@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A493CE@EXCHANGE1.ad.nottingham.ac.uk> <518E2526.3060801@tor.nl> <518F6664.1020407@tor.nl> <518F6E82.3080107@tor.nl> Message-ID: <591C7665-6FA1-4130-8CCF-BB7430926730@pgogywebstuff.com> Does that script not load? Or cause an error? On 12 May 2013, at 11:27, Tom Reijnders wrote: > I don't know. I thought it is needed to display swf's inside the content. > Fay should know the definitive answer to that. > > But that doesn't help when the preview is flash... > > Tom > > Op 12-5-2013 12:04, Smith, John schreef: >> Ok i've partly solved it... >> >> Is this line needed in preview.php? >> >> >> >> Taking it out solves the issue for me... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >> Sent: 12 May 2013 10:52 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Confirmed... ( I liked Zen of Blakes 7...:-) ) >> >> Op 12-5-2013 11:41, Smith, John schreef: >> >> so now if you replace preview.php with the attached file which does nothing but is valid XHTML then I don't see the problem any more so it must be the preview page... there are a lot of XHTML Transitional errors in edit.php and a couple on preview but i've fixed these now and still not working... >> >> Can either of you confirm that using this preview.php file remeve the issue from the editor? >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >> Sent: 12 May 2013 10:25 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Has this mostly happened post the upload successful button was added? >> >> I think the button click event isn't firing properly in flash? >> >> When I last did a lot of flash stuff, Firefox always went wrong on the object's depth properties >> >> On 12 May 2013, at 09:52, "Smith, John" wrote: >> >> >> >> So the plot thickens... As you know I couldn't reproduce this on Friday and it seems that it was because of what I was doing... >> >> When the editor window was opening I was MOVING the window so that I could see the workspace too and it seems that this change of focus from the Flash to the actual window was in some way doing something to the problem but this morning I was able to reproduce the problem this morning though because I wasn't doing anything to the window after clicking preview... >> >> Please watch this screencast ( http://screencast.com/t/38tpOLopLs ) and you'll see the button not working in exactly the same way that you all described but then simply resizing the window slightly makes it work again... now it's not a focus issue because simply clicking on the window border or the window header which would change focus away from the Flash wizard doesn't fix it... but resizing does. But only until you preview again and then you need to resize again... >> >> I have no idea why this is happening but will continue to have a play around with various things to see if I can come up with a fix... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >> Sent: 11 May 2013 12:01 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: >> >> Where url is 'preview.php&template_id=4' >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >> >> What I did: >> 1. I changed the code to do exactly the same but in a different way: >> >> - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); >> - Supply javascript function in edit.php that does: >> >> function openPreview(url, height, width) >> { >> NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); >> NewWindow.focus(); >> } >> >> This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. >> >> 2. So, different approach, without using javascript: >> >> - From flash call: getURL(url, "_blank") >> >> This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. >> >> BUT it does work! >> >> Is that a viable solution? For firefox only? >> >> Tom >> >> Op 10-5-2013 16:01, Julian Tenney schreef: >> Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. >> >> Took out all but the void(0) and still failing. Have stripped down the function to this. >> >> I don?t think it is our code. Going for beer. >> >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >> Sent: 10 May 2013 14:58 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> I'd be cautious of saying it is preview - perhaps it is the file button? >> >> try not setting focus? that seems a possible route? >> >> Pgogy Webstuff http://www.pgogywebstuff.com >> Makers of Web things of a fair to middling quality >> >> >> ----- Original Message ----- >> From: >> "For Xerte technical developers" > >> >> To: >> "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > >> Cc: >> >> Sent: >> Fri, 10 May 2013 14:54:16 +0100 >> Subject: >> [Xerte-dev] Re: wizard files and modules >> >> It boils down to this: >> >> >> function preview(){ >> >> >> >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id; >> >> } >> >> >> >> >> saveFile(); >> >> ExternalInterface.call("hideunload"); >> >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >> >> >> >> >> >> } >> >> >> From: Tenney Julian >> Sent: 10 May 2013 14:51 >> To: 'For Xerte technical developers' >> Subject: RE: [Xerte-dev] Re: wizard files and modules >> >> >> Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) >> Probably next week though, I have to go soon, >> >> >> function preview(){ >> >> >> if (xerte){ >> >> if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified >> >> saveFile(); >> >> } else {//play it in Xerte >> >> //if shift is down, jump straight to this page >> if (Key.isDown(Key.SHIFT)){ >> if (tree.selectedNode.attributes.linkID == undefined){ >> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >> } >> //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) >> mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); >> } >> saveFile(); >> >> this.mode = 'preview'; >> >> >> //show the preview form >> mdm.form_show("preview"); >> mdm.form_restore("preview"); >> >> //fire up the piece >> mdm.form_callfunction("preview", "setMode", mode, "|"); >> mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); >> } >> >> >> } else { //this is toolkits - play or post? >> >> if (wizard.nfoObject.wizard.runtime != undefined){ >> >> //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc >> if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id; >> >> } >> >> saveFile(); >> >> ExternalInterface.call("hideunload"); >> >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); >> >> } else { >> >> saveFile(); >> >> wizard.createEmptyMovieClip('getURLHelper', 9999); >> wizard.getURLHelper.data = KOData.format(); >> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); >> >> } >> >> } else { >> >> if (Key.isDown(Key.CONTROL)){ //play the html5 version >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id + "&engine=other"; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id + "&engine=other"; >> >> } >> >> } else { >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id; >> >> } >> } >> >> >> //if shift is down, jump straight to this page >> if (Key.isDown(Key.SHIFT)){ >> if (tree.selectedNode.attributes.linkID == undefined){ >> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >> } >> >> if(_root.apache!="false"){ >> >> url += '_' + tree.selectedNode.attributes.linkID; >> >> }else{ >> >> url += '&linkID=' + tree.selectedNode.attributes.linkID; >> >> } >> } >> saveFile(); >> >> ExternalInterface.call("hideunload"); >> >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >> >> } >> } >> } >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >> Sent: 10 May 2013 14:38 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> Windows 7 >> Firefox 20.1.0 >> Preview button doesn't work for anything once you've previewed >> Flash Player 11.7 >> >> Fine in Chrome >> No Joy in FF >> >> have commented out all of the JS >> >> So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? >> >> I'd put some fscommand("console.log") into the wizard. >> >> Pgogy Webstuff http://www.pgogywebstuff.com >> Makers of Web things of a fair to middling quality >> >> >> >> ----- Original Message ----- >> From: >> "For Xerte technical developers" > >> >> >> To: >> "For Xerte technical developers" > >> Cc: >> >> >> Sent: >> Fri, 10 May 2013 14:00:36 +0100 >> Subject: >> [Xerte-dev] Re: wizard files and modules >> More specifically 64bit Windows 7 >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >> Sent: 10 May 2013 13:58 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> Difference is Windows 7 ? everything else the same and I see the problem in both. >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross >> Sent: 10 May 2013 13:57 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> Windows XP >> Firefox 20.0.1 >> Flash 11.7.700.169 >> >> >> Can?t recreate problem in XOT or Bootstrap, XAMPP or Nottingham install >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottinghamac.uk] On Behalf Of Julian Tenney >> Sent: 10 May 2013 13:52 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> It?s like doing the Guardian crossword? >> >> >> It would be good if everyone can test with the latest firefox and report back >> >> >> Create a project in Xerte Online Toolkit and Bootstrap >> Add a media thing, upload some, press play button in bottom right, close play window, upload media again >> Fails in Bootstrap? >> Fails in Xerte Online Toolkit? >> Flash player version? >> >> >> If you don?t close the preview window it continues to work OK. >> >> >> >> >> From: xerte-dev-bounces at lists.nottingham.acuk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders >> Sent: 10 May 2013 13:40 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. >> Op 10-5-2013 14:33, Julian Tenney schreef: >> Probably before I realised that we had the same files in lots of different places >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >> Sent: 10 May 2013 13:28 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php >> >> You might not built the structures, but you set the path >> >> >> >> Pgogy Webstuff http://www.pgogywebstuff.com >> Makers of Web things of a fair to middling quality >> >> >> ----- Original Message ----- >> From: >> "For Xerte technical developers" > >> >> To: >> "For Xerte technical developers" > >> Cc: >> >> Sent: >> Fri, 10 May 2013 13:11:19 +0100 >> Subject: >> [Xerte-dev] Re: wizard files and modules >> Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders >> Sent: 10 May 2013 13:09 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... >> As far as I can tell you copied the editphp from site over to xerte. >> Op 10-5-2013 14:03, Julian Tenney schreef: >> OK, now I am really confused. >> >> When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. >> >> Any more cryptic pathing issues set up just for fun? >> >> Sheesh. >> >> >> >> _______________________________________________ >> >> Xerte-dev mailing list >> >> Xerte-dev at lists.nottingham.ac.uk >> >> http://lists.nottingham.acuk/mailman/listinfo/xerte-dev >> >> >> -- >> >> -- >> >> >> >> Tom Reijnders >> >> TOR Informatica >> >> Chopinlaan 27 >> >> 5242HM Rosmalen >> >> Tel: 073 5226191 >> >> Fax: 073 5226196 >> >> >> >> >> >> >> >> _______________________________________________ >> >> Xerte-dev mailing list >> >> Xerte-dev at lists.nottingham.ac.uk >> >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> -- >> >> -- >> >> >> >> Tom Reijnders >> >> TOR Informatica >> >> Chopinlaan 27 >> >> 5242HM Rosmalen >> >> Tel: 073 5226191 >> >> Fax: 073 5226196 >> >> >> >> >> >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an attachment >> may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with the >> University of Nottingham may be monitored as permitted by UK legislation. >> >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> >> >> This message has been checked for viruses but the contents of an attachment >> >> may still contain software viruses which could damage your computer system: >> >> you are advised to perform your own checks. Email communications with the >> >> University of Nottingham may be monitored as permitted by UK legislation. >> >> >> >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an attachment >> may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with the >> University of Nottingham may be monitored as permitted by UK legislation. > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. From J.J.Smith at gcu.ac.uk Sun May 12 11:44:16 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Sun, 12 May 2013 11:44:16 +0100 Subject: [Xerte-dev] Re: wizard files and modules Message-ID: <0mexc8lc8er7uoqbtan6exn0.1368355452164@email.android.com> Hmm... It must load as there are no errors but does taking that out fix it for you too? I've changed other things too so not 100% sure... If so then the answer must lie in something that script overwrite or changes. Will dig around further... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" wrote: Does that script not load? Or cause an error? On 12 May 2013, at 11:27, Tom Reijnders wrote: > I don't know. I thought it is needed to display swf's inside the content. > Fay should know the definitive answer to that. > > But that doesn't help when the preview is flash... > > Tom > > Op 12-5-2013 12:04, Smith, John schreef: >> Ok i've partly solved it... >> >> Is this line needed in preview.php? >> >> >> >> Taking it out solves the issue for me... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >> Sent: 12 May 2013 10:52 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Confirmed... ( I liked Zen of Blakes 7...:-) ) >> >> Op 12-5-2013 11:41, Smith, John schreef: >> >> so now if you replace preview.php with the attached file which does nothing but is valid XHTML then I don't see the problem any more so it must be the preview page... there are a lot of XHTML Transitional errors in edit.php and a couple on preview but i've fixed these now and still not working... >> >> Can either of you confirm that using this preview.php file remeve the issue from the editor? >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >> Sent: 12 May 2013 10:25 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Has this mostly happened post the upload successful button was added? >> >> I think the button click event isn't firing properly in flash? >> >> When I last did a lot of flash stuff, Firefox always went wrong on the object's depth properties >> >> On 12 May 2013, at 09:52, "Smith, John" wrote: >> >> >> >> So the plot thickens... As you know I couldn't reproduce this on Friday and it seems that it was because of what I was doing... >> >> When the editor window was opening I was MOVING the window so that I could see the workspace too and it seems that this change of focus from the Flash to the actual window was in some way doing something to the problem but this morning I was able to reproduce the problem this morning though because I wasn't doing anything to the window after clicking preview... >> >> Please watch this screencast ( http://screencast.com/t/38tpOLopLs ) and you'll see the button not working in exactly the same way that you all described but then simply resizing the window slightly makes it work again... now it's not a focus issue because simply clicking on the window border or the window header which would change focus away from the Flash wizard doesn't fix it... but resizing does. But only until you preview again and then you need to resize again... >> >> I have no idea why this is happening but will continue to have a play around with various things to see if I can come up with a fix... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >> Sent: 11 May 2013 12:01 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: >> >> Where url is 'preview.php&template_id=4' >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >> >> What I did: >> 1. I changed the code to do exactly the same but in a different way: >> >> - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); >> - Supply javascript function in edit.php that does: >> >> function openPreview(url, height, width) >> { >> NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); >> NewWindow.focus(); >> } >> >> This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. >> >> 2. So, different approach, without using javascript: >> >> - From flash call: getURL(url, "_blank") >> >> This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. >> >> BUT it does work! >> >> Is that a viable solution? For firefox only? >> >> Tom >> >> Op 10-5-2013 16:01, Julian Tenney schreef: >> Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. >> >> Took out all but the void(0) and still failing. Have stripped down the function to this. >> >> I don?t think it is our code. Going for beer. >> >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >> Sent: 10 May 2013 14:58 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> I'd be cautious of saying it is preview - perhaps it is the file button? >> >> try not setting focus? that seems a possible route? >> >> Pgogy Webstuff http://www.pgogywebstuff.com >> Makers of Web things of a fair to middling quality >> >> >> ----- Original Message ----- >> From: >> "For Xerte technical developers" > >> >> To: >> "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > >> Cc: >> >> Sent: >> Fri, 10 May 2013 14:54:16 +0100 >> Subject: >> [Xerte-dev] Re: wizard files and modules >> >> It boils down to this: >> >> >> function preview(){ >> >> >> >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id; >> >> } >> >> >> >> >> saveFile(); >> >> ExternalInterface.call("hideunload"); >> >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >> >> >> >> >> >> } >> >> >> From: Tenney Julian >> Sent: 10 May 2013 14:51 >> To: 'For Xerte technical developers' >> Subject: RE: [Xerte-dev] Re: wizard files and modules >> >> >> Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) >> Probably next week though, I have to go soon, >> >> >> function preview(){ >> >> >> if (xerte){ >> >> if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified >> >> saveFile(); >> >> } else {//play it in Xerte >> >> //if shift is down, jump straight to this page >> if (Key.isDown(Key.SHIFT)){ >> if (tree.selectedNode.attributes.linkID == undefined){ >> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >> } >> //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) >> mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); >> } >> saveFile(); >> >> this.mode = 'preview'; >> >> >> //show the preview form >> mdm.form_show("preview"); >> mdm.form_restore("preview"); >> >> //fire up the piece >> mdm.form_callfunction("preview", "setMode", mode, "|"); >> mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); >> } >> >> >> } else { //this is toolkits - play or post? >> >> if (wizard.nfoObject.wizard.runtime != undefined){ >> >> //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc >> if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id; >> >> } >> >> saveFile(); >> >> ExternalInterface.call("hideunload"); >> >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); >> >> } else { >> >> saveFile(); >> >> wizard.createEmptyMovieClip('getURLHelper', 9999); >> wizard.getURLHelper.data = KOData.format(); >> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); >> >> } >> >> } else { >> >> if (Key.isDown(Key.CONTROL)){ //play the html5 version >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id + "&engine=other"; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id + "&engine=other"; >> >> } >> >> } else { >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id; >> >> } >> } >> >> >> //if shift is down, jump straight to this page >> if (Key.isDown(Key.SHIFT)){ >> if (tree.selectedNode.attributes.linkID == undefined){ >> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >> } >> >> if(_root.apache!="false"){ >> >> url += '_' + tree.selectedNode.attributes.linkID; >> >> }else{ >> >> url += '&linkID=' + tree.selectedNode.attributes.linkID; >> >> } >> } >> saveFile(); >> >> ExternalInterface.call("hideunload"); >> >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >> >> } >> } >> } >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >> Sent: 10 May 2013 14:38 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> Windows 7 >> Firefox 20.1.0 >> Preview button doesn't work for anything once you've previewed >> Flash Player 11.7 >> >> Fine in Chrome >> No Joy in FF >> >> have commented out all of the JS >> >> So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? >> >> I'd put some fscommand("console.log") into the wizard. >> >> Pgogy Webstuff http://www.pgogywebstuff.com >> Makers of Web things of a fair to middling quality >> >> >> >> ----- Original Message ----- >> From: >> "For Xerte technical developers" > >> >> >> To: >> "For Xerte technical developers" > >> Cc: >> >> >> Sent: >> Fri, 10 May 2013 14:00:36 +0100 >> Subject: >> [Xerte-dev] Re: wizard files and modules >> More specifically 64bit Windows 7 >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >> Sent: 10 May 2013 13:58 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> Difference is Windows 7 ? everything else the same and I see the problem in both. >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross >> Sent: 10 May 2013 13:57 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> Windows XP >> Firefox 20.0.1 >> Flash 11.7.700.169 >> >> >> Can?t recreate problem in XOT or Bootstrap, XAMPP or Nottingham install >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottinghamac.uk] On Behalf Of Julian Tenney >> Sent: 10 May 2013 13:52 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> It?s like doing the Guardian crossword? >> >> >> It would be good if everyone can test with the latest firefox and report back >> >> >> Create a project in Xerte Online Toolkit and Bootstrap >> Add a media thing, upload some, press play button in bottom right, close play window, upload media again >> Fails in Bootstrap? >> Fails in Xerte Online Toolkit? >> Flash player version? >> >> >> If you don?t close the preview window it continues to work OK. >> >> >> >> >> From: xerte-dev-bounces at lists.nottingham.acuk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders >> Sent: 10 May 2013 13:40 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. >> Op 10-5-2013 14:33, Julian Tenney schreef: >> Probably before I realised that we had the same files in lots of different places >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >> Sent: 10 May 2013 13:28 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php >> >> You might not built the structures, but you set the path >> >> >> >> Pgogy Webstuff http://www.pgogywebstuff.com >> Makers of Web things of a fair to middling quality >> >> >> ----- Original Message ----- >> From: >> "For Xerte technical developers" > >> >> To: >> "For Xerte technical developers" > >> Cc: >> >> Sent: >> Fri, 10 May 2013 13:11:19 +0100 >> Subject: >> [Xerte-dev] Re: wizard files and modules >> Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders >> Sent: 10 May 2013 13:09 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... >> As far as I can tell you copied the editphp from site over to xerte. >> Op 10-5-2013 14:03, Julian Tenney schreef: >> OK, now I am really confused. >> >> When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. >> >> Any more cryptic pathing issues set up just for fun? >> >> Sheesh. >> >> >> >> _______________________________________________ >> >> Xerte-dev mailing list >> >> Xerte-dev at lists.nottingham.ac.uk >> >> http://lists.nottingham.acuk/mailman/listinfo/xerte-dev >> >> >> -- >> >> -- >> >> >> >> Tom Reijnders >> >> TOR Informatica >> >> Chopinlaan 27 >> >> 5242HM Rosmalen >> >> Tel: 073 5226191 >> >> Fax: 073 5226196 >> >> >> >> >> >> >> >> _______________________________________________ >> >> Xerte-dev mailing list >> >> Xerte-dev at lists.nottingham.ac.uk >> >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> -- >> >> -- >> >> >> >> Tom Reijnders >> >> TOR Informatica >> >> Chopinlaan 27 >> >> 5242HM Rosmalen >> >> Tel: 073 5226191 >> >> Fax: 073 5226196 >> >> >> >> >> >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an attachment >> may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with the >> University of Nottingham may be monitored as permitted by UK legislation. >> >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> >> >> This message has been checked for viruses but the contents of an attachment >> >> may still contain software viruses which could damage your computer system: >> >> you are advised to perform your own checks. Email communications with the >> >> University of Nottingham may be monitored as permitted by UK legislation. >> >> >> >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> >> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> >> >> >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an attachment >> may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with the >> University of Nottingham may be monitored as permitted by UK legislation. > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From J.J.Smith at gcu.ac.uk Sun May 12 12:15:05 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Sun, 12 May 2013 12:15:05 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <518F6E82.3080107@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C51A493B9@EXCHANGE1.ad.nottingham.ac.uk> <5dda1809d0bac7006a08fea584bdecde30427bd0@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A493CE@EXCHANGE1.ad.nottingham.ac.uk> <518E2526.3060801@tor.nl> , , <518F6664.1020407@tor.nl> , <518F6E82.3080107@tor.nl> Message-ID: I think we're running into a few version/library problems which is causing it... So Fay's code is using v2.2 of SWFObject but the editor is using v1.5 Also, the flash preview isn't using either, it appears to be using rloObject.js to create the Flash... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 12 May 2013 11:27 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I don't know. I thought it is needed to display swf's inside the content. Fay should know the definitive answer to that. But that doesn't help when the preview is flash... Tom Op 12-5-2013 12:04, Smith, John schreef: > Ok i've partly solved it... > > Is this line needed in preview.php? > > > > Taking it out solves the issue for me... > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] > Sent: 12 May 2013 10:52 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > Confirmed... ( I liked Zen of Blakes 7...:-) ) > > Op 12-5-2013 11:41, Smith, John schreef: > > so now if you replace preview.php with the attached file which does nothing but is valid XHTML then I don't see the problem any more so it must be the preview page... there are a lot of XHTML Transitional errors in edit.php and a couple on preview but i've fixed these now and still not working... > > Can either of you confirm that using this preview.php file remeve the issue from the editor? > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] > Sent: 12 May 2013 10:25 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > Has this mostly happened post the upload successful button was added? > > I think the button click event isn't firing properly in flash? > > When I last did a lot of flash stuff, Firefox always went wrong on the object's depth properties > > On 12 May 2013, at 09:52, "Smith, John" wrote: > > > > So the plot thickens... As you know I couldn't reproduce this on Friday and it seems that it was because of what I was doing... > > When the editor window was opening I was MOVING the window so that I could see the workspace too and it seems that this change of focus from the Flash to the actual window was in some way doing something to the problem but this morning I was able to reproduce the problem this morning though because I wasn't doing anything to the window after clicking preview... > > Please watch this screencast ( http://screencast.com/t/38tpOLopLs ) and you'll see the button not working in exactly the same way that you all described but then simply resizing the window slightly makes it work again... now it's not a focus issue because simply clicking on the window border or the window header which would change focus away from the Flash wizard doesn't fix it... but resizing does. But only until you preview again and then you need to resize again... > > I have no idea why this is happening but will continue to have a play around with various things to see if I can come up with a fix... > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] > Sent: 11 May 2013 12:01 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: > > Where url is 'preview.php&template_id=4' > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); > > What I did: > 1. I changed the code to do exactly the same but in a different way: > > - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); > - Supply javascript function in edit.php that does: > > function openPreview(url, height, width) > { > NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); > NewWindow.focus(); > } > > This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. > > 2. So, different approach, without using javascript: > > - From flash call: getURL(url, "_blank") > > This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. > > BUT it does work! > > Is that a viable solution? For firefox only? > > Tom > > Op 10-5-2013 16:01, Julian Tenney schreef: > Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. > > Took out all but the void(0) and still failing. Have stripped down the function to this. > > I don?t think it is our code. Going for beer. > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 10 May 2013 14:58 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > I'd be cautious of saying it is preview - perhaps it is the file button? > > try not setting focus? that seems a possible route? > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > > To: > "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > > Cc: > > Sent: > Fri, 10 May 2013 14:54:16 +0100 > Subject: > [Xerte-dev] Re: wizard files and modules > > It boils down to this: > > > function preview(){ > > > > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + _root.template_id; > > } > > > > > saveFile(); > > ExternalInterface.call("hideunload"); > > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); > > > > > > } > > > From: Tenney Julian > Sent: 10 May 2013 14:51 > To: 'For Xerte technical developers' > Subject: RE: [Xerte-dev] Re: wizard files and modules > > > Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) > Probably next week though, I have to go soon, > > > function preview(){ > > > if (xerte){ > > if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified > > saveFile(); > > } else {//play it in Xerte > > //if shift is down, jump straight to this page > if (Key.isDown(Key.SHIFT)){ > if (tree.selectedNode.attributes.linkID == undefined){ > tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); > } > //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) > mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); > } > saveFile(); > > this.mode = 'preview'; > > > //show the preview form > mdm.form_show("preview"); > mdm.form_restore("preview"); > > //fire up the piece > mdm.form_callfunction("preview", "setMode", mode, "|"); > mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); > } > > > } else { //this is toolkits - play or post? > > if (wizard.nfoObject.wizard.runtime != undefined){ > > //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc > if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + _root.template_id; > > } > > saveFile(); > > ExternalInterface.call("hideunload"); > > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); > > } else { > > saveFile(); > > wizard.createEmptyMovieClip('getURLHelper', 9999); > wizard.getURLHelper.data = KOData.format(); > wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); > > } > > } else { > > if (Key.isDown(Key.CONTROL)){ //play the html5 version > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id + "&engine=other"; > > }else{ > > url = "preview.php?template_id=" + _root.template_id + "&engine=other"; > > } > > } else { > > if(_root.apache!="false"){ > > url = "preview_" + _root.template_id; > > }else{ > > url = "preview.php?template_id=" + _root.template_id; > > } > } > > > //if shift is down, jump straight to this page > if (Key.isDown(Key.SHIFT)){ > if (tree.selectedNode.attributes.linkID == undefined){ > tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); > } > > if(_root.apache!="false"){ > > url += '_' + tree.selectedNode.attributes.linkID; > > }else{ > > url += '&linkID=' + tree.selectedNode.attributes.linkID; > > } > } > saveFile(); > > ExternalInterface.call("hideunload"); > > > getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); > > } > } > } > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 10 May 2013 14:38 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Windows 7 > Firefox 20.1.0 > Preview button doesn't work for anything once you've previewed > Flash Player 11.7 > > Fine in Chrome > No Joy in FF > > have commented out all of the JS > > So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? > > I'd put some fscommand("console.log") into the wizard. > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > > > To: > "For Xerte technical developers" > > Cc: > > > Sent: > Fri, 10 May 2013 14:00:36 +0100 > Subject: > [Xerte-dev] Re: wizard files and modules > More specifically 64bit Windows 7 > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 10 May 2013 13:58 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Difference is Windows 7 ? everything else the same and I see the problem in both. > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross > Sent: 10 May 2013 13:57 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Windows XP > Firefox 20.0.1 > Flash 11.7.700.169 > > > Can?t recreate problem in XOT or Bootstrap, XAMPP or Nottingham install > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottinghamac.uk] On Behalf Of Julian Tenney > Sent: 10 May 2013 13:52 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > It?s like doing the Guardian crossword? > > > It would be good if everyone can test with the latest firefox and report back > > > Create a project in Xerte Online Toolkit and Bootstrap > Add a media thing, upload some, press play button in bottom right, close play window, upload media again > Fails in Bootstrap? > Fails in Xerte Online Toolkit? > Flash player version? > > > If you don?t close the preview window it continues to work OK. > > > > > From: xerte-dev-bounces at lists.nottingham.acuk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 10 May 2013 13:40 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. > Op 10-5-2013 14:33, Julian Tenney schreef: > Probably before I realised that we had the same files in lots of different places > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com > Sent: 10 May 2013 13:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php > > You might not built the structures, but you set the path > > > > Pgogy Webstuff http://www.pgogywebstuff.com > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > From: > "For Xerte technical developers" > > > To: > "For Xerte technical developers" > > Cc: > > Sent: > Fri, 10 May 2013 13:11:19 +0100 > Subject: > [Xerte-dev] Re: wizard files and modules > Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 10 May 2013 13:09 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > > Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... > As far as I can tell you copied the editphp from site over to xerte. > Op 10-5-2013 14:03, Julian Tenney schreef: > OK, now I am really confused. > > When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. > > Any more cryptic pathing issues set up just for fun? > > Sheesh. > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.acuk/mailman/listinfo/xerte-dev > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > > -- > > > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > > > This message has been checked for viruses but the contents of an attachment > > may still contain software viruses which could damage your computer system: > > you are advised to perform your own checks. Email communications with the > > University of Nottingham may be monitored as permitted by UK legislation. > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From xerte at pgogywebstuff.com Sun May 12 12:31:41 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Sun, 12 May 2013 12:31:41 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51A493B9@EXCHANGE1.ad.nottingham.ac.uk> <5dda1809d0bac7006a08fea584bdecde30427bd0@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A493CE@EXCHANGE1.ad.nottingham.ac.uk> <518E2526.3060801@tor.nl> <518F6664.1020407@tor.nl> <518F6E82.3080107@tor.nl> Message-ID: Do you still need swf object? On 12 May 2013, at 12:15, "Smith, John" wrote: > I think we're running into a few version/library problems which is causing it... > > So Fay's code is using v2.2 of SWFObject but the editor is using v1.5 > > Also, the flash preview isn't using either, it appears to be using rloObject.js to create the Flash... > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] > Sent: 12 May 2013 11:27 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > I don't know. I thought it is needed to display swf's inside the content. > Fay should know the definitive answer to that. > > But that doesn't help when the preview is flash... > > Tom > > Op 12-5-2013 12:04, Smith, John schreef: >> Ok i've partly solved it... >> >> Is this line needed in preview.php? >> >> >> >> Taking it out solves the issue for me... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >> Sent: 12 May 2013 10:52 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Confirmed... ( I liked Zen of Blakes 7...:-) ) >> >> Op 12-5-2013 11:41, Smith, John schreef: >> >> so now if you replace preview.php with the attached file which does nothing but is valid XHTML then I don't see the problem any more so it must be the preview page... there are a lot of XHTML Transitional errors in edit.php and a couple on preview but i've fixed these now and still not working... >> >> Can either of you confirm that using this preview.php file remeve the issue from the editor? >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >> Sent: 12 May 2013 10:25 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Has this mostly happened post the upload successful button was added? >> >> I think the button click event isn't firing properly in flash? >> >> When I last did a lot of flash stuff, Firefox always went wrong on the object's depth properties >> >> On 12 May 2013, at 09:52, "Smith, John" wrote: >> >> >> >> So the plot thickens... As you know I couldn't reproduce this on Friday and it seems that it was because of what I was doing... >> >> When the editor window was opening I was MOVING the window so that I could see the workspace too and it seems that this change of focus from the Flash to the actual window was in some way doing something to the problem but this morning I was able to reproduce the problem this morning though because I wasn't doing anything to the window after clicking preview... >> >> Please watch this screencast ( http://screencast.com/t/38tpOLopLs ) and you'll see the button not working in exactly the same way that you all described but then simply resizing the window slightly makes it work again... now it's not a focus issue because simply clicking on the window border or the window header which would change focus away from the Flash wizard doesn't fix it... but resizing does. But only until you preview again and then you need to resize again... >> >> I have no idea why this is happening but will continue to have a play around with various things to see if I can come up with a fix... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >> Sent: 11 May 2013 12:01 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: >> >> Where url is 'preview.php&template_id=4' >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >> >> What I did: >> 1. I changed the code to do exactly the same but in a different way: >> >> - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); >> - Supply javascript function in edit.php that does: >> >> function openPreview(url, height, width) >> { >> NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); >> NewWindow.focus(); >> } >> >> This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. >> >> 2. So, different approach, without using javascript: >> >> - From flash call: getURL(url, "_blank") >> >> This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. >> >> BUT it does work! >> >> Is that a viable solution? For firefox only? >> >> Tom >> >> Op 10-5-2013 16:01, Julian Tenney schreef: >> Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. >> >> Took out all but the void(0) and still failing. Have stripped down the function to this. >> >> I don?t think it is our code. Going for beer. >> >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >> Sent: 10 May 2013 14:58 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> I'd be cautious of saying it is preview - perhaps it is the file button? >> >> try not setting focus? that seems a possible route? >> >> Pgogy Webstuff http://www.pgogywebstuff.com >> Makers of Web things of a fair to middling quality >> >> >> ----- Original Message ----- >> From: >> "For Xerte technical developers" > >> >> To: >> "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > >> Cc: >> >> Sent: >> Fri, 10 May 2013 14:54:16 +0100 >> Subject: >> [Xerte-dev] Re: wizard files and modules >> >> It boils down to this: >> >> >> function preview(){ >> >> >> >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id; >> >> } >> >> >> >> >> saveFile(); >> >> ExternalInterface.call("hideunload"); >> >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >> >> >> >> >> >> } >> >> >> From: Tenney Julian >> Sent: 10 May 2013 14:51 >> To: 'For Xerte technical developers' >> Subject: RE: [Xerte-dev] Re: wizard files and modules >> >> >> Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) >> Probably next week though, I have to go soon, >> >> >> function preview(){ >> >> >> if (xerte){ >> >> if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified >> >> saveFile(); >> >> } else {//play it in Xerte >> >> //if shift is down, jump straight to this page >> if (Key.isDown(Key.SHIFT)){ >> if (tree.selectedNode.attributes.linkID == undefined){ >> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >> } >> //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) >> mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); >> } >> saveFile(); >> >> this.mode = 'preview'; >> >> >> //show the preview form >> mdm.form_show("preview"); >> mdm.form_restore("preview"); >> >> //fire up the piece >> mdm.form_callfunction("preview", "setMode", mode, "|"); >> mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); >> } >> >> >> } else { //this is toolkits - play or post? >> >> if (wizard.nfoObject.wizard.runtime != undefined){ >> >> //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc >> if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id; >> >> } >> >> saveFile(); >> >> ExternalInterface.call("hideunload"); >> >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); >> >> } else { >> >> saveFile(); >> >> wizard.createEmptyMovieClip('getURLHelper', 9999); >> wizard.getURLHelper.data = KOData.format(); >> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); >> >> } >> >> } else { >> >> if (Key.isDown(Key.CONTROL)){ //play the html5 version >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id + "&engine=other"; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id + "&engine=other"; >> >> } >> >> } else { >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id; >> >> } >> } >> >> >> //if shift is down, jump straight to this page >> if (Key.isDown(Key.SHIFT)){ >> if (tree.selectedNode.attributes.linkID == undefined){ >> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >> } >> >> if(_root.apache!="false"){ >> >> url += '_' + tree.selectedNode.attributes.linkID; >> >> }else{ >> >> url += '&linkID=' + tree.selectedNode.attributes.linkID; >> >> } >> } >> saveFile(); >> >> ExternalInterface.call("hideunload"); >> >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >> >> } >> } >> } >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >> Sent: 10 May 2013 14:38 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> Windows 7 >> Firefox 20.1.0 >> Preview button doesn't work for anything once you've previewed >> Flash Player 11.7 >> >> Fine in Chrome >> No Joy in FF >> >> have commented out all of the JS >> >> So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? >> >> I'd put some fscommand("console.log") into the wizard. >> >> Pgogy Webstuff http://www.pgogywebstuff.com >> Makers of Web things of a fair to middling quality >> >> >> >> ----- Original Message ----- >> From: >> "For Xerte technical developers" > >> >> >> To: >> "For Xerte technical developers" > >> Cc: >> >> >> Sent: >> Fri, 10 May 2013 14:00:36 +0100 >> Subject: >> [Xerte-dev] Re: wizard files and modules >> More specifically 64bit Windows 7 >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >> Sent: 10 May 2013 13:58 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> Difference is Windows 7 ? everything else the same and I see the p From J.J.Smith at gcu.ac.uk Sun May 12 13:00:33 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Sun, 12 May 2013 13:00:33 +0100 Subject: [Xerte-dev] Re: wizard files and modules Message-ID: I think Tom's right that its needed in the html player to render flash objects... Definitely it that's causing the issue though... Im trying to debug now... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" wrote: Do you still need swf object? On 12 May 2013, at 12:15, "Smith, John" wrote: > I think we're running into a few version/library problems which is causing it... > > So Fay's code is using v2.2 of SWFObject but the editor is using v1.5 > > Also, the flash preview isn't using either, it appears to be using rloObject.js to create the Flash... > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] > Sent: 12 May 2013 11:27 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > I don't know. I thought it is needed to display swf's inside the content. > Fay should know the definitive answer to that. > > But that doesn't help when the preview is flash... > > Tom > > Op 12-5-2013 12:04, Smith, John schreef: >> Ok i've partly solved it... >> >> Is this line needed in preview.php? >> >> >> >> Taking it out solves the issue for me... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >> Sent: 12 May 2013 10:52 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Confirmed... ( I liked Zen of Blakes 7...:-) ) >> >> Op 12-5-2013 11:41, Smith, John schreef: >> >> so now if you replace preview.php with the attached file which does nothing but is valid XHTML then I don't see the problem any more so it must be the preview page... there are a lot of XHTML Transitional errors in edit.php and a couple on preview but i've fixed these now and still not working... >> >> Can either of you confirm that using this preview.php file remeve the issue from the editor? >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >> Sent: 12 May 2013 10:25 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Has this mostly happened post the upload successful button was added? >> >> I think the button click event isn't firing properly in flash? >> >> When I last did a lot of flash stuff, Firefox always went wrong on the object's depth properties >> >> On 12 May 2013, at 09:52, "Smith, John" wrote: >> >> >> >> So the plot thickens... As you know I couldn't reproduce this on Friday and it seems that it was because of what I was doing... >> >> When the editor window was opening I was MOVING the window so that I could see the workspace too and it seems that this change of focus from the Flash to the actual window was in some way doing something to the problem but this morning I was able to reproduce the problem this morning though because I wasn't doing anything to the window after clicking preview... >> >> Please watch this screencast ( http://screencast.com/t/38tpOLopLs ) and you'll see the button not working in exactly the same way that you all described but then simply resizing the window slightly makes it work again... now it's not a focus issue because simply clicking on the window border or the window header which would change focus away from the Flash wizard doesn't fix it... but resizing does. But only until you preview again and then you need to resize again... >> >> I have no idea why this is happening but will continue to have a play around with various things to see if I can come up with a fix... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >> Sent: 11 May 2013 12:01 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: >> >> Where url is 'preview.php&template_id=4' >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >> >> What I did: >> 1. I changed the code to do exactly the same but in a different way: >> >> - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); >> - Supply javascript function in edit.php that does: >> >> function openPreview(url, height, width) >> { >> NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); >> NewWindow.focus(); >> } >> >> This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. >> >> 2. So, different approach, without using javascript: >> >> - From flash call: getURL(url, "_blank") >> >> This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. >> >> BUT it does work! >> >> Is that a viable solution? For firefox only? >> >> Tom >> >> Op 10-5-2013 16:01, Julian Tenney schreef: >> Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. >> >> Took out all but the void(0) and still failing. Have stripped down the function to this. >> >> I don?t think it is our code. Going for beer. >> >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >> Sent: 10 May 2013 14:58 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> I'd be cautious of saying it is preview - perhaps it is the file button? >> >> try not setting focus? that seems a possible route? >> >> Pgogy Webstuff http://www.pgogywebstuff.com >> Makers of Web things of a fair to middling quality >> >> >> ----- Original Message ----- >> From: >> "For Xerte technical developers" > >> >> To: >> "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > >> Cc: >> >> Sent: >> Fri, 10 May 2013 14:54:16 +0100 >> Subject: >> [Xerte-dev] Re: wizard files and modules >> >> It boils down to this: >> >> >> function preview(){ >> >> >> >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id; >> >> } >> >> >> >> >> saveFile(); >> >> ExternalInterface.call("hideunload"); >> >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >> >> >> >> >> >> } >> >> >> From: Tenney Julian >> Sent: 10 May 2013 14:51 >> To: 'For Xerte technical developers' >> Subject: RE: [Xerte-dev] Re: wizard files and modules >> >> >> Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) >> Probably next week though, I have to go soon, >> >> >> function preview(){ >> >> >> if (xerte){ >> >> if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified >> >> saveFile(); >> >> } else {//play it in Xerte >> >> //if shift is down, jump straight to this page >> if (Key.isDown(Key.SHIFT)){ >> if (tree.selectedNode.attributes.linkID == undefined){ >> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >> } >> //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) >> mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); >> } >> saveFile(); >> >> this.mode = 'preview'; >> >> >> //show the preview form >> mdm.form_show("preview"); >> mdm.form_restore("preview"); >> >> //fire up the piece >> mdm.form_callfunction("preview", "setMode", mode, "|"); >> mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); >> } >> >> >> } else { //this is toolkits - play or post? >> >> if (wizard.nfoObject.wizard.runtime != undefined){ >> >> //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc >> if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id; >> >> } >> >> saveFile(); >> >> ExternalInterface.call("hideunload"); >> >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); >> >> } else { >> >> saveFile(); >> >> wizard.createEmptyMovieClip('getURLHelper', 9999); >> wizard.getURLHelper.data = KOData.format(); >> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); >> >> } >> >> } else { >> >> if (Key.isDown(Key.CONTROL)){ //play the html5 version >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id + "&engine=other"; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id + "&engine=other"; >> >> } >> >> } else { >> >> if(_root.apache!="false"){ >> >> url = "preview_" + _root.template_id; >> >> }else{ >> >> url = "preview.php?template_id=" + _root.template_id; >> >> } >> } >> >> >> //if shift is down, jump straight to this page >> if (Key.isDown(Key.SHIFT)){ >> if (tree.selectedNode.attributes.linkID == undefined){ >> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >> } >> >> if(_root.apache!="false"){ >> >> url += '_' + tree.selectedNode.attributes.linkID; >> >> }else{ >> >> url += '&linkID=' + tree.selectedNode.attributes.linkID; >> >> } >> } >> saveFile(); >> >> ExternalInterface.call("hideunload"); >> >> >> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >> >> } >> } >> } >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >> Sent: 10 May 2013 14:38 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> Windows 7 >> Firefox 20.1.0 >> Preview button doesn't work for anything once you've previewed >> Flash Player 11.7 >> >> Fine in Chrome >> No Joy in FF >> >> have commented out all of the JS >> >> So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? >> >> I'd put some fscommand("console.log") into the wizard. >> >> Pgogy Webstuff http://www.pgogywebstuff.com >> Makers of Web things of a fair to middling quality >> >> >> >> ----- Original Message ----- >> From: >> "For Xerte technical developers" > >> >> >> To: >> "For Xerte technical developers" > >> Cc: >> >> >> Sent: >> Fri, 10 May 2013 14:00:36 +0100 >> Subject: >> [Xerte-dev] Re: wizard files and modules >> More specifically 64bit Windows 7 >> >> >> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >> Sent: 10 May 2013 13:58 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> >> Difference is Windows 7 ? everything else the same and I see the p _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From reijnders at tor.nl Sun May 12 14:13:09 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Sun, 12 May 2013 15:13:09 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: References: Message-ID: <518F9565.3030600@tor.nl> I tried a different approach to see what happens (I tried to resize the parent window from beforeunload) But what I see is that in the preview window, window.parent is recursive, i.e. window = window.parent = window.parent.parent = window.parent.parent.parent.... Is that normal? (Not only in firefox, but also in Chrome). Does that tell us something? Tom Op 12-5-2013 14:00, Smith, John schreef: > I think Tom's right that its needed in the html player to render flash objects... Definitely it that's causing the issue though... Im trying to debug now... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > "Pat @ Pgogy" wrote: > > > Do you still need swf object? > > On 12 May 2013, at 12:15, "Smith, John" wrote: > >> I think we're running into a few version/library problems which is causing it... >> >> So Fay's code is using v2.2 of SWFObject but the editor is using v1.5 >> >> Also, the flash preview isn't using either, it appears to be using rloObject.js to create the Flash... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >> Sent: 12 May 2013 11:27 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> I don't know. I thought it is needed to display swf's inside the content. >> Fay should know the definitive answer to that. >> >> But that doesn't help when the preview is flash... >> >> Tom >> >> Op 12-5-2013 12:04, Smith, John schreef: >>> Ok i've partly solved it... >>> >>> Is this line needed in preview.php? >>> >>> >>> >>> Taking it out solves the issue for me... >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>> Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >>> Sent: 12 May 2013 10:52 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>> >>> Op 12-5-2013 11:41, Smith, John schreef: >>> >>> so now if you replace preview.php with the attached file which does nothing but is valid XHTML then I don't see the problem any more so it must be the preview page... there are a lot of XHTML Transitional errors in edit.php and a couple on preview but i've fixed these now and still not working... >>> >>> Can either of you confirm that using this preview.php file remeve the issue from the editor? >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>> Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >>> Sent: 12 May 2013 10:25 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> Has this mostly happened post the upload successful button was added? >>> >>> I think the button click event isn't firing properly in flash? >>> >>> When I last did a lot of flash stuff, Firefox always went wrong on the object's depth properties >>> >>> On 12 May 2013, at 09:52, "Smith, John" wrote: >>> >>> >>> >>> So the plot thickens... As you know I couldn't reproduce this on Friday and it seems that it was because of what I was doing... >>> >>> When the editor window was opening I was MOVING the window so that I could see the workspace too and it seems that this change of focus from the Flash to the actual window was in some way doing something to the problem but this morning I was able to reproduce the problem this morning though because I wasn't doing anything to the window after clicking preview... >>> >>> Please watch this screencast ( http://screencast.com/t/38tpOLopLs ) and you'll see the button not working in exactly the same way that you all described but then simply resizing the window slightly makes it work again... now it's not a focus issue because simply clicking on the window border or the window header which would change focus away from the Flash wizard doesn't fix it... but resizing does. But only until you preview again and then you need to resize again... >>> >>> I have no idea why this is happening but will continue to have a play around with various things to see if I can come up with a fix... >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>> Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >>> Sent: 11 May 2013 12:01 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: >>> >>> Where url is 'preview.php&template_id=4' >>> >>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >>> >>> What I did: >>> 1. I changed the code to do exactly the same but in a different way: >>> >>> - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); >>> - Supply javascript function in edit.php that does: >>> >>> function openPreview(url, height, width) >>> { >>> NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); >>> NewWindow.focus(); >>> } >>> >>> This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. >>> >>> 2. So, different approach, without using javascript: >>> >>> - From flash call: getURL(url, "_blank") >>> >>> This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. >>> >>> BUT it does work! >>> >>> Is that a viable solution? For firefox only? >>> >>> Tom >>> >>> Op 10-5-2013 16:01, Julian Tenney schreef: >>> Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. >>> >>> Took out all but the void(0) and still failing. Have stripped down the function to this. >>> >>> I don?t think it is our code. Going for beer. >>> >>> >>> >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >>> Sent: 10 May 2013 14:58 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> I'd be cautious of saying it is preview - perhaps it is the file button? >>> >>> try not setting focus? that seems a possible route? >>> >>> Pgogy Webstuff http://www.pgogywebstuff.com >>> Makers of Web things of a fair to middling quality >>> >>> >>> ----- Original Message ----- >>> From: >>> "For Xerte technical developers" > >>> >>> To: >>> "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > >>> Cc: >>> >>> Sent: >>> Fri, 10 May 2013 14:54:16 +0100 >>> Subject: >>> [Xerte-dev] Re: wizard files and modules >>> >>> It boils down to this: >>> >>> >>> function preview(){ >>> >>> >>> >>> >>> if(_root.apache!="false"){ >>> >>> url = "preview_" + _root.template_id; >>> >>> }else{ >>> >>> url = "preview.php?template_id=" + _root.template_id; >>> >>> } >>> >>> >>> >>> >>> saveFile(); >>> >>> ExternalInterface.call("hideunload"); >>> >>> >>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >>> >>> >>> >>> >>> >>> } >>> >>> >>> From: Tenney Julian >>> Sent: 10 May 2013 14:51 >>> To: 'For Xerte technical developers' >>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>> >>> >>> Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) >>> Probably next week though, I have to go soon, >>> >>> >>> function preview(){ >>> >>> >>> if (xerte){ >>> >>> if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified >>> >>> saveFile(); >>> >>> } else {//play it in Xerte >>> >>> //if shift is down, jump straight to this page >>> if (Key.isDown(Key.SHIFT)){ >>> if (tree.selectedNode.attributes.linkID == undefined){ >>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>> } >>> //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) >>> mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); >>> } >>> saveFile(); >>> >>> this.mode = 'preview'; >>> >>> >>> //show the preview form >>> mdm.form_show("preview"); >>> mdm.form_restore("preview"); >>> >>> //fire up the piece >>> mdm.form_callfunction("preview", "setMode", mode, "|"); >>> mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); >>> } >>> >>> >>> } else { //this is toolkits - play or post? >>> >>> if (wizard.nfoObject.wizard.runtime != undefined){ >>> >>> //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc >>> if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ >>> >>> if(_root.apache!="false"){ >>> >>> url = "preview_" + _root.template_id; >>> >>> }else{ >>> >>> url = "preview.php?template_id=" + _root.template_id; >>> >>> } >>> >>> saveFile(); >>> >>> ExternalInterface.call("hideunload"); >>> >>> >>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); >>> >>> } else { >>> >>> saveFile(); >>> >>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>> wizard.getURLHelper.data = KOData.format(); >>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); >>> >>> } >>> >>> } else { >>> >>> if (Key.isDown(Key.CONTROL)){ //play the html5 version >>> >>> if(_root.apache!="false"){ >>> >>> url = "preview_" + _root.template_id + "&engine=other"; >>> >>> }else{ >>> >>> url = "preview.php?template_id=" + _root.template_id + "&engine=other"; >>> >>> } >>> >>> } else { >>> >>> if(_root.apache!="false"){ >>> >>> url = "preview_" + _root.template_id; >>> >>> }else{ >>> >>> url = "preview.php?template_id=" + _root.template_id; >>> >>> } >>> } >>> >>> >>> //if shift is down, jump straight to this page >>> if (Key.isDown(Key.SHIFT)){ >>> if (tree.selectedNode.attributes.linkID == undefined){ >>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>> } >>> >>> if(_root.apache!="false"){ >>> >>> url += '_' + tree.selectedNode.attributes.linkID; >>> >>> }else{ >>> >>> url += '&linkID=' + tree.selectedNode.attributes.linkID; >>> >>> } >>> } >>> saveFile(); >>> >>> ExternalInterface.call("hideunload"); >>> >>> >>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >>> >>> } >>> } >>> } >>> >>> >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >>> Sent: 10 May 2013 14:38 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> >>> Windows 7 >>> Firefox 20.1.0 >>> Preview button doesn't work for anything once you've previewed >>> Flash Player 11.7 >>> >>> Fine in Chrome >>> No Joy in FF >>> >>> have commented out all of the JS >>> >>> So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? >>> >>> I'd put some fscommand("console.log") into the wizard. >>> >>> Pgogy Webstuff http://www.pgogywebstuff.com >>> Makers of Web things of a fair to middling quality >>> >>> >>> >>> ----- Original Message ----- >>> From: >>> "For Xerte technical developers" > >>> >>> >>> To: >>> "For Xerte technical developers" > >>> Cc: >>> >>> >>> Sent: >>> Fri, 10 May 2013 14:00:36 +0100 >>> Subject: >>> [Xerte-dev] Re: wizard files and modules >>> More specifically 64bit Windows 7 >>> >>> >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >>> Sent: 10 May 2013 13:58 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> >>> Difference is Windows 7 ? everything else the same and I see the p > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From J.J.Smith at gcu.ac.uk Sun May 12 16:05:49 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Sun, 12 May 2013 16:05:49 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <518F9565.3030600@tor.nl> References: , <518F9565.3030600@tor.nl> Message-ID: I like your idea although it still doesn't quite explain why it happens. I've narrowed it down to these lines in SWFObject var b = doc.getElementsByTagName("body")[0]; var o = createElement(OBJECT); o.setAttribute("type", FLASH_MIME_TYPE); var t = b.appendChild(o); Commenting out the last line { var t = b.appendChild(o); } stops the problem but i'm not sure how modifying that function will affect other browsers etc... seems to be similar to this issue http://stackoverflow.com/questions/14007062/mysterious-type-error-non-native-scope-object-in-firebug Anyway, I think you were looking for window.opener and not window.parent though. Try changing the rloObject.htm tag to this... seems to work for me More of a hack than a fix but it seems to work. You might want to hide the extra code in your XTInitialise/XTTerminate functions... Regards, John Smith | Learning Technologist Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 12 May 2013 14:13 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I tried a different approach to see what happens (I tried to resize the parent window from beforeunload) But what I see is that in the preview window, window.parent is recursive, i.e. window = window.parent = window.parent.parent = window.parent.parent.parent.... Is that normal? (Not only in firefox, but also in Chrome). Does that tell us something? Tom Op 12-5-2013 14:00, Smith, John schreef: > I think Tom's right that its needed in the html player to render flash objects... Definitely it that's causing the issue though... Im trying to debug now... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > "Pat @ Pgogy" wrote: > > > Do you still need swf object? > > On 12 May 2013, at 12:15, "Smith, John" wrote: > >> I think we're running into a few version/library problems which is causing it... >> >> So Fay's code is using v2.2 of SWFObject but the editor is using v1.5 >> >> Also, the flash preview isn't using either, it appears to be using rloObject.js to create the Flash... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >> Sent: 12 May 2013 11:27 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> I don't know. I thought it is needed to display swf's inside the content. >> Fay should know the definitive answer to that. >> >> But that doesn't help when the preview is flash... >> >> Tom >> >> Op 12-5-2013 12:04, Smith, John schreef: >>> Ok i've partly solved it... >>> >>> Is this line needed in preview.php? >>> >>> >>> >>> Taking it out solves the issue for me... >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>> Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >>> Sent: 12 May 2013 10:52 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>> >>> Op 12-5-2013 11:41, Smith, John schreef: >>> >>> so now if you replace preview.php with the attached file which does nothing but is valid XHTML then I don't see the problem any more so it must be the preview page... there are a lot of XHTML Transitional errors in edit.php and a couple on preview but i've fixed these now and still not working... >>> >>> Can either of you confirm that using this preview.php file remeve the issue from the editor? >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>> Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >>> Sent: 12 May 2013 10:25 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> Has this mostly happened post the upload successful button was added? >>> >>> I think the button click event isn't firing properly in flash? >>> >>> When I last did a lot of flash stuff, Firefox always went wrong on the object's depth properties >>> >>> On 12 May 2013, at 09:52, "Smith, John" wrote: >>> >>> >>> >>> So the plot thickens... As you know I couldn't reproduce this on Friday and it seems that it was because of what I was doing... >>> >>> When the editor window was opening I was MOVING the window so that I could see the workspace too and it seems that this change of focus from the Flash to the actual window was in some way doing something to the problem but this morning I was able to reproduce the problem this morning though because I wasn't doing anything to the window after clicking preview... >>> >>> Please watch this screencast ( http://screencast.com/t/38tpOLopLs ) and you'll see the button not working in exactly the same way that you all described but then simply resizing the window slightly makes it work again... now it's not a focus issue because simply clicking on the window border or the window header which would change focus away from the Flash wizard doesn't fix it... but resizing does. But only until you preview again and then you need to resize again... >>> >>> I have no idea why this is happening but will continue to have a play around with various things to see if I can come up with a fix... >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>> Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >>> Sent: 11 May 2013 12:01 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: >>> >>> Where url is 'preview.php&template_id=4' >>> >>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >>> >>> What I did: >>> 1. I changed the code to do exactly the same but in a different way: >>> >>> - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); >>> - Supply javascript function in edit.php that does: >>> >>> function openPreview(url, height, width) >>> { >>> NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); >>> NewWindow.focus(); >>> } >>> >>> This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. >>> >>> 2. So, different approach, without using javascript: >>> >>> - From flash call: getURL(url, "_blank") >>> >>> This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. >>> >>> BUT it does work! >>> >>> Is that a viable solution? For firefox only? >>> >>> Tom >>> >>> Op 10-5-2013 16:01, Julian Tenney schreef: >>> Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. >>> >>> Took out all but the void(0) and still failing. Have stripped down the function to this. >>> >>> I don?t think it is our code. Going for beer. >>> >>> >>> >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >>> Sent: 10 May 2013 14:58 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> I'd be cautious of saying it is preview - perhaps it is the file button? >>> >>> try not setting focus? that seems a possible route? >>> >>> Pgogy Webstuff http://www.pgogywebstuff.com >>> Makers of Web things of a fair to middling quality >>> >>> >>> ----- Original Message ----- >>> From: >>> "For Xerte technical developers" > >>> >>> To: >>> "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > >>> Cc: >>> >>> Sent: >>> Fri, 10 May 2013 14:54:16 +0100 >>> Subject: >>> [Xerte-dev] Re: wizard files and modules >>> >>> It boils down to this: >>> >>> >>> function preview(){ >>> >>> >>> >>> >>> if(_root.apache!="false"){ >>> >>> url = "preview_" + _root.template_id; >>> >>> }else{ >>> >>> url = "preview.php?template_id=" + _root.template_id; >>> >>> } >>> >>> >>> >>> >>> saveFile(); >>> >>> ExternalInterface.call("hideunload"); >>> >>> >>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >>> >>> >>> >>> >>> >>> } >>> >>> >>> From: Tenney Julian >>> Sent: 10 May 2013 14:51 >>> To: 'For Xerte technical developers' >>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>> >>> >>> Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) >>> Probably next week though, I have to go soon, >>> >>> >>> function preview(){ >>> >>> >>> if (xerte){ >>> >>> if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified >>> >>> saveFile(); >>> >>> } else {//play it in Xerte >>> >>> //if shift is down, jump straight to this page >>> if (Key.isDown(Key.SHIFT)){ >>> if (tree.selectedNode.attributes.linkID == undefined){ >>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>> } >>> //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) >>> mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); >>> } >>> saveFile(); >>> >>> this.mode = 'preview'; >>> >>> >>> //show the preview form >>> mdm.form_show("preview"); >>> mdm.form_restore("preview"); >>> >>> //fire up the piece >>> mdm.form_callfunction("preview", "setMode", mode, "|"); >>> mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); >>> } >>> >>> >>> } else { //this is toolkits - play or post? >>> >>> if (wizard.nfoObject.wizard.runtime != undefined){ >>> >>> //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc >>> if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ >>> >>> if(_root.apache!="false"){ >>> >>> url = "preview_" + _root.template_id; >>> >>> }else{ >>> >>> url = "preview.php?template_id=" + _root.template_id; >>> >>> } >>> >>> saveFile(); >>> >>> ExternalInterface.call("hideunload"); >>> >>> >>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); >>> >>> } else { >>> >>> saveFile(); >>> >>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>> wizard.getURLHelper.data = KOData.format(); >>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); >>> >>> } >>> >>> } else { >>> >>> if (Key.isDown(Key.CONTROL)){ //play the html5 version >>> >>> if(_root.apache!="false"){ >>> >>> url = "preview_" + _root.template_id + "&engine=other"; >>> >>> }else{ >>> >>> url = "preview.php?template_id=" + _root.template_id + "&engine=other"; >>> >>> } >>> >>> } else { >>> >>> if(_root.apache!="false"){ >>> >>> url = "preview_" + _root.template_id; >>> >>> }else{ >>> >>> url = "preview.php?template_id=" + _root.template_id; >>> >>> } >>> } >>> >>> >>> //if shift is down, jump straight to this page >>> if (Key.isDown(Key.SHIFT)){ >>> if (tree.selectedNode.attributes.linkID == undefined){ >>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>> } >>> >>> if(_root.apache!="false"){ >>> >>> url += '_' + tree.selectedNode.attributes.linkID; >>> >>> }else{ >>> >>> url += '&linkID=' + tree.selectedNode.attributes.linkID; >>> >>> } >>> } >>> saveFile(); >>> >>> ExternalInterface.call("hideunload"); >>> >>> >>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >>> >>> } >>> } >>> } >>> >>> >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >>> Sent: 10 May 2013 14:38 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> >>> Windows 7 >>> Firefox 20.1.0 >>> Preview button doesn't work for anything once you've previewed >>> Flash Player 11.7 >>> >>> Fine in Chrome >>> No Joy in FF >>> >>> have commented out all of the JS >>> >>> So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? >>> >>> I'd put some fscommand("console.log") into the wizard. >>> >>> Pgogy Webstuff http://www.pgogywebstuff.com >>> Makers of Web things of a fair to middling quality >>> >>> >>> >>> ----- Original Message ----- >>> From: >>> "For Xerte technical developers" > >>> >>> >>> To: >>> "For Xerte technical developers" > >>> Cc: >>> >>> >>> Sent: >>> Fri, 10 May 2013 14:00:36 +0100 >>> Subject: >>> [Xerte-dev] Re: wizard files and modules >>> More specifically 64bit Windows 7 >>> >>> >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >>> Sent: 10 May 2013 13:58 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> >>> Difference is Windows 7 ? everything else the same and I see the p > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From reijnders at tor.nl Sun May 12 17:39:17 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Sun, 12 May 2013 18:39:17 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: References: , <518F9565.3030600@tor.nl> Message-ID: <518FC5B5.8040904@tor.nl> Well... if the hack works.... This will also work with flash content, ie. previewing the LO in the flash engine. The swfobject changes won't work, because it's not used in the case of the flash engine. I would still like to know why it works, and what is happening though... Tom Op 12-5-2013 17:05, Smith, John schreef: > I like your idea although it still doesn't quite explain why it happens. I've narrowed it down to these lines in SWFObject > > var b = doc.getElementsByTagName("body")[0]; > var o = createElement(OBJECT); > o.setAttribute("type", FLASH_MIME_TYPE); > var t = b.appendChild(o); > > Commenting out the last line { var t = b.appendChild(o); } stops the problem but i'm not sure how modifying that function will affect other browsers etc... seems to be similar to this issue http://stackoverflow.com/questions/14007062/mysterious-type-error-non-native-scope-object-in-firebug > > Anyway, I think you were looking for window.opener and not window.parent though. Try changing the rloObject.htm tag to this... seems to work for me > > > > > > More of a hack than a fix but it seems to work. You might want to hide the extra code in your XTInitialise/XTTerminate functions... > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] > Sent: 12 May 2013 14:13 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > I tried a different approach to see what happens (I tried to resize the > parent window from beforeunload) > > But what I see is that in the preview window, window.parent is > recursive, i.e. window = window.parent = window.parent.parent = > window.parent.parent.parent.... > > Is that normal? (Not only in firefox, but also in Chrome). > > Does that tell us something? > > Tom > > Op 12-5-2013 14:00, Smith, John schreef: >> I think Tom's right that its needed in the html player to render flash objects... Definitely it that's causing the issue though... Im trying to debug now... >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> "Pat @ Pgogy" wrote: >> >> >> Do you still need swf object? >> >> On 12 May 2013, at 12:15, "Smith, John" wrote: >> >>> I think we're running into a few version/library problems which is causing it... >>> >>> So Fay's code is using v2.2 of SWFObject but the editor is using v1.5 >>> >>> Also, the flash preview isn't using either, it appears to be using rloObject.js to create the Flash... >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>> Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >>> Sent: 12 May 2013 11:27 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> I don't know. I thought it is needed to display swf's inside the content. >>> Fay should know the definitive answer to that. >>> >>> But that doesn't help when the preview is flash... >>> >>> Tom >>> >>> Op 12-5-2013 12:04, Smith, John schreef: >>>> Ok i've partly solved it... >>>> >>>> Is this line needed in preview.php? >>>> >>>> >>>> >>>> Taking it out solves the issue for me... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>>> Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >>>> Sent: 12 May 2013 10:52 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>> >>>> Op 12-5-2013 11:41, Smith, John schreef: >>>> >>>> so now if you replace preview.php with the attached file which does nothing but is valid XHTML then I don't see the problem any more so it must be the preview page... there are a lot of XHTML Transitional errors in edit.php and a couple on preview but i've fixed these now and still not working... >>>> >>>> Can either of you confirm that using this preview.php file remeve the issue from the editor? >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>>> Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >>>> Sent: 12 May 2013 10:25 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> Has this mostly happened post the upload successful button was added? >>>> >>>> I think the button click event isn't firing properly in flash? >>>> >>>> When I last did a lot of flash stuff, Firefox always went wrong on the object's depth properties >>>> >>>> On 12 May 2013, at 09:52, "Smith, John" wrote: >>>> >>>> >>>> >>>> So the plot thickens... As you know I couldn't reproduce this on Friday and it seems that it was because of what I was doing... >>>> >>>> When the editor window was opening I was MOVING the window so that I could see the workspace too and it seems that this change of focus from the Flash to the actual window was in some way doing something to the problem but this morning I was able to reproduce the problem this morning though because I wasn't doing anything to the window after clicking preview... >>>> >>>> Please watch this screencast ( http://screencast.com/t/38tpOLopLs ) and you'll see the button not working in exactly the same way that you all described but then simply resizing the window slightly makes it work again... now it's not a focus issue because simply clicking on the window border or the window header which would change focus away from the Flash wizard doesn't fix it... but resizing does. But only until you preview again and then you need to resize again... >>>> >>>> I have no idea why this is happening but will continue to have a play around with various things to see if I can come up with a fix... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>>> Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >>>> Sent: 11 May 2013 12:01 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: >>>> >>>> Where url is 'preview.php&template_id=4' >>>> >>>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >>>> >>>> What I did: >>>> 1. I changed the code to do exactly the same but in a different way: >>>> >>>> - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); >>>> - Supply javascript function in edit.php that does: >>>> >>>> function openPreview(url, height, width) >>>> { >>>> NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); >>>> NewWindow.focus(); >>>> } >>>> >>>> This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. >>>> >>>> 2. So, different approach, without using javascript: >>>> >>>> - From flash call: getURL(url, "_blank") >>>> >>>> This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. >>>> >>>> BUT it does work! >>>> >>>> Is that a viable solution? For firefox only? >>>> >>>> Tom >>>> >>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>> Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. >>>> >>>> Took out all but the void(0) and still failing. Have stripped down the function to this. >>>> >>>> I don?t think it is our code. Going for beer. >>>> >>>> >>>> >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >>>> Sent: 10 May 2013 14:58 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I'd be cautious of saying it is preview - perhaps it is the file button? >>>> >>>> try not setting focus? that seems a possible route? >>>> >>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>> Makers of Web things of a fair to middling quality >>>> >>>> >>>> ----- Original Message ----- >>>> From: >>>> "For Xerte technical developers" > >>>> >>>> To: >>>> "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > >>>> Cc: >>>> >>>> Sent: >>>> Fri, 10 May 2013 14:54:16 +0100 >>>> Subject: >>>> [Xerte-dev] Re: wizard files and modules >>>> >>>> It boils down to this: >>>> >>>> >>>> function preview(){ >>>> >>>> >>>> >>>> >>>> if(_root.apache!="false"){ >>>> >>>> url = "preview_" + _root.template_id; >>>> >>>> }else{ >>>> >>>> url = "preview.php?template_id=" + _root.template_id; >>>> >>>> } >>>> >>>> >>>> >>>> >>>> saveFile(); >>>> >>>> ExternalInterface.call("hideunload"); >>>> >>>> >>>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >>>> >>>> >>>> >>>> >>>> >>>> } >>>> >>>> >>>> From: Tenney Julian >>>> Sent: 10 May 2013 14:51 >>>> To: 'For Xerte technical developers' >>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>> >>>> >>>> Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) >>>> Probably next week though, I have to go soon, >>>> >>>> >>>> function preview(){ >>>> >>>> >>>> if (xerte){ >>>> >>>> if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified >>>> >>>> saveFile(); >>>> >>>> } else {//play it in Xerte >>>> >>>> //if shift is down, jump straight to this page >>>> if (Key.isDown(Key.SHIFT)){ >>>> if (tree.selectedNode.attributes.linkID == undefined){ >>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>> } >>>> //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) >>>> mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); >>>> } >>>> saveFile(); >>>> >>>> this.mode = 'preview'; >>>> >>>> >>>> //show the preview form >>>> mdm.form_show("preview"); >>>> mdm.form_restore("preview"); >>>> >>>> //fire up the piece >>>> mdm.form_callfunction("preview", "setMode", mode, "|"); >>>> mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); >>>> } >>>> >>>> >>>> } else { //this is toolkits - play or post? >>>> >>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>> >>>> //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc >>>> if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ >>>> >>>> if(_root.apache!="false"){ >>>> >>>> url = "preview_" + _root.template_id; >>>> >>>> }else{ >>>> >>>> url = "preview.php?template_id=" + _root.template_id; >>>> >>>> } >>>> >>>> saveFile(); >>>> >>>> ExternalInterface.call("hideunload"); >>>> >>>> >>>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); >>>> >>>> } else { >>>> >>>> saveFile(); >>>> >>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>> wizard.getURLHelper.data = KOData.format(); >>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); >>>> >>>> } >>>> >>>> } else { >>>> >>>> if (Key.isDown(Key.CONTROL)){ //play the html5 version >>>> >>>> if(_root.apache!="false"){ >>>> >>>> url = "preview_" + _root.template_id + "&engine=other"; >>>> >>>> }else{ >>>> >>>> url = "preview.php?template_id=" + _root.template_id + "&engine=other"; >>>> >>>> } >>>> >>>> } else { >>>> >>>> if(_root.apache!="false"){ >>>> >>>> url = "preview_" + _root.template_id; >>>> >>>> }else{ >>>> >>>> url = "preview.php?template_id=" + _root.template_id; >>>> >>>> } >>>> } >>>> >>>> >>>> //if shift is down, jump straight to this page >>>> if (Key.isDown(Key.SHIFT)){ >>>> if (tree.selectedNode.attributes.linkID == undefined){ >>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>> } >>>> >>>> if(_root.apache!="false"){ >>>> >>>> url += '_' + tree.selectedNode.attributes.linkID; >>>> >>>> }else{ >>>> >>>> url += '&linkID=' + tree.selectedNode.attributes.linkID; >>>> >>>> } >>>> } >>>> saveFile(); >>>> >>>> ExternalInterface.call("hideunload"); >>>> >>>> >>>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >>>> >>>> } >>>> } >>>> } >>>> >>>> >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >>>> Sent: 10 May 2013 14:38 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> >>>> Windows 7 >>>> Firefox 20.1.0 >>>> Preview button doesn't work for anything once you've previewed >>>> Flash Player 11.7 >>>> >>>> Fine in Chrome >>>> No Joy in FF >>>> >>>> have commented out all of the JS >>>> >>>> So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? >>>> >>>> I'd put some fscommand("console.log") into the wizard. >>>> >>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>> Makers of Web things of a fair to middling quality >>>> >>>> >>>> >>>> ----- Original Message ----- >>>> From: >>>> "For Xerte technical developers" > >>>> >>>> >>>> To: >>>> "For Xerte technical developers" > >>>> Cc: >>>> >>>> >>>> Sent: >>>> Fri, 10 May 2013 14:00:36 +0100 >>>> Subject: >>>> [Xerte-dev] Re: wizard files and modules >>>> More specifically 64bit Windows 7 >>>> >>>> >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >>>> Sent: 10 May 2013 13:58 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> >>>> Difference is Windows 7 ? everything else the same and I see the p >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From J.J.Smith at gcu.ac.uk Sun May 12 17:56:07 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Sun, 12 May 2013 17:56:07 +0100 Subject: [Xerte-dev] Re: wizard files and modules Message-ID: Another strange thing thats the reason for the +=2 is that if you add 1 on then the button only works after every 2nd preview... Its really bizarre... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Tom Reijnders wrote: Well... if the hack works.... This will also work with flash content, ie. previewing the LO in the flash engine. The swfobject changes won't work, because it's not used in the case of the flash engine. I would still like to know why it works, and what is happening though... Tom Op 12-5-2013 17:05, Smith, John schreef: > I like your idea although it still doesn't quite explain why it happens. I've narrowed it down to these lines in SWFObject > > var b = doc.getElementsByTagName("body")[0]; > var o = createElement(OBJECT); > o.setAttribute("type", FLASH_MIME_TYPE); > var t = b.appendChild(o); > > Commenting out the last line { var t = b.appendChild(o); } stops the problem but i'm not sure how modifying that function will affect other browsers etc... seems to be similar to this issue http://stackoverflow.com/questions/14007062/mysterious-type-error-non-native-scope-object-in-firebug > > Anyway, I think you were looking for window.opener and not window.parent though. Try changing the rloObject.htm tag to this... seems to work for me > > > > > > More of a hack than a fix but it seems to work. You might want to hide the extra code in your XTInitialise/XTTerminate functions... > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] > Sent: 12 May 2013 14:13 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > I tried a different approach to see what happens (I tried to resize the > parent window from beforeunload) > > But what I see is that in the preview window, window.parent is > recursive, i.e. window = window.parent = window.parent.parent = > window.parent.parent.parent.... > > Is that normal? (Not only in firefox, but also in Chrome). > > Does that tell us something? > > Tom > > Op 12-5-2013 14:00, Smith, John schreef: >> I think Tom's right that its needed in the html player to render flash objects... Definitely it that's causing the issue though... Im trying to debug now... >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> "Pat @ Pgogy" wrote: >> >> >> Do you still need swf object? >> >> On 12 May 2013, at 12:15, "Smith, John" wrote: >> >>> I think we're running into a few version/library problems which is causing it... >>> >>> So Fay's code is using v2.2 of SWFObject but the editor is using v1.5 >>> >>> Also, the flash preview isn't using either, it appears to be using rloObject.js to create the Flash... >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>> Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >>> Sent: 12 May 2013 11:27 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> I don't know. I thought it is needed to display swf's inside the content. >>> Fay should know the definitive answer to that. >>> >>> But that doesn't help when the preview is flash... >>> >>> Tom >>> >>> Op 12-5-2013 12:04, Smith, John schreef: >>>> Ok i've partly solved it... >>>> >>>> Is this line needed in preview.php? >>>> >>>> >>>> >>>> Taking it out solves the issue for me... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>>> Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >>>> Sent: 12 May 2013 10:52 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>> >>>> Op 12-5-2013 11:41, Smith, John schreef: >>>> >>>> so now if you replace preview.php with the attached file which does nothing but is valid XHTML then I don't see the problem any more so it must be the preview page... there are a lot of XHTML Transitional errors in edit.php and a couple on preview but i've fixed these now and still not working... >>>> >>>> Can either of you confirm that using this preview.php file remeve the issue from the editor? >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>>> Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >>>> Sent: 12 May 2013 10:25 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> Has this mostly happened post the upload successful button was added? >>>> >>>> I think the button click event isn't firing properly in flash? >>>> >>>> When I last did a lot of flash stuff, Firefox always went wrong on the object's depth properties >>>> >>>> On 12 May 2013, at 09:52, "Smith, John" wrote: >>>> >>>> >>>> >>>> So the plot thickens... As you know I couldn't reproduce this on Friday and it seems that it was because of what I was doing... >>>> >>>> When the editor window was opening I was MOVING the window so that I could see the workspace too and it seems that this change of focus from the Flash to the actual window was in some way doing something to the problem but this morning I was able to reproduce the problem this morning though because I wasn't doing anything to the window after clicking preview... >>>> >>>> Please watch this screencast ( http://screencast.com/t/38tpOLopLs ) and you'll see the button not working in exactly the same way that you all described but then simply resizing the window slightly makes it work again... now it's not a focus issue because simply clicking on the window border or the window header which would change focus away from the Flash wizard doesn't fix it... but resizing does. But only until you preview again and then you need to resize again... >>>> >>>> I have no idea why this is happening but will continue to have a play around with various things to see if I can come up with a fix... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>>> Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >>>> Sent: 11 May 2013 12:01 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: >>>> >>>> Where url is 'preview.php&template_id=4' >>>> >>>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >>>> >>>> What I did: >>>> 1. I changed the code to do exactly the same but in a different way: >>>> >>>> - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); >>>> - Supply javascript function in edit.php that does: >>>> >>>> function openPreview(url, height, width) >>>> { >>>> NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); >>>> NewWindow.focus(); >>>> } >>>> >>>> This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. >>>> >>>> 2. So, different approach, without using javascript: >>>> >>>> - From flash call: getURL(url, "_blank") >>>> >>>> This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. >>>> >>>> BUT it does work! >>>> >>>> Is that a viable solution? For firefox only? >>>> >>>> Tom >>>> >>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>> Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. >>>> >>>> Took out all but the void(0) and still failing. Have stripped down the function to this. >>>> >>>> I don?t think it is our code. Going for beer. >>>> >>>> >>>> >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >>>> Sent: 10 May 2013 14:58 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I'd be cautious of saying it is preview - perhaps it is the file button? >>>> >>>> try not setting focus? that seems a possible route? >>>> >>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>> Makers of Web things of a fair to middling quality >>>> >>>> >>>> ----- Original Message ----- >>>> From: >>>> "For Xerte technical developers" > >>>> >>>> To: >>>> "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > >>>> Cc: >>>> >>>> Sent: >>>> Fri, 10 May 2013 14:54:16 +0100 >>>> Subject: >>>> [Xerte-dev] Re: wizard files and modules >>>> >>>> It boils down to this: >>>> >>>> >>>> function preview(){ >>>> >>>> >>>> >>>> >>>> if(_root.apache!="false"){ >>>> >>>> url = "preview_" + _root.template_id; >>>> >>>> }else{ >>>> >>>> url = "preview.php?template_id=" + _root.template_id; >>>> >>>> } >>>> >>>> >>>> >>>> >>>> saveFile(); >>>> >>>> ExternalInterface.call("hideunload"); >>>> >>>> >>>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >>>> >>>> >>>> >>>> >>>> >>>> } >>>> >>>> >>>> From: Tenney Julian >>>> Sent: 10 May 2013 14:51 >>>> To: 'For Xerte technical developers' >>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>> >>>> >>>> Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) >>>> Probably next week though, I have to go soon, >>>> >>>> >>>> function preview(){ >>>> >>>> >>>> if (xerte){ >>>> >>>> if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified >>>> >>>> saveFile(); >>>> >>>> } else {//play it in Xerte >>>> >>>> //if shift is down, jump straight to this page >>>> if (Key.isDown(Key.SHIFT)){ >>>> if (tree.selectedNode.attributes.linkID == undefined){ >>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>> } >>>> //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) >>>> mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); >>>> } >>>> saveFile(); >>>> >>>> this.mode = 'preview'; >>>> >>>> >>>> //show the preview form >>>> mdm.form_show("preview"); >>>> mdm.form_restore("preview"); >>>> >>>> //fire up the piece >>>> mdm.form_callfunction("preview", "setMode", mode, "|"); >>>> mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); >>>> } >>>> >>>> >>>> } else { //this is toolkits - play or post? >>>> >>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>> >>>> //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc >>>> if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ >>>> >>>> if(_root.apache!="false"){ >>>> >>>> url = "preview_" + _root.template_id; >>>> >>>> }else{ >>>> >>>> url = "preview.php?template_id=" + _root.template_id; >>>> >>>> } >>>> >>>> saveFile(); >>>> >>>> ExternalInterface.call("hideunload"); >>>> >>>> >>>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); >>>> >>>> } else { >>>> >>>> saveFile(); >>>> >>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>> wizard.getURLHelper.data = KOData.format(); >>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); >>>> >>>> } >>>> >>>> } else { >>>> >>>> if (Key.isDown(Key.CONTROL)){ //play the html5 version >>>> >>>> if(_root.apache!="false"){ >>>> >>>> url = "preview_" + _root.template_id + "&engine=other"; >>>> >>>> }else{ >>>> >>>> url = "preview.php?template_id=" + _root.template_id + "&engine=other"; >>>> >>>> } >>>> >>>> } else { >>>> >>>> if(_root.apache!="false"){ >>>> >>>> url = "preview_" + _root.template_id; >>>> >>>> }else{ >>>> >>>> url = "preview.php?template_id=" + _root.template_id; >>>> >>>> } >>>> } >>>> >>>> >>>> //if shift is down, jump straight to this page >>>> if (Key.isDown(Key.SHIFT)){ >>>> if (tree.selectedNode.attributes.linkID == undefined){ >>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>> } >>>> >>>> if(_root.apache!="false"){ >>>> >>>> url += '_' + tree.selectedNode.attributes.linkID; >>>> >>>> }else{ >>>> >>>> url += '&linkID=' + tree.selectedNode.attributes.linkID; >>>> >>>> } >>>> } >>>> saveFile(); >>>> >>>> ExternalInterface.call("hideunload"); >>>> >>>> >>>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >>>> >>>> } >>>> } >>>> } >>>> >>>> >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >>>> Sent: 10 May 2013 14:38 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> >>>> Windows 7 >>>> Firefox 20.1.0 >>>> Preview button doesn't work for anything once you've previewed >>>> Flash Player 11.7 >>>> >>>> Fine in Chrome >>>> No Joy in FF >>>> >>>> have commented out all of the JS >>>> >>>> So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? >>>> >>>> I'd put some fscommand("console.log") into the wizard. >>>> >>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>> Makers of Web things of a fair to middling quality >>>> >>>> >>>> >>>> ----- Original Message ----- >>>> From: >>>> "For Xerte technical developers" > >>>> >>>> >>>> To: >>>> "For Xerte technical developers" > >>>> Cc: >>>> >>>> >>>> Sent: >>>> Fri, 10 May 2013 14:00:36 +0100 >>>> Subject: >>>> [Xerte-dev] Re: wizard files and modules >>>> More specifically 64bit Windows 7 >>>> >>>> >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >>>> Sent: 10 May 2013 13:58 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> >>>> Difference is Windows 7 ? everything else the same and I see the p >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From reijnders at tor.nl Sun May 12 17:58:33 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Sun, 12 May 2013 18:58:33 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: References: , <518F9565.3030600@tor.nl> Message-ID: <518FCA39.4070100@tor.nl> I tried putting it in the XTInitialise/XTTerminate But that didn't work! What did worl was putting this in XTTerminate() window.opener.innerWidth+=2 window.opener.innerWidth-=2 Op 12-5-2013 17:05, Smith, John schreef: > I like your idea although it still doesn't quite explain why it happens. I've narrowed it down to these lines in SWFObject > > var b = doc.getElementsByTagName("body")[0]; > var o = createElement(OBJECT); > o.setAttribute("type", FLASH_MIME_TYPE); > var t = b.appendChild(o); > > Commenting out the last line { var t = b.appendChild(o); } stops the problem but i'm not sure how modifying that function will affect other browsers etc... seems to be similar to this issue http://stackoverflow.com/questions/14007062/mysterious-type-error-non-native-scope-object-in-firebug > > Anyway, I think you were looking for window.opener and not window.parent though. Try changing the rloObject.htm tag to this... seems to work for me > > > > > > More of a hack than a fix but it seems to work. You might want to hide the extra code in your XTInitialise/XTTerminate functions... > > Regards, > > John Smith | Learning Technologist > Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University > Cowcaddens Road | Glasgow | G4 0BA > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] > Sent: 12 May 2013 14:13 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > I tried a different approach to see what happens (I tried to resize the > parent window from beforeunload) > > But what I see is that in the preview window, window.parent is > recursive, i.e. window = window.parent = window.parent.parent = > window.parent.parent.parent.... > > Is that normal? (Not only in firefox, but also in Chrome). > > Does that tell us something? > > Tom > > Op 12-5-2013 14:00, Smith, John schreef: >> I think Tom's right that its needed in the html player to render flash objects... Definitely it that's causing the issue though... Im trying to debug now... >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> "Pat @ Pgogy" wrote: >> >> >> Do you still need swf object? >> >> On 12 May 2013, at 12:15, "Smith, John" wrote: >> >>> I think we're running into a few version/library problems which is causing it... >>> >>> So Fay's code is using v2.2 of SWFObject but the editor is using v1.5 >>> >>> Also, the flash preview isn't using either, it appears to be using rloObject.js to create the Flash... >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>> Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >>> Sent: 12 May 2013 11:27 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> I don't know. I thought it is needed to display swf's inside the content. >>> Fay should know the definitive answer to that. >>> >>> But that doesn't help when the preview is flash... >>> >>> Tom >>> >>> Op 12-5-2013 12:04, Smith, John schreef: >>>> Ok i've partly solved it... >>>> >>>> Is this line needed in preview.php? >>>> >>>> >>>> >>>> Taking it out solves the issue for me... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>>> Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >>>> Sent: 12 May 2013 10:52 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>> >>>> Op 12-5-2013 11:41, Smith, John schreef: >>>> >>>> so now if you replace preview.php with the attached file which does nothing but is valid XHTML then I don't see the problem any more so it must be the preview page... there are a lot of XHTML Transitional errors in edit.php and a couple on preview but i've fixed these now and still not working... >>>> >>>> Can either of you confirm that using this preview.php file remeve the issue from the editor? >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>>> Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy [xerte at pgogywebstuff.com] >>>> Sent: 12 May 2013 10:25 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> Has this mostly happened post the upload successful button was added? >>>> >>>> I think the button click event isn't firing properly in flash? >>>> >>>> When I last did a lot of flash stuff, Firefox always went wrong on the object's depth properties >>>> >>>> On 12 May 2013, at 09:52, "Smith, John" wrote: >>>> >>>> >>>> >>>> So the plot thickens... As you know I couldn't reproduce this on Friday and it seems that it was because of what I was doing... >>>> >>>> When the editor window was opening I was MOVING the window so that I could see the workspace too and it seems that this change of focus from the Flash to the actual window was in some way doing something to the problem but this morning I was able to reproduce the problem this morning though because I wasn't doing anything to the window after clicking preview... >>>> >>>> Please watch this screencast ( http://screencast.com/t/38tpOLopLs ) and you'll see the button not working in exactly the same way that you all described but then simply resizing the window slightly makes it work again... now it's not a focus issue because simply clicking on the window border or the window header which would change focus away from the Flash wizard doesn't fix it... but resizing does. But only until you preview again and then you need to resize again... >>>> >>>> I have no idea why this is happening but will continue to have a play around with various things to see if I can come up with a fix... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | Glasgow Caledonian University >>>> Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] >>>> Sent: 11 May 2013 12:01 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I looked into this further as well, and I've got it working (sort of). The original problem is beyond our control. Something gets changed by showing and closing the preview. I concentrated on the call to popup preview: >>>> >>>> Where url is 'preview.php&template_id=4' >>>> >>>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >>>> >>>> What I did: >>>> 1. I changed the code to do exactly the same but in a different way: >>>> >>>> - From flash call: ExternalInterface.call("openPreview", url, this.template_height, this.template_width); >>>> - Supply javascript function in edit.php that does: >>>> >>>> function openPreview(url, height, width) >>>> { >>>> NewWindow = window.open(url, 'previewwindow', 'height=' + height, ',width=' + width); >>>> NewWindow.focus(); >>>> } >>>> >>>> This behaves exactly the same, as in, it doesn't work. After closing preview, the file browser doesn't pop up any more. >>>> >>>> 2. So, different approach, without using javascript: >>>> >>>> - From flash call: getURL(url, "_blank") >>>> >>>> This has as a drawback (or advantage) that the preview is shown in a new window/tab in stead of a popup, and so it ignores/doesn't use the sizes of the window. >>>> >>>> BUT it does work! >>>> >>>> Is that a viable solution? For firefox only? >>>> >>>> Tom >>>> >>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>> Tested the file button, and debugged the FileRef.browse and got Function, so it does exist, before FileRef.browse is called. >>>> >>>> Took out all but the void(0) and still failing. Have stripped down the function to this. >>>> >>>> I don?t think it is our code. Going for beer. >>>> >>>> >>>> >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >>>> Sent: 10 May 2013 14:58 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I'd be cautious of saying it is preview - perhaps it is the file button? >>>> >>>> try not setting focus? that seems a possible route? >>>> >>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>> Makers of Web things of a fair to middling quality >>>> >>>> >>>> ----- Original Message ----- >>>> From: >>>> "For Xerte technical developers" > >>>> >>>> To: >>>> "For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk)" > >>>> Cc: >>>> >>>> Sent: >>>> Fri, 10 May 2013 14:54:16 +0100 >>>> Subject: >>>> [Xerte-dev] Re: wizard files and modules >>>> >>>> It boils down to this: >>>> >>>> >>>> function preview(){ >>>> >>>> >>>> >>>> >>>> if(_root.apache!="false"){ >>>> >>>> url = "preview_" + _root.template_id; >>>> >>>> }else{ >>>> >>>> url = "preview.php?template_id=" + _root.template_id; >>>> >>>> } >>>> >>>> >>>> >>>> >>>> saveFile(); >>>> >>>> ExternalInterface.call("hideunload"); >>>> >>>> >>>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >>>> >>>> >>>> >>>> >>>> >>>> } >>>> >>>> >>>> From: Tenney Julian >>>> Sent: 10 May 2013 14:51 >>>> To: 'For Xerte technical developers' >>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>> >>>> >>>> Here be function preview() (I?m guessing you can?t see it? Can you see anything obvious / or anything I can try commenting out / testing to test your theory?) >>>> Probably next week though, I have to go soon, >>>> >>>> >>>> function preview(){ >>>> >>>> >>>> if (xerte){ >>>> >>>> if (wizard.nfoObject.wizard.runtime != undefined){ //post the xml data into the url specified >>>> >>>> saveFile(); >>>> >>>> } else {//play it in Xerte >>>> >>>> //if shift is down, jump straight to this page >>>> if (Key.isDown(Key.SHIFT)){ >>>> if (tree.selectedNode.attributes.linkID == undefined){ >>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>> } >>>> //set the linkID in _level0 of the runtime (it is deleted after onInit is fired) >>>> mdm.Forms.preview.callFunction("setLinkID", tree.selectedNode.attributes.linkID, "|"); >>>> } >>>> saveFile(); >>>> >>>> this.mode = 'preview'; >>>> >>>> >>>> //show the preview form >>>> mdm.form_show("preview"); >>>> mdm.form_restore("preview"); >>>> >>>> //fire up the piece >>>> mdm.form_callfunction("preview", "setMode", mode, "|"); >>>> mdm.form_callfunction("preview", "jumpFile", wizard.rloFile, "|"); >>>> } >>>> >>>> >>>> } else { //this is toolkits - play or post? >>>> >>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>> >>>> //hardcoded in here for now - this is a bit messy, needa better way of handling multiple runtimes with all the security etc >>>> if (wizard.nfoObject.wizard.runtime == 'preview_site.php'){ >>>> >>>> if(_root.apache!="false"){ >>>> >>>> url = "preview_" + _root.template_id; >>>> >>>> }else{ >>>> >>>> url = "preview.php?template_id=" + _root.template_id; >>>> >>>> } >>>> >>>> saveFile(); >>>> >>>> ExternalInterface.call("hideunload"); >>>> >>>> >>>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); setunload(); void(0);"); >>>> >>>> } else { >>>> >>>> saveFile(); >>>> >>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>> wizard.getURLHelper.data = KOData.format(); >>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, "_blank", "POST"); >>>> >>>> } >>>> >>>> } else { >>>> >>>> if (Key.isDown(Key.CONTROL)){ //play the html5 version >>>> >>>> if(_root.apache!="false"){ >>>> >>>> url = "preview_" + _root.template_id + "&engine=other"; >>>> >>>> }else{ >>>> >>>> url = "preview.php?template_id=" + _root.template_id + "&engine=other"; >>>> >>>> } >>>> >>>> } else { >>>> >>>> if(_root.apache!="false"){ >>>> >>>> url = "preview_" + _root.template_id; >>>> >>>> }else{ >>>> >>>> url = "preview.php?template_id=" + _root.template_id; >>>> >>>> } >>>> } >>>> >>>> >>>> //if shift is down, jump straight to this page >>>> if (Key.isDown(Key.SHIFT)){ >>>> if (tree.selectedNode.attributes.linkID == undefined){ >>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>> } >>>> >>>> if(_root.apache!="false"){ >>>> >>>> url += '_' + tree.selectedNode.attributes.linkID; >>>> >>>> }else{ >>>> >>>> url += '&linkID=' + tree.selectedNode.attributes.linkID; >>>> >>>> } >>>> } >>>> saveFile(); >>>> >>>> ExternalInterface.call("hideunload"); >>>> >>>> >>>> getURL("javascript:NewWindow = window.open('" + url + "','previewwindow','height=" + this.template_height+ ",width=" + this.template_width+ ",linkID=" + tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); setunload(); void(0);"); >>>> >>>> } >>>> } >>>> } >>>> >>>> >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com >>>> Sent: 10 May 2013 14:38 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> >>>> Windows 7 >>>> Firefox 20.1.0 >>>> Preview button doesn't work for anything once you've previewed >>>> Flash Player 11.7 >>>> >>>> Fine in Chrome >>>> No Joy in FF >>>> >>>> have commented out all of the JS >>>> >>>> So I'm guessing it is in the engine somewhere for FF - possible close event firing too soon? >>>> >>>> I'd put some fscommand("console.log") into the wizard. >>>> >>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>> Makers of Web things of a fair to middling quality >>>> >>>> >>>> >>>> ----- Original Message ----- >>>> From: >>>> "For Xerte technical developers" > >>>> >>>> >>>> To: >>>> "For Xerte technical developers" > >>>> Cc: >>>> >>>> >>>> Sent: >>>> Fri, 10 May 2013 14:00:36 +0100 >>>> Subject: >>>> [Xerte-dev] Re: wizard files and modules >>>> More specifically 64bit Windows 7 >>>> >>>> >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney >>>> Sent: 10 May 2013 13:58 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> >>>> Difference is Windows 7 ? everything else the same and I see the p >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From reijnders at tor.nl Sun May 12 20:44:08 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Sun, 12 May 2013 21:44:08 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <518FCA39.4070100@tor.nl> References: , <518F9565.3030600@tor.nl> <518FCA39.4070100@tor.nl> Message-ID: <518FF108.6010407@tor.nl> And this works for Flash preview as well... Op 12-5-2013 18:58, Tom Reijnders schreef: > I tried putting it in the XTInitialise/XTTerminate > > But that didn't work! > > What did worl was putting this in XTTerminate() > > window.opener.innerWidth+=2 > window.opener.innerWidth-=2 > > Op 12-5-2013 17:05, Smith, John schreef: >> I like your idea although it still doesn't quite explain why it >> happens. I've narrowed it down to these lines in SWFObject >> >> var b = doc.getElementsByTagName("body")[0]; >> var o = createElement(OBJECT); >> o.setAttribute("type", FLASH_MIME_TYPE); >> var t = b.appendChild(o); >> >> Commenting out the last line { var t = b.appendChild(o); } stops the >> problem but i'm not sure how modifying that function will affect >> other browsers etc... seems to be similar to this issue >> http://stackoverflow.com/questions/14007062/mysterious-type-error-non-native-scope-object-in-firebug >> >> Anyway, I think you were looking for window.opener and not >> window.parent though. Try changing the rloObject.htm tag to >> this... seems to work for me >> >> >> > onbeforeunload = "XTTerminate();" onunload = >> "XTTerminate();window.opener.innerWidth+=2;"> >> >> >> More of a hack than a fix but it seems to work. You might want to >> hide the extra code in your XTInitialise/XTTerminate functions... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >> Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders >> [reijnders at tor.nl] >> Sent: 12 May 2013 14:13 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> I tried a different approach to see what happens (I tried to resize the >> parent window from beforeunload) >> >> But what I see is that in the preview window, window.parent is >> recursive, i.e. window = window.parent = window.parent.parent = >> window.parent.parent.parent.... >> >> Is that normal? (Not only in firefox, but also in Chrome). >> >> Does that tell us something? >> >> Tom >> >> Op 12-5-2013 14:00, Smith, John schreef: >>> I think Tom's right that its needed in the html player to render >>> flash objects... Definitely it that's causing the issue though... Im >>> trying to debug now... >>> >>> Regards >>> >>> John Smith >>> Learning Technologist >>> School of Health and Life Sciences >>> >>> Sent from Samsung Galaxy SII >>> >>> >>> "Pat @ Pgogy" wrote: >>> >>> >>> Do you still need swf object? >>> >>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>> >>>> I think we're running into a few version/library problems which is >>>> causing it... >>>> >>>> So Fay's code is using v2.2 of SWFObject but the editor is using v1.5 >>>> >>>> Also, the flash preview isn't using either, it appears to be using >>>> rloObject.js to create the Flash... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>> | Glasgow Caledonian University >>>> Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>> Reijnders [reijnders at tor.nl] >>>> Sent: 12 May 2013 11:27 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I don't know. I thought it is needed to display swf's inside the >>>> content. >>>> Fay should know the definitive answer to that. >>>> >>>> But that doesn't help when the preview is flash... >>>> >>>> Tom >>>> >>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>> Ok i've partly solved it... >>>>> >>>>> Is this line needed in preview.php? >>>>> >>>>> >>>>> >>>>> Taking it out solves the issue for me... >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>> | Glasgow Caledonian University >>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>> Reijnders [reijnders at tor.nl] >>>>> Sent: 12 May 2013 10:52 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>> >>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>> >>>>> so now if you replace preview.php with the attached file which >>>>> does nothing but is valid XHTML then I don't see the problem any >>>>> more so it must be the preview page... there are a lot of XHTML >>>>> Transitional errors in edit.php and a couple on preview but i've >>>>> fixed these now and still not working... >>>>> >>>>> Can either of you confirm that using this preview.php file remeve >>>>> the issue from the editor? >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>> | Glasgow Caledonian University >>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] >>>>> On Behalf Of Pat @ Pgogy >>>>> [xerte at pgogywebstuff.com] >>>>> Sent: 12 May 2013 10:25 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> Has this mostly happened post the upload successful button was added? >>>>> >>>>> I think the button click event isn't firing properly in flash? >>>>> >>>>> When I last did a lot of flash stuff, Firefox always went wrong on >>>>> the object's depth properties >>>>> >>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>> wrote: >>>>> >>>>> >>>>> >>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>> Friday and it seems that it was because of what I was doing... >>>>> >>>>> When the editor window was opening I was MOVING the window so that >>>>> I could see the workspace too and it seems that this change of >>>>> focus from the Flash to the actual window was in some way doing >>>>> something to the problem but this morning I was able to reproduce >>>>> the problem this morning though because I wasn't doing anything to >>>>> the window after clicking preview... >>>>> >>>>> Please watch this screencast ( http://screencast.com/t/38tpOLopLs >>>>> ) and you'll see the button not working in exactly the same way >>>>> that you all described but then simply resizing the window >>>>> slightly makes it work again... now it's not a focus issue because >>>>> simply clicking on the window border or the window header which >>>>> would change focus away from the Flash wizard doesn't fix it... >>>>> but resizing does. But only until you preview again and then you >>>>> need to resize again... >>>>> >>>>> I have no idea why this is happening but will continue to have a >>>>> play around with various things to see if I can come up with a fix... >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>> | Glasgow Caledonian University >>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] >>>>> On Behalf Of Tom Reijnders >>>>> [reijnders at tor.nl] >>>>> Sent: 11 May 2013 12:01 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> I looked into this further as well, and I've got it working (sort >>>>> of). The original problem is beyond our control. Something gets >>>>> changed by showing and closing the preview. I concentrated on the >>>>> call to popup preview: >>>>> >>>>> Where url is 'preview.php&template_id=4' >>>>> >>>>> getURL("javascript:NewWindow = >>>>> window.open('" >>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>> ",width=" + this.template_width+ ",linkID=" + >>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>> setunload(); void(0);"); >>>>> >>>>> What I did: >>>>> 1. I changed the code to do exactly the same but in a different way: >>>>> >>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>> this.template_height, this.template_width); >>>>> - Supply javascript function in edit.php that does: >>>>> >>>>> function openPreview(url, height, width) >>>>> { >>>>> NewWindow = window.open(url, 'previewwindow', 'height=' + >>>>> height, ',width=' + width); >>>>> NewWindow.focus(); >>>>> } >>>>> >>>>> This behaves exactly the same, as in, it doesn't work. After >>>>> closing preview, the file browser doesn't pop up any more. >>>>> >>>>> 2. So, different approach, without using javascript: >>>>> >>>>> - From flash call: getURL(url, "_blank") >>>>> >>>>> This has as a drawback (or advantage) that the preview is shown in >>>>> a new window/tab in stead of a popup, and so it ignores/doesn't >>>>> use the sizes of the window. >>>>> >>>>> BUT it does work! >>>>> >>>>> Is that a viable solution? For firefox only? >>>>> >>>>> Tom >>>>> >>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>> Tested the file button, and debugged the FileRef.browse and got >>>>> Function, so it does exist, before FileRef.browse is called. >>>>> >>>>> Took out all but the void(0) and still failing. Have stripped down >>>>> the function to this. >>>>> >>>>> I don?t think it is our code. Going for beer. >>>>> >>>>> >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> xerte at pgogywebstuff.com >>>>> Sent: 10 May 2013 14:58 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>> button? >>>>> >>>>> try not setting focus? that seems a possible route? >>>>> >>>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>>> Makers of Web things of a fair to middling quality >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: >>>>> "For Xerte technical developers" >>>>> > >>>>> >>>>> To: >>>>> "For Xerte technical developers >>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>> > >>>>> >>>>> Cc: >>>>> >>>>> Sent: >>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>> Subject: >>>>> [Xerte-dev] Re: wizard files and modules >>>>> >>>>> It boils down to this: >>>>> >>>>> >>>>> function preview(){ >>>>> >>>>> >>>>> >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url = "preview_" + _root.template_id; >>>>> >>>>> }else{ >>>>> >>>>> url = "preview.php?template_id=" + >>>>> _root.template_id; >>>>> >>>>> } >>>>> >>>>> >>>>> >>>>> >>>>> saveFile(); >>>>> >>>>> ExternalInterface.call("hideunload"); >>>>> >>>>> >>>>> getURL("javascript:NewWindow = >>>>> window.open('" >>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>> ",width=" + this.template_width+ ",linkID=" + >>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>> setunload(); void(0);"); >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> } >>>>> >>>>> >>>>> From: Tenney Julian >>>>> Sent: 10 May 2013 14:51 >>>>> To: 'For Xerte technical developers' >>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> >>>>> Here be function preview() (I?m guessing you can?t see it? Can you >>>>> see anything obvious / or anything I can try commenting out / >>>>> testing to test your theory?) >>>>> Probably next week though, I have to go soon, >>>>> >>>>> >>>>> function preview(){ >>>>> >>>>> >>>>> if (xerte){ >>>>> >>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>> //post the xml data into the url specified >>>>> >>>>> saveFile(); >>>>> >>>>> } else {//play it in Xerte >>>>> >>>>> //if shift is down, jump straight to this page >>>>> if (Key.isDown(Key.SHIFT)){ >>>>> if (tree.selectedNode.attributes.linkID == >>>>> undefined){ >>>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>>> } >>>>> //set the linkID in _level0 of the runtime >>>>> (it is deleted after onInit is fired) >>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>> tree.selectedNode.attributes.linkID, "|"); >>>>> } >>>>> saveFile(); >>>>> >>>>> this.mode = 'preview'; >>>>> >>>>> >>>>> //show the preview form >>>>> mdm.form_show("preview"); >>>>> mdm.form_restore("preview"); >>>>> >>>>> //fire up the piece >>>>> mdm.form_callfunction("preview", "setMode", mode, >>>>> "|"); >>>>> mdm.form_callfunction("preview", "jumpFile", >>>>> wizard.rloFile, "|"); >>>>> } >>>>> >>>>> >>>>> } else { //this is toolkits - play or post? >>>>> >>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>> >>>>> //hardcoded in here for now - this is a bit >>>>> messy, needa better way of handling multiple runtimes with all the >>>>> security etc >>>>> if (wizard.nfoObject.wizard.runtime == >>>>> 'preview_site.php'){ >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url = "preview_" + _root.template_id; >>>>> >>>>> }else{ >>>>> >>>>> url = "preview.php?template_id=" + >>>>> _root.template_id; >>>>> >>>>> } >>>>> >>>>> saveFile(); >>>>> >>>>> ExternalInterface.call("hideunload"); >>>>> >>>>> >>>>> getURL("javascript:NewWindow = >>>>> window.open('" >>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>> setunload(); void(0);"); >>>>> >>>>> } else { >>>>> >>>>> saveFile(); >>>>> >>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>> wizard.getURLHelper.data = KOData.format(); >>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>> "_blank", "POST"); >>>>> >>>>> } >>>>> >>>>> } else { >>>>> >>>>> if (Key.isDown(Key.CONTROL)){ //play the html5 >>>>> version >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url = "preview_" + _root.template_id + >>>>> "&engine=other"; >>>>> >>>>> }else{ >>>>> >>>>> url = "preview.php?template_id=" + >>>>> _root.template_id + "&engine=other"; >>>>> >>>>> } >>>>> >>>>> } else { >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url = "preview_" + _root.template_id; >>>>> >>>>> }else{ >>>>> >>>>> url = "preview.php?template_id=" + >>>>> _root.template_id; >>>>> >>>>> } >>>>> } >>>>> >>>>> >>>>> //if shift is down, jump straight to this page >>>>> if (Key.isDown(Key.SHIFT)){ >>>>> if (tree.selectedNode.attributes.linkID == >>>>> undefined){ >>>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>>> } >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url += '_' + >>>>> tree.selectedNode.attributes.linkID; >>>>> >>>>> }else{ >>>>> >>>>> url += '&linkID=' + >>>>> tree.selectedNode.attributes.linkID; >>>>> >>>>> } >>>>> } >>>>> saveFile(); >>>>> >>>>> ExternalInterface.call("hideunload"); >>>>> >>>>> >>>>> getURL("javascript:NewWindow = >>>>> window.open('" >>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>> ",width=" + this.template_width+ ",linkID=" + >>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>> setunload(); void(0);"); >>>>> >>>>> } >>>>> } >>>>> } >>>>> >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> xerte at pgogywebstuff.com >>>>> Sent: 10 May 2013 14:38 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> >>>>> Windows 7 >>>>> Firefox 20.1.0 >>>>> Preview button doesn't work for anything once you've previewed >>>>> Flash Player 11.7 >>>>> >>>>> Fine in Chrome >>>>> No Joy in FF >>>>> >>>>> have commented out all of the JS >>>>> >>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>> close event firing too soon? >>>>> >>>>> I'd put some fscommand("console.log") into the wizard. >>>>> >>>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>>> Makers of Web things of a fair to middling quality >>>>> >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: >>>>> "For Xerte technical developers" >>>>> > >>>>> >>>>> >>>>> To: >>>>> "For Xerte technical developers" >>>>> > >>>>> Cc: >>>>> >>>>> >>>>> Sent: >>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>> Subject: >>>>> [Xerte-dev] Re: wizard files and modules >>>>> More specifically 64bit Windows 7 >>>>> >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> Julian Tenney >>>>> Sent: 10 May 2013 13:58 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> >>>>> Difference is Windows 7 ? everything else the same and I see the p >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education?s Widening Participation Initiative >>> of the Year 2009 and Herald Society?s Education Initiative of the >>> Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >>> >>> >>> Winner: Times Higher Education?s Outstanding Support for Early >>> Career Researchers of the Year 2010, GCU as a lead with Universities >>> Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> Glasgow Caledonian University is a registered Scottish charity, >> number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of >> the Year 2009 and Herald Society?s Education Initiative of the Year >> 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> >> Winner: Times Higher Education?s Outstanding Support for Early Career >> Researchers of the Year 2010, GCU as a lead with Universities >> Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee >> and may contain confidential information. If you have received this >> message in error, please send it back to me, and immediately delete >> it. Please do not use, copy or disclose the information contained >> in this message or in any attachment. Any views or opinions >> expressed by the author of this email do not necessarily reflect the >> views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment >> may still contain software viruses which could damage your computer >> system: >> you are advised to perform your own checks. Email communications with >> the >> University of Nottingham may be monitored as permitted by UK >> legislation. >> > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From reijnders at tor.nl Sun May 12 20:44:08 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Sun, 12 May 2013 21:44:08 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <518FCA39.4070100@tor.nl> References: , <518F9565.3030600@tor.nl> <518FCA39.4070100@tor.nl> Message-ID: <518FF108.6010407@tor.nl> And this works for Flash preview as well... Op 12-5-2013 18:58, Tom Reijnders schreef: > I tried putting it in the XTInitialise/XTTerminate > > But that didn't work! > > What did worl was putting this in XTTerminate() > > window.opener.innerWidth+=2 > window.opener.innerWidth-=2 > > Op 12-5-2013 17:05, Smith, John schreef: >> I like your idea although it still doesn't quite explain why it >> happens. I've narrowed it down to these lines in SWFObject >> >> var b = doc.getElementsByTagName("body")[0]; >> var o = createElement(OBJECT); >> o.setAttribute("type", FLASH_MIME_TYPE); >> var t = b.appendChild(o); >> >> Commenting out the last line { var t = b.appendChild(o); } stops the >> problem but i'm not sure how modifying that function will affect >> other browsers etc... seems to be similar to this issue >> http://stackoverflow.com/questions/14007062/mysterious-type-error-non-native-scope-object-in-firebug >> >> Anyway, I think you were looking for window.opener and not >> window.parent though. Try changing the rloObject.htm tag to >> this... seems to work for me >> >> >> > onbeforeunload = "XTTerminate();" onunload = >> "XTTerminate();window.opener.innerWidth+=2;"> >> >> >> More of a hack than a fix but it seems to work. You might want to >> hide the extra code in your XTInitialise/XTTerminate functions... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >> Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders >> [reijnders at tor.nl] >> Sent: 12 May 2013 14:13 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> I tried a different approach to see what happens (I tried to resize the >> parent window from beforeunload) >> >> But what I see is that in the preview window, window.parent is >> recursive, i.e. window = window.parent = window.parent.parent = >> window.parent.parent.parent.... >> >> Is that normal? (Not only in firefox, but also in Chrome). >> >> Does that tell us something? >> >> Tom >> >> Op 12-5-2013 14:00, Smith, John schreef: >>> I think Tom's right that its needed in the html player to render >>> flash objects... Definitely it that's causing the issue though... Im >>> trying to debug now... >>> >>> Regards >>> >>> John Smith >>> Learning Technologist >>> School of Health and Life Sciences >>> >>> Sent from Samsung Galaxy SII >>> >>> >>> "Pat @ Pgogy" wrote: >>> >>> >>> Do you still need swf object? >>> >>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>> >>>> I think we're running into a few version/library problems which is >>>> causing it... >>>> >>>> So Fay's code is using v2.2 of SWFObject but the editor is using v1.5 >>>> >>>> Also, the flash preview isn't using either, it appears to be using >>>> rloObject.js to create the Flash... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>> | Glasgow Caledonian University >>>> Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>> Reijnders [reijnders at tor.nl] >>>> Sent: 12 May 2013 11:27 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I don't know. I thought it is needed to display swf's inside the >>>> content. >>>> Fay should know the definitive answer to that. >>>> >>>> But that doesn't help when the preview is flash... >>>> >>>> Tom >>>> >>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>> Ok i've partly solved it... >>>>> >>>>> Is this line needed in preview.php? >>>>> >>>>> >>>>> >>>>> Taking it out solves the issue for me... >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>> | Glasgow Caledonian University >>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>> Reijnders [reijnders at tor.nl] >>>>> Sent: 12 May 2013 10:52 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>> >>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>> >>>>> so now if you replace preview.php with the attached file which >>>>> does nothing but is valid XHTML then I don't see the problem any >>>>> more so it must be the preview page... there are a lot of XHTML >>>>> Transitional errors in edit.php and a couple on preview but i've >>>>> fixed these now and still not working... >>>>> >>>>> Can either of you confirm that using this preview.php file remeve >>>>> the issue from the editor? >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>> | Glasgow Caledonian University >>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] >>>>> On Behalf Of Pat @ Pgogy >>>>> [xerte at pgogywebstuff.com] >>>>> Sent: 12 May 2013 10:25 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> Has this mostly happened post the upload successful button was added? >>>>> >>>>> I think the button click event isn't firing properly in flash? >>>>> >>>>> When I last did a lot of flash stuff, Firefox always went wrong on >>>>> the object's depth properties >>>>> >>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>> wrote: >>>>> >>>>> >>>>> >>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>> Friday and it seems that it was because of what I was doing... >>>>> >>>>> When the editor window was opening I was MOVING the window so that >>>>> I could see the workspace too and it seems that this change of >>>>> focus from the Flash to the actual window was in some way doing >>>>> something to the problem but this morning I was able to reproduce >>>>> the problem this morning though because I wasn't doing anything to >>>>> the window after clicking preview... >>>>> >>>>> Please watch this screencast ( http://screencast.com/t/38tpOLopLs >>>>> ) and you'll see the button not working in exactly the same way >>>>> that you all described but then simply resizing the window >>>>> slightly makes it work again... now it's not a focus issue because >>>>> simply clicking on the window border or the window header which >>>>> would change focus away from the Flash wizard doesn't fix it... >>>>> but resizing does. But only until you preview again and then you >>>>> need to resize again... >>>>> >>>>> I have no idea why this is happening but will continue to have a >>>>> play around with various things to see if I can come up with a fix... >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>> | Glasgow Caledonian University >>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] >>>>> On Behalf Of Tom Reijnders >>>>> [reijnders at tor.nl] >>>>> Sent: 11 May 2013 12:01 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> I looked into this further as well, and I've got it working (sort >>>>> of). The original problem is beyond our control. Something gets >>>>> changed by showing and closing the preview. I concentrated on the >>>>> call to popup preview: >>>>> >>>>> Where url is 'preview.php&template_id=4' >>>>> >>>>> getURL("javascript:NewWindow = >>>>> window.open('" >>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>> ",width=" + this.template_width+ ",linkID=" + >>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>> setunload(); void(0);"); >>>>> >>>>> What I did: >>>>> 1. I changed the code to do exactly the same but in a different way: >>>>> >>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>> this.template_height, this.template_width); >>>>> - Supply javascript function in edit.php that does: >>>>> >>>>> function openPreview(url, height, width) >>>>> { >>>>> NewWindow = window.open(url, 'previewwindow', 'height=' + >>>>> height, ',width=' + width); >>>>> NewWindow.focus(); >>>>> } >>>>> >>>>> This behaves exactly the same, as in, it doesn't work. After >>>>> closing preview, the file browser doesn't pop up any more. >>>>> >>>>> 2. So, different approach, without using javascript: >>>>> >>>>> - From flash call: getURL(url, "_blank") >>>>> >>>>> This has as a drawback (or advantage) that the preview is shown in >>>>> a new window/tab in stead of a popup, and so it ignores/doesn't >>>>> use the sizes of the window. >>>>> >>>>> BUT it does work! >>>>> >>>>> Is that a viable solution? For firefox only? >>>>> >>>>> Tom >>>>> >>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>> Tested the file button, and debugged the FileRef.browse and got >>>>> Function, so it does exist, before FileRef.browse is called. >>>>> >>>>> Took out all but the void(0) and still failing. Have stripped down >>>>> the function to this. >>>>> >>>>> I don?t think it is our code. Going for beer. >>>>> >>>>> >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> xerte at pgogywebstuff.com >>>>> Sent: 10 May 2013 14:58 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>> button? >>>>> >>>>> try not setting focus? that seems a possible route? >>>>> >>>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>>> Makers of Web things of a fair to middling quality >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: >>>>> "For Xerte technical developers" >>>>> > >>>>> >>>>> To: >>>>> "For Xerte technical developers >>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>> > >>>>> >>>>> Cc: >>>>> >>>>> Sent: >>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>> Subject: >>>>> [Xerte-dev] Re: wizard files and modules >>>>> >>>>> It boils down to this: >>>>> >>>>> >>>>> function preview(){ >>>>> >>>>> >>>>> >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url = "preview_" + _root.template_id; >>>>> >>>>> }else{ >>>>> >>>>> url = "preview.php?template_id=" + >>>>> _root.template_id; >>>>> >>>>> } >>>>> >>>>> >>>>> >>>>> >>>>> saveFile(); >>>>> >>>>> ExternalInterface.call("hideunload"); >>>>> >>>>> >>>>> getURL("javascript:NewWindow = >>>>> window.open('" >>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>> ",width=" + this.template_width+ ",linkID=" + >>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>> setunload(); void(0);"); >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> } >>>>> >>>>> >>>>> From: Tenney Julian >>>>> Sent: 10 May 2013 14:51 >>>>> To: 'For Xerte technical developers' >>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> >>>>> Here be function preview() (I?m guessing you can?t see it? Can you >>>>> see anything obvious / or anything I can try commenting out / >>>>> testing to test your theory?) >>>>> Probably next week though, I have to go soon, >>>>> >>>>> >>>>> function preview(){ >>>>> >>>>> >>>>> if (xerte){ >>>>> >>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>> //post the xml data into the url specified >>>>> >>>>> saveFile(); >>>>> >>>>> } else {//play it in Xerte >>>>> >>>>> //if shift is down, jump straight to this page >>>>> if (Key.isDown(Key.SHIFT)){ >>>>> if (tree.selectedNode.attributes.linkID == >>>>> undefined){ >>>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>>> } >>>>> //set the linkID in _level0 of the runtime >>>>> (it is deleted after onInit is fired) >>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>> tree.selectedNode.attributes.linkID, "|"); >>>>> } >>>>> saveFile(); >>>>> >>>>> this.mode = 'preview'; >>>>> >>>>> >>>>> //show the preview form >>>>> mdm.form_show("preview"); >>>>> mdm.form_restore("preview"); >>>>> >>>>> //fire up the piece >>>>> mdm.form_callfunction("preview", "setMode", mode, >>>>> "|"); >>>>> mdm.form_callfunction("preview", "jumpFile", >>>>> wizard.rloFile, "|"); >>>>> } >>>>> >>>>> >>>>> } else { //this is toolkits - play or post? >>>>> >>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>> >>>>> //hardcoded in here for now - this is a bit >>>>> messy, needa better way of handling multiple runtimes with all the >>>>> security etc >>>>> if (wizard.nfoObject.wizard.runtime == >>>>> 'preview_site.php'){ >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url = "preview_" + _root.template_id; >>>>> >>>>> }else{ >>>>> >>>>> url = "preview.php?template_id=" + >>>>> _root.template_id; >>>>> >>>>> } >>>>> >>>>> saveFile(); >>>>> >>>>> ExternalInterface.call("hideunload"); >>>>> >>>>> >>>>> getURL("javascript:NewWindow = >>>>> window.open('" >>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>> setunload(); void(0);"); >>>>> >>>>> } else { >>>>> >>>>> saveFile(); >>>>> >>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>> wizard.getURLHelper.data = KOData.format(); >>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>> "_blank", "POST"); >>>>> >>>>> } >>>>> >>>>> } else { >>>>> >>>>> if (Key.isDown(Key.CONTROL)){ //play the html5 >>>>> version >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url = "preview_" + _root.template_id + >>>>> "&engine=other"; >>>>> >>>>> }else{ >>>>> >>>>> url = "preview.php?template_id=" + >>>>> _root.template_id + "&engine=other"; >>>>> >>>>> } >>>>> >>>>> } else { >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url = "preview_" + _root.template_id; >>>>> >>>>> }else{ >>>>> >>>>> url = "preview.php?template_id=" + >>>>> _root.template_id; >>>>> >>>>> } >>>>> } >>>>> >>>>> >>>>> //if shift is down, jump straight to this page >>>>> if (Key.isDown(Key.SHIFT)){ >>>>> if (tree.selectedNode.attributes.linkID == >>>>> undefined){ >>>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>>> } >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url += '_' + >>>>> tree.selectedNode.attributes.linkID; >>>>> >>>>> }else{ >>>>> >>>>> url += '&linkID=' + >>>>> tree.selectedNode.attributes.linkID; >>>>> >>>>> } >>>>> } >>>>> saveFile(); >>>>> >>>>> ExternalInterface.call("hideunload"); >>>>> >>>>> >>>>> getURL("javascript:NewWindow = >>>>> window.open('" >>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>> ",width=" + this.template_width+ ",linkID=" + >>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>> setunload(); void(0);"); >>>>> >>>>> } >>>>> } >>>>> } >>>>> >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> xerte at pgogywebstuff.com >>>>> Sent: 10 May 2013 14:38 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> >>>>> Windows 7 >>>>> Firefox 20.1.0 >>>>> Preview button doesn't work for anything once you've previewed >>>>> Flash Player 11.7 >>>>> >>>>> Fine in Chrome >>>>> No Joy in FF >>>>> >>>>> have commented out all of the JS >>>>> >>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>> close event firing too soon? >>>>> >>>>> I'd put some fscommand("console.log") into the wizard. >>>>> >>>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>>> Makers of Web things of a fair to middling quality >>>>> >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: >>>>> "For Xerte technical developers" >>>>> > >>>>> >>>>> >>>>> To: >>>>> "For Xerte technical developers" >>>>> > >>>>> Cc: >>>>> >>>>> >>>>> Sent: >>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>> Subject: >>>>> [Xerte-dev] Re: wizard files and modules >>>>> More specifically 64bit Windows 7 >>>>> >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> Julian Tenney >>>>> Sent: 10 May 2013 13:58 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> >>>>> Difference is Windows 7 ? everything else the same and I see the p >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education?s Widening Participation Initiative >>> of the Year 2009 and Herald Society?s Education Initiative of the >>> Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >>> >>> >>> Winner: Times Higher Education?s Outstanding Support for Early >>> Career Researchers of the Year 2010, GCU as a lead with Universities >>> Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> Glasgow Caledonian University is a registered Scottish charity, >> number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of >> the Year 2009 and Herald Society?s Education Initiative of the Year >> 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> >> Winner: Times Higher Education?s Outstanding Support for Early Career >> Researchers of the Year 2010, GCU as a lead with Universities >> Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee >> and may contain confidential information. If you have received this >> message in error, please send it back to me, and immediately delete >> it. Please do not use, copy or disclose the information contained >> in this message or in any attachment. Any views or opinions >> expressed by the author of this email do not necessarily reflect the >> views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment >> may still contain software viruses which could damage your computer >> system: >> you are advised to perform your own checks. Email communications with >> the >> University of Nottingham may be monitored as permitted by UK >> legislation. >> > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From J.J.Smith at gcu.ac.uk Sun May 12 21:33:14 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Sun, 12 May 2013 21:33:14 +0100 Subject: [Xerte-dev] Re: wizard files and modules Message-ID: Took a while but we got there :-) Hopefully its a temporary measure anyway until the new html5 editor can take over. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Tom Reijnders wrote: And this works for Flash preview as well... Op 12-5-2013 18:58, Tom Reijnders schreef: > I tried putting it in the XTInitialise/XTTerminate > > But that didn't work! > > What did worl was putting this in XTTerminate() > > window.opener.innerWidth+=2 > window.opener.innerWidth-=2 > > Op 12-5-2013 17:05, Smith, John schreef: >> I like your idea although it still doesn't quite explain why it >> happens. I've narrowed it down to these lines in SWFObject >> >> var b = doc.getElementsByTagName("body")[0]; >> var o = createElement(OBJECT); >> o.setAttribute("type", FLASH_MIME_TYPE); >> var t = b.appendChild(o); >> >> Commenting out the last line { var t = b.appendChild(o); } stops the >> problem but i'm not sure how modifying that function will affect >> other browsers etc... seems to be similar to this issue >> http://stackoverflow.com/questions/14007062/mysterious-type-error-non-native-scope-object-in-firebug >> >> Anyway, I think you were looking for window.opener and not >> window.parent though. Try changing the rloObject.htm tag to >> this... seems to work for me >> >> >> > onbeforeunload = "XTTerminate();" onunload = >> "XTTerminate();window.opener.innerWidth+=2;"> >> >> >> More of a hack than a fix but it seems to work. You might want to >> hide the extra code in your XTInitialise/XTTerminate functions... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >> Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders >> [reijnders at tor.nl] >> Sent: 12 May 2013 14:13 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> I tried a different approach to see what happens (I tried to resize the >> parent window from beforeunload) >> >> But what I see is that in the preview window, window.parent is >> recursive, i.e. window = window.parent = window.parent.parent = >> window.parent.parent.parent.... >> >> Is that normal? (Not only in firefox, but also in Chrome). >> >> Does that tell us something? >> >> Tom >> >> Op 12-5-2013 14:00, Smith, John schreef: >>> I think Tom's right that its needed in the html player to render >>> flash objects... Definitely it that's causing the issue though... Im >>> trying to debug now... >>> >>> Regards >>> >>> John Smith >>> Learning Technologist >>> School of Health and Life Sciences >>> >>> Sent from Samsung Galaxy SII >>> >>> >>> "Pat @ Pgogy" wrote: >>> >>> >>> Do you still need swf object? >>> >>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>> >>>> I think we're running into a few version/library problems which is >>>> causing it... >>>> >>>> So Fay's code is using v2.2 of SWFObject but the editor is using v1.5 >>>> >>>> Also, the flash preview isn't using either, it appears to be using >>>> rloObject.js to create the Flash... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>> | Glasgow Caledonian University >>>> Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>> Reijnders [reijnders at tor.nl] >>>> Sent: 12 May 2013 11:27 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I don't know. I thought it is needed to display swf's inside the >>>> content. >>>> Fay should know the definitive answer to that. >>>> >>>> But that doesn't help when the preview is flash... >>>> >>>> Tom >>>> >>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>> Ok i've partly solved it... >>>>> >>>>> Is this line needed in preview.php? >>>>> >>>>> >>>>> >>>>> Taking it out solves the issue for me... >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>> | Glasgow Caledonian University >>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>> Reijnders [reijnders at tor.nl] >>>>> Sent: 12 May 2013 10:52 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>> >>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>> >>>>> so now if you replace preview.php with the attached file which >>>>> does nothing but is valid XHTML then I don't see the problem any >>>>> more so it must be the preview page... there are a lot of XHTML >>>>> Transitional errors in edit.php and a couple on preview but i've >>>>> fixed these now and still not working... >>>>> >>>>> Can either of you confirm that using this preview.php file remeve >>>>> the issue from the editor? >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>> | Glasgow Caledonian University >>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] >>>>> On Behalf Of Pat @ Pgogy >>>>> [xerte at pgogywebstuff.com] >>>>> Sent: 12 May 2013 10:25 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> Has this mostly happened post the upload successful button was added? >>>>> >>>>> I think the button click event isn't firing properly in flash? >>>>> >>>>> When I last did a lot of flash stuff, Firefox always went wrong on >>>>> the object's depth properties >>>>> >>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>> wrote: >>>>> >>>>> >>>>> >>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>> Friday and it seems that it was because of what I was doing... >>>>> >>>>> When the editor window was opening I was MOVING the window so that >>>>> I could see the workspace too and it seems that this change of >>>>> focus from the Flash to the actual window was in some way doing >>>>> something to the problem but this morning I was able to reproduce >>>>> the problem this morning though because I wasn't doing anything to >>>>> the window after clicking preview... >>>>> >>>>> Please watch this screencast ( http://screencast.com/t/38tpOLopLs >>>>> ) and you'll see the button not working in exactly the same way >>>>> that you all described but then simply resizing the window >>>>> slightly makes it work again... now it's not a focus issue because >>>>> simply clicking on the window border or the window header which >>>>> would change focus away from the Flash wizard doesn't fix it... >>>>> but resizing does. But only until you preview again and then you >>>>> need to resize again... >>>>> >>>>> I have no idea why this is happening but will continue to have a >>>>> play around with various things to see if I can come up with a fix... >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>> | Glasgow Caledonian University >>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] >>>>> On Behalf Of Tom Reijnders >>>>> [reijnders at tor.nl] >>>>> Sent: 11 May 2013 12:01 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> I looked into this further as well, and I've got it working (sort >>>>> of). The original problem is beyond our control. Something gets >>>>> changed by showing and closing the preview. I concentrated on the >>>>> call to popup preview: >>>>> >>>>> Where url is 'preview.php&template_id=4' >>>>> >>>>> getURL("javascript:NewWindow = >>>>> window.open('" >>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>> ",width=" + this.template_width+ ",linkID=" + >>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>> setunload(); void(0);"); >>>>> >>>>> What I did: >>>>> 1. I changed the code to do exactly the same but in a different way: >>>>> >>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>> this.template_height, this.template_width); >>>>> - Supply javascript function in edit.php that does: >>>>> >>>>> function openPreview(url, height, width) >>>>> { >>>>> NewWindow = window.open(url, 'previewwindow', 'height=' + >>>>> height, ',width=' + width); >>>>> NewWindow.focus(); >>>>> } >>>>> >>>>> This behaves exactly the same, as in, it doesn't work. After >>>>> closing preview, the file browser doesn't pop up any more. >>>>> >>>>> 2. So, different approach, without using javascript: >>>>> >>>>> - From flash call: getURL(url, "_blank") >>>>> >>>>> This has as a drawback (or advantage) that the preview is shown in >>>>> a new window/tab in stead of a popup, and so it ignores/doesn't >>>>> use the sizes of the window. >>>>> >>>>> BUT it does work! >>>>> >>>>> Is that a viable solution? For firefox only? >>>>> >>>>> Tom >>>>> >>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>> Tested the file button, and debugged the FileRef.browse and got >>>>> Function, so it does exist, before FileRef.browse is called. >>>>> >>>>> Took out all but the void(0) and still failing. Have stripped down >>>>> the function to this. >>>>> >>>>> I don?t think it is our code. Going for beer. >>>>> >>>>> >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> xerte at pgogywebstuff.com >>>>> Sent: 10 May 2013 14:58 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>> button? >>>>> >>>>> try not setting focus? that seems a possible route? >>>>> >>>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>>> Makers of Web things of a fair to middling quality >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: >>>>> "For Xerte technical developers" >>>>> > >>>>> >>>>> To: >>>>> "For Xerte technical developers >>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>> > >>>>> >>>>> Cc: >>>>> >>>>> Sent: >>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>> Subject: >>>>> [Xerte-dev] Re: wizard files and modules >>>>> >>>>> It boils down to this: >>>>> >>>>> >>>>> function preview(){ >>>>> >>>>> >>>>> >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url = "preview_" + _root.template_id; >>>>> >>>>> }else{ >>>>> >>>>> url = "preview.php?template_id=" + >>>>> _root.template_id; >>>>> >>>>> } >>>>> >>>>> >>>>> >>>>> >>>>> saveFile(); >>>>> >>>>> ExternalInterface.call("hideunload"); >>>>> >>>>> >>>>> getURL("javascript:NewWindow = >>>>> window.open('" >>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>> ",width=" + this.template_width+ ",linkID=" + >>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>> setunload(); void(0);"); >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> } >>>>> >>>>> >>>>> From: Tenney Julian >>>>> Sent: 10 May 2013 14:51 >>>>> To: 'For Xerte technical developers' >>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> >>>>> Here be function preview() (I?m guessing you can?t see it? Can you >>>>> see anything obvious / or anything I can try commenting out / >>>>> testing to test your theory?) >>>>> Probably next week though, I have to go soon, >>>>> >>>>> >>>>> function preview(){ >>>>> >>>>> >>>>> if (xerte){ >>>>> >>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>> //post the xml data into the url specified >>>>> >>>>> saveFile(); >>>>> >>>>> } else {//play it in Xerte >>>>> >>>>> //if shift is down, jump straight to this page >>>>> if (Key.isDown(Key.SHIFT)){ >>>>> if (tree.selectedNode.attributes.linkID == >>>>> undefined){ >>>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>>> } >>>>> //set the linkID in _level0 of the runtime >>>>> (it is deleted after onInit is fired) >>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>> tree.selectedNode.attributes.linkID, "|"); >>>>> } >>>>> saveFile(); >>>>> >>>>> this.mode = 'preview'; >>>>> >>>>> >>>>> //show the preview form >>>>> mdm.form_show("preview"); >>>>> mdm.form_restore("preview"); >>>>> >>>>> //fire up the piece >>>>> mdm.form_callfunction("preview", "setMode", mode, >>>>> "|"); >>>>> mdm.form_callfunction("preview", "jumpFile", >>>>> wizard.rloFile, "|"); >>>>> } >>>>> >>>>> >>>>> } else { //this is toolkits - play or post? >>>>> >>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>> >>>>> //hardcoded in here for now - this is a bit >>>>> messy, needa better way of handling multiple runtimes with all the >>>>> security etc >>>>> if (wizard.nfoObject.wizard.runtime == >>>>> 'preview_site.php'){ >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url = "preview_" + _root.template_id; >>>>> >>>>> }else{ >>>>> >>>>> url = "preview.php?template_id=" + >>>>> _root.template_id; >>>>> >>>>> } >>>>> >>>>> saveFile(); >>>>> >>>>> ExternalInterface.call("hideunload"); >>>>> >>>>> >>>>> getURL("javascript:NewWindow = >>>>> window.open('" >>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>> setunload(); void(0);"); >>>>> >>>>> } else { >>>>> >>>>> saveFile(); >>>>> >>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>> wizard.getURLHelper.data = KOData.format(); >>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>> "_blank", "POST"); >>>>> >>>>> } >>>>> >>>>> } else { >>>>> >>>>> if (Key.isDown(Key.CONTROL)){ //play the html5 >>>>> version >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url = "preview_" + _root.template_id + >>>>> "&engine=other"; >>>>> >>>>> }else{ >>>>> >>>>> url = "preview.php?template_id=" + >>>>> _root.template_id + "&engine=other"; >>>>> >>>>> } >>>>> >>>>> } else { >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url = "preview_" + _root.template_id; >>>>> >>>>> }else{ >>>>> >>>>> url = "preview.php?template_id=" + >>>>> _root.template_id; >>>>> >>>>> } >>>>> } >>>>> >>>>> >>>>> //if shift is down, jump straight to this page >>>>> if (Key.isDown(Key.SHIFT)){ >>>>> if (tree.selectedNode.attributes.linkID == >>>>> undefined){ >>>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>>> } >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url += '_' + >>>>> tree.selectedNode.attributes.linkID; >>>>> >>>>> }else{ >>>>> >>>>> url += '&linkID=' + >>>>> tree.selectedNode.attributes.linkID; >>>>> >>>>> } >>>>> } >>>>> saveFile(); >>>>> >>>>> ExternalInterface.call("hideunload"); >>>>> >>>>> >>>>> getURL("javascript:NewWindow = >>>>> window.open('" >>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>> ",width=" + this.template_width+ ",linkID=" + >>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>> setunload(); void(0);"); >>>>> >>>>> } >>>>> } >>>>> } >>>>> >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> xerte at pgogywebstuff.com >>>>> Sent: 10 May 2013 14:38 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> >>>>> Windows 7 >>>>> Firefox 20.1.0 >>>>> Preview button doesn't work for anything once you've previewed >>>>> Flash Player 11.7 >>>>> >>>>> Fine in Chrome >>>>> No Joy in FF >>>>> >>>>> have commented out all of the JS >>>>> >>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>> close event firing too soon? >>>>> >>>>> I'd put some fscommand("console.log") into the wizard. >>>>> >>>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>>> Makers of Web things of a fair to middling quality >>>>> >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: >>>>> "For Xerte technical developers" >>>>> > >>>>> >>>>> >>>>> To: >>>>> "For Xerte technical developers" >>>>> > >>>>> Cc: >>>>> >>>>> >>>>> Sent: >>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>> Subject: >>>>> [Xerte-dev] Re: wizard files and modules >>>>> More specifically 64bit Windows 7 >>>>> >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> Julian Tenney >>>>> Sent: 10 May 2013 13:58 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> >>>>> Difference is Windows 7 ? everything else the same and I see the p >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education?s Widening Participation Initiative >>> of the Year 2009 and Herald Society?s Education Initiative of the >>> Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >>> >>> >>> Winner: Times Higher Education?s Outstanding Support for Early >>> Career Researchers of the Year 2010, GCU as a lead with Universities >>> Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> Glasgow Caledonian University is a registered Scottish charity, >> number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of >> the Year 2009 and Herald Society?s Education Initiative of the Year >> 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> >> Winner: Times Higher Education?s Outstanding Support for Early Career >> Researchers of the Year 2010, GCU as a lead with Universities >> Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee >> and may contain confidential information. If you have received this >> message in error, please send it back to me, and immediately delete >> it. Please do not use, copy or disclose the information contained >> in this message or in any attachment. Any views or opinions >> expressed by the author of this email do not necessarily reflect the >> views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment >> may still contain software viruses which could damage your computer >> system: >> you are advised to perform your own checks. Email communications with >> the >> University of Nottingham may be monitored as permitted by UK >> legislation. >> > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Sun May 12 21:49:54 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Sun, 12 May 2013 21:49:54 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51180B3F@EXCHANGE1.ad.nottingham.ac.uk> Fellas! Nice one. I was just thinking about all this - magic, cheers. ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John [J.J.Smith at gcu.ac.uk] Sent: 12 May 2013 21:33 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: wizard files and modules Took a while but we got there :-) Hopefully its a temporary measure anyway until the new html5 editor can take over. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Tom Reijnders wrote: And this works for Flash preview as well... Op 12-5-2013 18:58, Tom Reijnders schreef: > I tried putting it in the XTInitialise/XTTerminate > > But that didn't work! > > What did worl was putting this in XTTerminate() > > window.opener.innerWidth+=2 > window.opener.innerWidth-=2 > > Op 12-5-2013 17:05, Smith, John schreef: >> I like your idea although it still doesn't quite explain why it >> happens. I've narrowed it down to these lines in SWFObject >> >> var b = doc.getElementsByTagName("body")[0]; >> var o = createElement(OBJECT); >> o.setAttribute("type", FLASH_MIME_TYPE); >> var t = b.appendChild(o); >> >> Commenting out the last line { var t = b.appendChild(o); } stops the >> problem but i'm not sure how modifying that function will affect >> other browsers etc... seems to be similar to this issue >> http://stackoverflow.com/questions/14007062/mysterious-type-error-non-native-scope-object-in-firebug >> >> Anyway, I think you were looking for window.opener and not >> window.parent though. Try changing the rloObject.htm tag to >> this... seems to work for me >> >> >> > onbeforeunload = "XTTerminate();" onunload = >> "XTTerminate();window.opener.innerWidth+=2;"> >> >> >> More of a hack than a fix but it seems to work. You might want to >> hide the extra code in your XTInitialise/XTTerminate functions... >> >> Regards, >> >> John Smith | Learning Technologist >> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >> Glasgow Caledonian University >> Cowcaddens Road | Glasgow | G4 0BA >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders >> [reijnders at tor.nl] >> Sent: 12 May 2013 14:13 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> I tried a different approach to see what happens (I tried to resize the >> parent window from beforeunload) >> >> But what I see is that in the preview window, window.parent is >> recursive, i.e. window = window.parent = window.parent.parent = >> window.parent.parent.parent.... >> >> Is that normal? (Not only in firefox, but also in Chrome). >> >> Does that tell us something? >> >> Tom >> >> Op 12-5-2013 14:00, Smith, John schreef: >>> I think Tom's right that its needed in the html player to render >>> flash objects... Definitely it that's causing the issue though... Im >>> trying to debug now... >>> >>> Regards >>> >>> John Smith >>> Learning Technologist >>> School of Health and Life Sciences >>> >>> Sent from Samsung Galaxy SII >>> >>> >>> "Pat @ Pgogy" wrote: >>> >>> >>> Do you still need swf object? >>> >>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>> >>>> I think we're running into a few version/library problems which is >>>> causing it... >>>> >>>> So Fay's code is using v2.2 of SWFObject but the editor is using v1.5 >>>> >>>> Also, the flash preview isn't using either, it appears to be using >>>> rloObject.js to create the Flash... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>> | Glasgow Caledonian University >>>> Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>> Reijnders [reijnders at tor.nl] >>>> Sent: 12 May 2013 11:27 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I don't know. I thought it is needed to display swf's inside the >>>> content. >>>> Fay should know the definitive answer to that. >>>> >>>> But that doesn't help when the preview is flash... >>>> >>>> Tom >>>> >>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>> Ok i've partly solved it... >>>>> >>>>> Is this line needed in preview.php? >>>>> >>>>> >>>>> >>>>> Taking it out solves the issue for me... >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>> | Glasgow Caledonian University >>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>> Reijnders [reijnders at tor.nl] >>>>> Sent: 12 May 2013 10:52 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>> >>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>> >>>>> so now if you replace preview.php with the attached file which >>>>> does nothing but is valid XHTML then I don't see the problem any >>>>> more so it must be the preview page... there are a lot of XHTML >>>>> Transitional errors in edit.php and a couple on preview but i've >>>>> fixed these now and still not working... >>>>> >>>>> Can either of you confirm that using this preview.php file remeve >>>>> the issue from the editor? >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>> | Glasgow Caledonian University >>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] >>>>> On Behalf Of Pat @ Pgogy >>>>> [xerte at pgogywebstuff.com] >>>>> Sent: 12 May 2013 10:25 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> Has this mostly happened post the upload successful button was added? >>>>> >>>>> I think the button click event isn't firing properly in flash? >>>>> >>>>> When I last did a lot of flash stuff, Firefox always went wrong on >>>>> the object's depth properties >>>>> >>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>> wrote: >>>>> >>>>> >>>>> >>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>> Friday and it seems that it was because of what I was doing... >>>>> >>>>> When the editor window was opening I was MOVING the window so that >>>>> I could see the workspace too and it seems that this change of >>>>> focus from the Flash to the actual window was in some way doing >>>>> something to the problem but this morning I was able to reproduce >>>>> the problem this morning though because I wasn't doing anything to >>>>> the window after clicking preview... >>>>> >>>>> Please watch this screencast ( http://screencast.com/t/38tpOLopLs >>>>> ) and you'll see the button not working in exactly the same way >>>>> that you all described but then simply resizing the window >>>>> slightly makes it work again... now it's not a focus issue because >>>>> simply clicking on the window border or the window header which >>>>> would change focus away from the Flash wizard doesn't fix it... >>>>> but resizing does. But only until you preview again and then you >>>>> need to resize again... >>>>> >>>>> I have no idea why this is happening but will continue to have a >>>>> play around with various things to see if I can come up with a fix... >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>> | Glasgow Caledonian University >>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] >>>>> On Behalf Of Tom Reijnders >>>>> [reijnders at tor.nl] >>>>> Sent: 11 May 2013 12:01 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> I looked into this further as well, and I've got it working (sort >>>>> of). The original problem is beyond our control. Something gets >>>>> changed by showing and closing the preview. I concentrated on the >>>>> call to popup preview: >>>>> >>>>> Where url is 'preview.php&template_id=4' >>>>> >>>>> getURL("javascript:NewWindow = >>>>> window.open('" >>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>> ",width=" + this.template_width+ ",linkID=" + >>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>> setunload(); void(0);"); >>>>> >>>>> What I did: >>>>> 1. I changed the code to do exactly the same but in a different way: >>>>> >>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>> this.template_height, this.template_width); >>>>> - Supply javascript function in edit.php that does: >>>>> >>>>> function openPreview(url, height, width) >>>>> { >>>>> NewWindow = window.open(url, 'previewwindow', 'height=' + >>>>> height, ',width=' + width); >>>>> NewWindow.focus(); >>>>> } >>>>> >>>>> This behaves exactly the same, as in, it doesn't work. After >>>>> closing preview, the file browser doesn't pop up any more. >>>>> >>>>> 2. So, different approach, without using javascript: >>>>> >>>>> - From flash call: getURL(url, "_blank") >>>>> >>>>> This has as a drawback (or advantage) that the preview is shown in >>>>> a new window/tab in stead of a popup, and so it ignores/doesn't >>>>> use the sizes of the window. >>>>> >>>>> BUT it does work! >>>>> >>>>> Is that a viable solution? For firefox only? >>>>> >>>>> Tom >>>>> >>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>> Tested the file button, and debugged the FileRef.browse and got >>>>> Function, so it does exist, before FileRef.browse is called. >>>>> >>>>> Took out all but the void(0) and still failing. Have stripped down >>>>> the function to this. >>>>> >>>>> I don?t think it is our code. Going for beer. >>>>> >>>>> >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> xerte at pgogywebstuff.com >>>>> Sent: 10 May 2013 14:58 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>> button? >>>>> >>>>> try not setting focus? that seems a possible route? >>>>> >>>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>>> Makers of Web things of a fair to middling quality >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: >>>>> "For Xerte technical developers" >>>>> > >>>>> >>>>> To: >>>>> "For Xerte technical developers >>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>> > >>>>> >>>>> Cc: >>>>> >>>>> Sent: >>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>> Subject: >>>>> [Xerte-dev] Re: wizard files and modules >>>>> >>>>> It boils down to this: >>>>> >>>>> >>>>> function preview(){ >>>>> >>>>> >>>>> >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url = "preview_" + _root.template_id; >>>>> >>>>> }else{ >>>>> >>>>> url = "preview.php?template_id=" + >>>>> _root.template_id; >>>>> >>>>> } >>>>> >>>>> >>>>> >>>>> >>>>> saveFile(); >>>>> >>>>> ExternalInterface.call("hideunload"); >>>>> >>>>> >>>>> getURL("javascript:NewWindow = >>>>> window.open('" >>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>> ",width=" + this.template_width+ ",linkID=" + >>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>> setunload(); void(0);"); >>>>> >>>>> >>>>> >>>>> >>>>> >>>>> } >>>>> >>>>> >>>>> From: Tenney Julian >>>>> Sent: 10 May 2013 14:51 >>>>> To: 'For Xerte technical developers' >>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> >>>>> Here be function preview() (I?m guessing you can?t see it? Can you >>>>> see anything obvious / or anything I can try commenting out / >>>>> testing to test your theory?) >>>>> Probably next week though, I have to go soon, >>>>> >>>>> >>>>> function preview(){ >>>>> >>>>> >>>>> if (xerte){ >>>>> >>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>> //post the xml data into the url specified >>>>> >>>>> saveFile(); >>>>> >>>>> } else {//play it in Xerte >>>>> >>>>> //if shift is down, jump straight to this page >>>>> if (Key.isDown(Key.SHIFT)){ >>>>> if (tree.selectedNode.attributes.linkID == >>>>> undefined){ >>>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>>> } >>>>> //set the linkID in _level0 of the runtime >>>>> (it is deleted after onInit is fired) >>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>> tree.selectedNode.attributes.linkID, "|"); >>>>> } >>>>> saveFile(); >>>>> >>>>> this.mode = 'preview'; >>>>> >>>>> >>>>> //show the preview form >>>>> mdm.form_show("preview"); >>>>> mdm.form_restore("preview"); >>>>> >>>>> //fire up the piece >>>>> mdm.form_callfunction("preview", "setMode", mode, >>>>> "|"); >>>>> mdm.form_callfunction("preview", "jumpFile", >>>>> wizard.rloFile, "|"); >>>>> } >>>>> >>>>> >>>>> } else { //this is toolkits - play or post? >>>>> >>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>> >>>>> //hardcoded in here for now - this is a bit >>>>> messy, needa better way of handling multiple runtimes with all the >>>>> security etc >>>>> if (wizard.nfoObject.wizard.runtime == >>>>> 'preview_site.php'){ >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url = "preview_" + _root.template_id; >>>>> >>>>> }else{ >>>>> >>>>> url = "preview.php?template_id=" + >>>>> _root.template_id; >>>>> >>>>> } >>>>> >>>>> saveFile(); >>>>> >>>>> ExternalInterface.call("hideunload"); >>>>> >>>>> >>>>> getURL("javascript:NewWindow = >>>>> window.open('" >>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>> setunload(); void(0);"); >>>>> >>>>> } else { >>>>> >>>>> saveFile(); >>>>> >>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>> wizard.getURLHelper.data = KOData.format(); >>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>> "_blank", "POST"); >>>>> >>>>> } >>>>> >>>>> } else { >>>>> >>>>> if (Key.isDown(Key.CONTROL)){ //play the html5 >>>>> version >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url = "preview_" + _root.template_id + >>>>> "&engine=other"; >>>>> >>>>> }else{ >>>>> >>>>> url = "preview.php?template_id=" + >>>>> _root.template_id + "&engine=other"; >>>>> >>>>> } >>>>> >>>>> } else { >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url = "preview_" + _root.template_id; >>>>> >>>>> }else{ >>>>> >>>>> url = "preview.php?template_id=" + >>>>> _root.template_id; >>>>> >>>>> } >>>>> } >>>>> >>>>> >>>>> //if shift is down, jump straight to this page >>>>> if (Key.isDown(Key.SHIFT)){ >>>>> if (tree.selectedNode.attributes.linkID == >>>>> undefined){ >>>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>>> } >>>>> >>>>> if(_root.apache!="false"){ >>>>> >>>>> url += '_' + >>>>> tree.selectedNode.attributes.linkID; >>>>> >>>>> }else{ >>>>> >>>>> url += '&linkID=' + >>>>> tree.selectedNode.attributes.linkID; >>>>> >>>>> } >>>>> } >>>>> saveFile(); >>>>> >>>>> ExternalInterface.call("hideunload"); >>>>> >>>>> >>>>> getURL("javascript:NewWindow = >>>>> window.open('" >>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>> ",width=" + this.template_width+ ",linkID=" + >>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>> setunload(); void(0);"); >>>>> >>>>> } >>>>> } >>>>> } >>>>> >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> xerte at pgogywebstuff.com >>>>> Sent: 10 May 2013 14:38 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> >>>>> Windows 7 >>>>> Firefox 20.1.0 >>>>> Preview button doesn't work for anything once you've previewed >>>>> Flash Player 11.7 >>>>> >>>>> Fine in Chrome >>>>> No Joy in FF >>>>> >>>>> have commented out all of the JS >>>>> >>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>> close event firing too soon? >>>>> >>>>> I'd put some fscommand("console.log") into the wizard. >>>>> >>>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>>> Makers of Web things of a fair to middling quality >>>>> >>>>> >>>>> >>>>> ----- Original Message ----- >>>>> From: >>>>> "For Xerte technical developers" >>>>> > >>>>> >>>>> >>>>> To: >>>>> "For Xerte technical developers" >>>>> > >>>>> Cc: >>>>> >>>>> >>>>> Sent: >>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>> Subject: >>>>> [Xerte-dev] Re: wizard files and modules >>>>> More specifically 64bit Windows 7 >>>>> >>>>> >>>>> From: >>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>> Julian Tenney >>>>> Sent: 10 May 2013 13:58 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> >>>>> Difference is Windows 7 ? everything else the same and I see the p >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education?s Widening Participation Initiative >>> of the Year 2009 and Herald Society?s Education Initiative of the >>> Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >>> >>> >>> Winner: Times Higher Education?s Outstanding Support for Early >>> Career Researchers of the Year 2010, GCU as a lead with Universities >>> Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> Glasgow Caledonian University is a registered Scottish charity, >> number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of >> the Year 2009 and Herald Society?s Education Initiative of the Year >> 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> >> Winner: Times Higher Education?s Outstanding Support for Early Career >> Researchers of the Year 2010, GCU as a lead with Universities >> Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee >> and may contain confidential information. If you have received this >> message in error, please send it back to me, and immediately delete >> it. Please do not use, copy or disclose the information contained >> in this message or in any attachment. Any views or opinions >> expressed by the author of this email do not necessarily reflect the >> views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment >> may still contain software viruses which could damage your computer >> system: >> you are advised to perform your own checks. Email communications with >> the >> University of Nottingham may be monitored as permitted by UK >> legislation. >> > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From reijnders at tor.nl Mon May 13 07:27:38 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 13 May 2013 08:27:38 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51180B3F@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51180B3F@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <519087DA.4000509@tor.nl> Could you please verify it works for you too? Then I'll commit this. This file belongs in modules/xerte/parent_templates/common_html5/js and in modules/xerte/js And yes it would be better not to duplicate... Tom Op 12-5-2013 22:49, Julian Tenney schreef: > Fellas! Nice one. I was just thinking about all this - magic, cheers. > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John [J.J.Smith at gcu.ac.uk] > Sent: 12 May 2013 21:33 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: wizard files and modules > > Took a while but we got there :-) > > Hopefully its a temporary measure anyway until the new html5 editor can take over. > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Tom Reijnders wrote: > > > And this works for Flash preview as well... > > Op 12-5-2013 18:58, Tom Reijnders schreef: >> I tried putting it in the XTInitialise/XTTerminate >> >> But that didn't work! >> >> What did worl was putting this in XTTerminate() >> >> window.opener.innerWidth+=2 >> window.opener.innerWidth-=2 >> >> Op 12-5-2013 17:05, Smith, John schreef: >>> I like your idea although it still doesn't quite explain why it >>> happens. I've narrowed it down to these lines in SWFObject >>> >>> var b = doc.getElementsByTagName("body")[0]; >>> var o = createElement(OBJECT); >>> o.setAttribute("type", FLASH_MIME_TYPE); >>> var t = b.appendChild(o); >>> >>> Commenting out the last line { var t = b.appendChild(o); } stops the >>> problem but i'm not sure how modifying that function will affect >>> other browsers etc... seems to be similar to this issue >>> http://stackoverflow.com/questions/14007062/mysterious-type-error-non-native-scope-object-in-firebug >>> >>> Anyway, I think you were looking for window.opener and not >>> window.parent though. Try changing the rloObject.htm tag to >>> this... seems to work for me >>> >>> >>> >> onbeforeunload = "XTTerminate();" onunload = >>> "XTTerminate();window.opener.innerWidth+=2;"> >>> >>> >>> More of a hack than a fix but it seems to work. You might want to >>> hide the extra code in your XTInitialise/XTTerminate functions... >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University >>> Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders >>> [reijnders at tor.nl] >>> Sent: 12 May 2013 14:13 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> I tried a different approach to see what happens (I tried to resize the >>> parent window from beforeunload) >>> >>> But what I see is that in the preview window, window.parent is >>> recursive, i.e. window = window.parent = window.parent.parent = >>> window.parent.parent.parent.... >>> >>> Is that normal? (Not only in firefox, but also in Chrome). >>> >>> Does that tell us something? >>> >>> Tom >>> >>> Op 12-5-2013 14:00, Smith, John schreef: >>>> I think Tom's right that its needed in the html player to render >>>> flash objects... Definitely it that's causing the issue though... Im >>>> trying to debug now... >>>> >>>> Regards >>>> >>>> John Smith >>>> Learning Technologist >>>> School of Health and Life Sciences >>>> >>>> Sent from Samsung Galaxy SII >>>> >>>> >>>> "Pat @ Pgogy" wrote: >>>> >>>> >>>> Do you still need swf object? >>>> >>>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>>> >>>>> I think we're running into a few version/library problems which is >>>>> causing it... >>>>> >>>>> So Fay's code is using v2.2 of SWFObject but the editor is using v1.5 >>>>> >>>>> Also, the flash preview isn't using either, it appears to be using >>>>> rloObject.js to create the Flash... >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>> | Glasgow Caledonian University >>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>> Reijnders [reijnders at tor.nl] >>>>> Sent: 12 May 2013 11:27 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> I don't know. I thought it is needed to display swf's inside the >>>>> content. >>>>> Fay should know the definitive answer to that. >>>>> >>>>> But that doesn't help when the preview is flash... >>>>> >>>>> Tom >>>>> >>>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>>> Ok i've partly solved it... >>>>>> >>>>>> Is this line needed in preview.php? >>>>>> >>>>>> >>>>>> >>>>>> Taking it out solves the issue for me... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist >>>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>>> | Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>> Reijnders [reijnders at tor.nl] >>>>>> Sent: 12 May 2013 10:52 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>>> >>>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>>> >>>>>> so now if you replace preview.php with the attached file which >>>>>> does nothing but is valid XHTML then I don't see the problem any >>>>>> more so it must be the preview page... there are a lot of XHTML >>>>>> Transitional errors in edit.php and a couple on preview but i've >>>>>> fixed these now and still not working... >>>>>> >>>>>> Can either of you confirm that using this preview.php file remeve >>>>>> the issue from the editor? >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist >>>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>>> | Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] >>>>>> On Behalf Of Pat @ Pgogy >>>>>> [xerte at pgogywebstuff.com] >>>>>> Sent: 12 May 2013 10:25 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> Has this mostly happened post the upload successful button was added? >>>>>> >>>>>> I think the button click event isn't firing properly in flash? >>>>>> >>>>>> When I last did a lot of flash stuff, Firefox always went wrong on >>>>>> the object's depth properties >>>>>> >>>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>>> wrote: >>>>>> >>>>>> >>>>>> >>>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>>> Friday and it seems that it was because of what I was doing... >>>>>> >>>>>> When the editor window was opening I was MOVING the window so that >>>>>> I could see the workspace too and it seems that this change of >>>>>> focus from the Flash to the actual window was in some way doing >>>>>> something to the problem but this morning I was able to reproduce >>>>>> the problem this morning though because I wasn't doing anything to >>>>>> the window after clicking preview... >>>>>> >>>>>> Please watch this screencast ( http://screencast.com/t/38tpOLopLs >>>>>> ) and you'll see the button not working in exactly the same way >>>>>> that you all described but then simply resizing the window >>>>>> slightly makes it work again... now it's not a focus issue because >>>>>> simply clicking on the window border or the window header which >>>>>> would change focus away from the Flash wizard doesn't fix it... >>>>>> but resizing does. But only until you preview again and then you >>>>>> need to resize again... >>>>>> >>>>>> I have no idea why this is happening but will continue to have a >>>>>> play around with various things to see if I can come up with a fix... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist >>>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>>> | Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] >>>>>> On Behalf Of Tom Reijnders >>>>>> [reijnders at tor.nl] >>>>>> Sent: 11 May 2013 12:01 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> I looked into this further as well, and I've got it working (sort >>>>>> of). The original problem is beyond our control. Something gets >>>>>> changed by showing and closing the preview. I concentrated on the >>>>>> call to popup preview: >>>>>> >>>>>> Where url is 'preview.php&template_id=4' >>>>>> >>>>>> getURL("javascript:NewWindow = >>>>>> window.open('" >>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>> setunload(); void(0);"); >>>>>> >>>>>> What I did: >>>>>> 1. I changed the code to do exactly the same but in a different way: >>>>>> >>>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>>> this.template_height, this.template_width); >>>>>> - Supply javascript function in edit.php that does: >>>>>> >>>>>> function openPreview(url, height, width) >>>>>> { >>>>>> NewWindow = window.open(url, 'previewwindow', 'height=' + >>>>>> height, ',width=' + width); >>>>>> NewWindow.focus(); >>>>>> } >>>>>> >>>>>> This behaves exactly the same, as in, it doesn't work. After >>>>>> closing preview, the file browser doesn't pop up any more. >>>>>> >>>>>> 2. So, different approach, without using javascript: >>>>>> >>>>>> - From flash call: getURL(url, "_blank") >>>>>> >>>>>> This has as a drawback (or advantage) that the preview is shown in >>>>>> a new window/tab in stead of a popup, and so it ignores/doesn't >>>>>> use the sizes of the window. >>>>>> >>>>>> BUT it does work! >>>>>> >>>>>> Is that a viable solution? For firefox only? >>>>>> >>>>>> Tom >>>>>> >>>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>>> Tested the file button, and debugged the FileRef.browse and got >>>>>> Function, so it does exist, before FileRef.browse is called. >>>>>> >>>>>> Took out all but the void(0) and still failing. Have stripped down >>>>>> the function to this. >>>>>> >>>>>> I don?t think it is our code. Going for beer. >>>>>> >>>>>> >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> xerte at pgogywebstuff.com >>>>>> Sent: 10 May 2013 14:58 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>>> button? >>>>>> >>>>>> try not setting focus? that seems a possible route? >>>>>> >>>>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>>>> Makers of Web things of a fair to middling quality >>>>>> >>>>>> >>>>>> ----- Original Message ----- >>>>>> From: >>>>>> "For Xerte technical developers" >>>>>> > >>>>>> >>>>>> To: >>>>>> "For Xerte technical developers >>>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>>> > >>>>>> >>>>>> Cc: >>>>>> >>>>>> Sent: >>>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>>> Subject: >>>>>> [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> It boils down to this: >>>>>> >>>>>> >>>>>> function preview(){ >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url = "preview_" + _root.template_id; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url = "preview.php?template_id=" + >>>>>> _root.template_id; >>>>>> >>>>>> } >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> saveFile(); >>>>>> >>>>>> ExternalInterface.call("hideunload"); >>>>>> >>>>>> >>>>>> getURL("javascript:NewWindow = >>>>>> window.open('" >>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>> setunload(); void(0);"); >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> } >>>>>> >>>>>> >>>>>> From: Tenney Julian >>>>>> Sent: 10 May 2013 14:51 >>>>>> To: 'For Xerte technical developers' >>>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> >>>>>> Here be function preview() (I?m guessing you can?t see it? Can you >>>>>> see anything obvious / or anything I can try commenting out / >>>>>> testing to test your theory?) >>>>>> Probably next week though, I have to go soon, >>>>>> >>>>>> >>>>>> function preview(){ >>>>>> >>>>>> >>>>>> if (xerte){ >>>>>> >>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>> //post the xml data into the url specified >>>>>> >>>>>> saveFile(); >>>>>> >>>>>> } else {//play it in Xerte >>>>>> >>>>>> //if shift is down, jump straight to this page >>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>> if (tree.selectedNode.attributes.linkID == >>>>>> undefined){ >>>>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>>>> } >>>>>> //set the linkID in _level0 of the runtime >>>>>> (it is deleted after onInit is fired) >>>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>>> tree.selectedNode.attributes.linkID, "|"); >>>>>> } >>>>>> saveFile(); >>>>>> >>>>>> this.mode = 'preview'; >>>>>> >>>>>> >>>>>> //show the preview form >>>>>> mdm.form_show("preview"); >>>>>> mdm.form_restore("preview"); >>>>>> >>>>>> //fire up the piece >>>>>> mdm.form_callfunction("preview", "setMode", mode, >>>>>> "|"); >>>>>> mdm.form_callfunction("preview", "jumpFile", >>>>>> wizard.rloFile, "|"); >>>>>> } >>>>>> >>>>>> >>>>>> } else { //this is toolkits - play or post? >>>>>> >>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>> >>>>>> //hardcoded in here for now - this is a bit >>>>>> messy, needa better way of handling multiple runtimes with all the >>>>>> security etc >>>>>> if (wizard.nfoObject.wizard.runtime == >>>>>> 'preview_site.php'){ >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url = "preview_" + _root.template_id; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url = "preview.php?template_id=" + >>>>>> _root.template_id; >>>>>> >>>>>> } >>>>>> >>>>>> saveFile(); >>>>>> >>>>>> ExternalInterface.call("hideunload"); >>>>>> >>>>>> >>>>>> getURL("javascript:NewWindow = >>>>>> window.open('" >>>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>>> setunload(); void(0);"); >>>>>> >>>>>> } else { >>>>>> >>>>>> saveFile(); >>>>>> >>>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>>> wizard.getURLHelper.data = KOData.format(); >>>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>>> "_blank", "POST"); >>>>>> >>>>>> } >>>>>> >>>>>> } else { >>>>>> >>>>>> if (Key.isDown(Key.CONTROL)){ //play the html5 >>>>>> version >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url = "preview_" + _root.template_id + >>>>>> "&engine=other"; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url = "preview.php?template_id=" + >>>>>> _root.template_id + "&engine=other"; >>>>>> >>>>>> } >>>>>> >>>>>> } else { >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url = "preview_" + _root.template_id; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url = "preview.php?template_id=" + >>>>>> _root.template_id; >>>>>> >>>>>> } >>>>>> } >>>>>> >>>>>> >>>>>> //if shift is down, jump straight to this page >>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>> if (tree.selectedNode.attributes.linkID == >>>>>> undefined){ >>>>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>>>> } >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url += '_' + >>>>>> tree.selectedNode.attributes.linkID; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url += '&linkID=' + >>>>>> tree.selectedNode.attributes.linkID; >>>>>> >>>>>> } >>>>>> } >>>>>> saveFile(); >>>>>> >>>>>> ExternalInterface.call("hideunload"); >>>>>> >>>>>> >>>>>> getURL("javascript:NewWindow = >>>>>> window.open('" >>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>> setunload(); void(0);"); >>>>>> >>>>>> } >>>>>> } >>>>>> } >>>>>> >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> xerte at pgogywebstuff.com >>>>>> Sent: 10 May 2013 14:38 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> >>>>>> Windows 7 >>>>>> Firefox 20.1.0 >>>>>> Preview button doesn't work for anything once you've previewed >>>>>> Flash Player 11.7 >>>>>> >>>>>> Fine in Chrome >>>>>> No Joy in FF >>>>>> >>>>>> have commented out all of the JS >>>>>> >>>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>>> close event firing too soon? >>>>>> >>>>>> I'd put some fscommand("console.log") into the wizard. >>>>>> >>>>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>>>> Makers of Web things of a fair to middling quality >>>>>> >>>>>> >>>>>> >>>>>> ----- Original Message ----- >>>>>> From: >>>>>> "For Xerte technical developers" >>>>>> > >>>>>> >>>>>> >>>>>> To: >>>>>> "For Xerte technical developers" >>>>>> > >>>>>> Cc: >>>>>> >>>>>> >>>>>> Sent: >>>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>>> Subject: >>>>>> [Xerte-dev] Re: wizard files and modules >>>>>> More specifically 64bit Windows 7 >>>>>> >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Julian Tenney >>>>>> Sent: 10 May 2013 13:58 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> >>>>>> Difference is Windows 7 ? everything else the same and I see the p >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education?s Widening Participation Initiative >>>> of the Year 2009 and Herald Society?s Education Initiative of the >>>> Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >>>> >>>> >>>> Winner: Times Higher Education?s Outstanding Support for Early >>>> Career Researchers of the Year 2010, GCU as a lead with Universities >>>> Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>> -- >>> -- >>> >>> Tom Reijnders >>> TOR Informatica >>> Chopinlaan 27 >>> 5242HM Rosmalen >>> Tel: 073 5226191 >>> Fax: 073 5226196 >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education?s Widening Participation Initiative of >>> the Year 2009 and Herald Society?s Education Initiative of the Year >>> 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >>> >>> >>> Winner: Times Higher Education?s Outstanding Support for Early Career >>> Researchers of the Year 2010, GCU as a lead with Universities >>> Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> This message and any attachment are intended solely for the addressee >>> and may contain confidential information. If you have received this >>> message in error, please send it back to me, and immediately delete >>> it. Please do not use, copy or disclose the information contained >>> in this message or in any attachment. Any views or opinions >>> expressed by the author of this email do not necessarily reflect the >>> views of the University of Nottingham. >>> >>> This message has been checked for viruses but the contents of an >>> attachment >>> may still contain software viruses which could damage your computer >>> system: >>> you are advised to perform your own checks. Email communications with >>> the >>> University of Nottingham may be monitored as permitted by UK >>> legislation. >>> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- A non-text attachment was scrubbed... Name: xttracking_noop.js Type: application/x-javascript Size: 1650 bytes Desc: not available URL: From J.J.Smith at gcu.ac.uk Mon May 13 07:56:44 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 13 May 2013 07:56:44 +0100 Subject: [Xerte-dev] Re: wizard files and modules Message-ID: Definitely works for me in both previews. Still curious as to why that command in SWFObject causes this in different window though and why only in Firefox and why resizing the parent window 'fixes' it. This seems like the biggest kludge to me...but then again it does fix it :-) If anyone else wants to try to solve the riddle then i can detail where i got to with it... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Tom Reijnders wrote: Could you please verify it works for you too? Then I'll commit this. This file belongs in modules/xerte/parent_templates/common_html5/js and in modules/xerte/js And yes it would be better not to duplicate... Tom Op 12-5-2013 22:49, Julian Tenney schreef: > Fellas! Nice one. I was just thinking about all this - magic, cheers. > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John [J.J.Smith at gcu.ac.uk] > Sent: 12 May 2013 21:33 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: wizard files and modules > > Took a while but we got there :-) > > Hopefully its a temporary measure anyway until the new html5 editor can take over. > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Tom Reijnders wrote: > > > And this works for Flash preview as well... > > Op 12-5-2013 18:58, Tom Reijnders schreef: >> I tried putting it in the XTInitialise/XTTerminate >> >> But that didn't work! >> >> What did worl was putting this in XTTerminate() >> >> window.opener.innerWidth+=2 >> window.opener.innerWidth-=2 >> >> Op 12-5-2013 17:05, Smith, John schreef: >>> I like your idea although it still doesn't quite explain why it >>> happens. I've narrowed it down to these lines in SWFObject >>> >>> var b = doc.getElementsByTagName("body")[0]; >>> var o = createElement(OBJECT); >>> o.setAttribute("type", FLASH_MIME_TYPE); >>> var t = b.appendChild(o); >>> >>> Commenting out the last line { var t = b.appendChild(o); } stops the >>> problem but i'm not sure how modifying that function will affect >>> other browsers etc... seems to be similar to this issue >>> http://stackoverflow.com/questions/14007062/mysterious-type-error-non-native-scope-object-in-firebug >>> >>> Anyway, I think you were looking for window.opener and not >>> window.parent though. Try changing the rloObject.htm tag to >>> this... seems to work for me >>> >>> >>> >> onbeforeunload = "XTTerminate();" onunload = >>> "XTTerminate();window.opener.innerWidth+=2;"> >>> >>> >>> More of a hack than a fix but it seems to work. You might want to >>> hide the extra code in your XTInitialise/XTTerminate functions... >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University >>> Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders >>> [reijnders at tor.nl] >>> Sent: 12 May 2013 14:13 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> I tried a different approach to see what happens (I tried to resize the >>> parent window from beforeunload) >>> >>> But what I see is that in the preview window, window.parent is >>> recursive, i.e. window = window.parent = window.parent.parent = >>> window.parent.parent.parent.... >>> >>> Is that normal? (Not only in firefox, but also in Chrome). >>> >>> Does that tell us something? >>> >>> Tom >>> >>> Op 12-5-2013 14:00, Smith, John schreef: >>>> I think Tom's right that its needed in the html player to render >>>> flash objects... Definitely it that's causing the issue though... Im >>>> trying to debug now... >>>> >>>> Regards >>>> >>>> John Smith >>>> Learning Technologist >>>> School of Health and Life Sciences >>>> >>>> Sent from Samsung Galaxy SII >>>> >>>> >>>> "Pat @ Pgogy" wrote: >>>> >>>> >>>> Do you still need swf object? >>>> >>>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>>> >>>>> I think we're running into a few version/library problems which is >>>>> causing it... >>>>> >>>>> So Fay's code is using v2.2 of SWFObject but the editor is using v1.5 >>>>> >>>>> Also, the flash preview isn't using either, it appears to be using >>>>> rloObject.js to create the Flash... >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>> | Glasgow Caledonian University >>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>> Reijnders [reijnders at tor.nl] >>>>> Sent: 12 May 2013 11:27 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> I don't know. I thought it is needed to display swf's inside the >>>>> content. >>>>> Fay should know the definitive answer to that. >>>>> >>>>> But that doesn't help when the preview is flash... >>>>> >>>>> Tom >>>>> >>>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>>> Ok i've partly solved it... >>>>>> >>>>>> Is this line needed in preview.php? >>>>>> >>>>>> >>>>>> >>>>>> Taking it out solves the issue for me... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist >>>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>>> | Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>> Reijnders [reijnders at tor.nl] >>>>>> Sent: 12 May 2013 10:52 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>>> >>>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>>> >>>>>> so now if you replace preview.php with the attached file which >>>>>> does nothing but is valid XHTML then I don't see the problem any >>>>>> more so it must be the preview page... there are a lot of XHTML >>>>>> Transitional errors in edit.php and a couple on preview but i've >>>>>> fixed these now and still not working... >>>>>> >>>>>> Can either of you confirm that using this preview.php file remeve >>>>>> the issue from the editor? >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist >>>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>>> | Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] >>>>>> On Behalf Of Pat @ Pgogy >>>>>> [xerte at pgogywebstuff.com] >>>>>> Sent: 12 May 2013 10:25 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> Has this mostly happened post the upload successful button was added? >>>>>> >>>>>> I think the button click event isn't firing properly in flash? >>>>>> >>>>>> When I last did a lot of flash stuff, Firefox always went wrong on >>>>>> the object's depth properties >>>>>> >>>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>>> wrote: >>>>>> >>>>>> >>>>>> >>>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>>> Friday and it seems that it was because of what I was doing... >>>>>> >>>>>> When the editor window was opening I was MOVING the window so that >>>>>> I could see the workspace too and it seems that this change of >>>>>> focus from the Flash to the actual window was in some way doing >>>>>> something to the problem but this morning I was able to reproduce >>>>>> the problem this morning though because I wasn't doing anything to >>>>>> the window after clicking preview... >>>>>> >>>>>> Please watch this screencast ( http://screencast.com/t/38tpOLopLs >>>>>> ) and you'll see the button not working in exactly the same way >>>>>> that you all described but then simply resizing the window >>>>>> slightly makes it work again... now it's not a focus issue because >>>>>> simply clicking on the window border or the window header which >>>>>> would change focus away from the Flash wizard doesn't fix it... >>>>>> but resizing does. But only until you preview again and then you >>>>>> need to resize again... >>>>>> >>>>>> I have no idea why this is happening but will continue to have a >>>>>> play around with various things to see if I can come up with a fix... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist >>>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>>> | Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] >>>>>> On Behalf Of Tom Reijnders >>>>>> [reijnders at tor.nl] >>>>>> Sent: 11 May 2013 12:01 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> I looked into this further as well, and I've got it working (sort >>>>>> of). The original problem is beyond our control. Something gets >>>>>> changed by showing and closing the preview. I concentrated on the >>>>>> call to popup preview: >>>>>> >>>>>> Where url is 'preview.php&template_id=4' >>>>>> >>>>>> getURL("javascript:NewWindow = >>>>>> window.open('" >>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>> setunload(); void(0);"); >>>>>> >>>>>> What I did: >>>>>> 1. I changed the code to do exactly the same but in a different way: >>>>>> >>>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>>> this.template_height, this.template_width); >>>>>> - Supply javascript function in edit.php that does: >>>>>> >>>>>> function openPreview(url, height, width) >>>>>> { >>>>>> NewWindow = window.open(url, 'previewwindow', 'height=' + >>>>>> height, ',width=' + width); >>>>>> NewWindow.focus(); >>>>>> } >>>>>> >>>>>> This behaves exactly the same, as in, it doesn't work. After >>>>>> closing preview, the file browser doesn't pop up any more. >>>>>> >>>>>> 2. So, different approach, without using javascript: >>>>>> >>>>>> - From flash call: getURL(url, "_blank") >>>>>> >>>>>> This has as a drawback (or advantage) that the preview is shown in >>>>>> a new window/tab in stead of a popup, and so it ignores/doesn't >>>>>> use the sizes of the window. >>>>>> >>>>>> BUT it does work! >>>>>> >>>>>> Is that a viable solution? For firefox only? >>>>>> >>>>>> Tom >>>>>> >>>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>>> Tested the file button, and debugged the FileRef.browse and got >>>>>> Function, so it does exist, before FileRef.browse is called. >>>>>> >>>>>> Took out all but the void(0) and still failing. Have stripped down >>>>>> the function to this. >>>>>> >>>>>> I don?t think it is our code. Going for beer. >>>>>> >>>>>> >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> xerte at pgogywebstuff.com >>>>>> Sent: 10 May 2013 14:58 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>>> button? >>>>>> >>>>>> try not setting focus? that seems a possible route? >>>>>> >>>>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>>>> Makers of Web things of a fair to middling quality >>>>>> >>>>>> >>>>>> ----- Original Message ----- >>>>>> From: >>>>>> "For Xerte technical developers" >>>>>> > >>>>>> >>>>>> To: >>>>>> "For Xerte technical developers >>>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>>> > >>>>>> >>>>>> Cc: >>>>>> >>>>>> Sent: >>>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>>> Subject: >>>>>> [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> It boils down to this: >>>>>> >>>>>> >>>>>> function preview(){ >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url = "preview_" + _root.template_id; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url = "preview.php?template_id=" + >>>>>> _root.template_id; >>>>>> >>>>>> } >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> saveFile(); >>>>>> >>>>>> ExternalInterface.call("hideunload"); >>>>>> >>>>>> >>>>>> getURL("javascript:NewWindow = >>>>>> window.open('" >>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>> setunload(); void(0);"); >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> } >>>>>> >>>>>> >>>>>> From: Tenney Julian >>>>>> Sent: 10 May 2013 14:51 >>>>>> To: 'For Xerte technical developers' >>>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> >>>>>> Here be function preview() (I?m guessing you can?t see it? Can you >>>>>> see anything obvious / or anything I can try commenting out / >>>>>> testing to test your theory?) >>>>>> Probably next week though, I have to go soon, >>>>>> >>>>>> >>>>>> function preview(){ >>>>>> >>>>>> >>>>>> if (xerte){ >>>>>> >>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>> //post the xml data into the url specified >>>>>> >>>>>> saveFile(); >>>>>> >>>>>> } else {//play it in Xerte >>>>>> >>>>>> //if shift is down, jump straight to this page >>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>> if (tree.selectedNode.attributes.linkID == >>>>>> undefined){ >>>>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>>>> } >>>>>> //set the linkID in _level0 of the runtime >>>>>> (it is deleted after onInit is fired) >>>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>>> tree.selectedNode.attributes.linkID, "|"); >>>>>> } >>>>>> saveFile(); >>>>>> >>>>>> this.mode = 'preview'; >>>>>> >>>>>> >>>>>> //show the preview form >>>>>> mdm.form_show("preview"); >>>>>> mdm.form_restore("preview"); >>>>>> >>>>>> //fire up the piece >>>>>> mdm.form_callfunction("preview", "setMode", mode, >>>>>> "|"); >>>>>> mdm.form_callfunction("preview", "jumpFile", >>>>>> wizard.rloFile, "|"); >>>>>> } >>>>>> >>>>>> >>>>>> } else { //this is toolkits - play or post? >>>>>> >>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>> >>>>>> //hardcoded in here for now - this is a bit >>>>>> messy, needa better way of handling multiple runtimes with all the >>>>>> security etc >>>>>> if (wizard.nfoObject.wizard.runtime == >>>>>> 'preview_site.php'){ >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url = "preview_" + _root.template_id; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url = "preview.php?template_id=" + >>>>>> _root.template_id; >>>>>> >>>>>> } >>>>>> >>>>>> saveFile(); >>>>>> >>>>>> ExternalInterface.call("hideunload"); >>>>>> >>>>>> >>>>>> getURL("javascript:NewWindow = >>>>>> window.open('" >>>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>>> setunload(); void(0);"); >>>>>> >>>>>> } else { >>>>>> >>>>>> saveFile(); >>>>>> >>>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>>> wizard.getURLHelper.data = KOData.format(); >>>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>>> "_blank", "POST"); >>>>>> >>>>>> } >>>>>> >>>>>> } else { >>>>>> >>>>>> if (Key.isDown(Key.CONTROL)){ //play the html5 >>>>>> version >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url = "preview_" + _root.template_id + >>>>>> "&engine=other"; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url = "preview.php?template_id=" + >>>>>> _root.template_id + "&engine=other"; >>>>>> >>>>>> } >>>>>> >>>>>> } else { >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url = "preview_" + _root.template_id; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url = "preview.php?template_id=" + >>>>>> _root.template_id; >>>>>> >>>>>> } >>>>>> } >>>>>> >>>>>> >>>>>> //if shift is down, jump straight to this page >>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>> if (tree.selectedNode.attributes.linkID == >>>>>> undefined){ >>>>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>>>> } >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url += '_' + >>>>>> tree.selectedNode.attributes.linkID; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url += '&linkID=' + >>>>>> tree.selectedNode.attributes.linkID; >>>>>> >>>>>> } >>>>>> } >>>>>> saveFile(); >>>>>> >>>>>> ExternalInterface.call("hideunload"); >>>>>> >>>>>> >>>>>> getURL("javascript:NewWindow = >>>>>> window.open('" >>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>> setunload(); void(0);"); >>>>>> >>>>>> } >>>>>> } >>>>>> } >>>>>> >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> xerte at pgogywebstuff.com >>>>>> Sent: 10 May 2013 14:38 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> >>>>>> Windows 7 >>>>>> Firefox 20.1.0 >>>>>> Preview button doesn't work for anything once you've previewed >>>>>> Flash Player 11.7 >>>>>> >>>>>> Fine in Chrome >>>>>> No Joy in FF >>>>>> >>>>>> have commented out all of the JS >>>>>> >>>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>>> close event firing too soon? >>>>>> >>>>>> I'd put some fscommand("console.log") into the wizard. >>>>>> >>>>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>>>> Makers of Web things of a fair to middling quality >>>>>> >>>>>> >>>>>> >>>>>> ----- Original Message ----- >>>>>> From: >>>>>> "For Xerte technical developers" >>>>>> > >>>>>> >>>>>> >>>>>> To: >>>>>> "For Xerte technical developers" >>>>>> > >>>>>> Cc: >>>>>> >>>>>> >>>>>> Sent: >>>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>>> Subject: >>>>>> [Xerte-dev] Re: wizard files and modules >>>>>> More specifically 64bit Windows 7 >>>>>> >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Julian Tenney >>>>>> Sent: 10 May 2013 13:58 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> >>>>>> Difference is Windows 7 ? everything else the same and I see the p >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education?s Widening Participation Initiative >>>> of the Year 2009 and Herald Society?s Education Initiative of the >>>> Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >>>> >>>> >>>> Winner: Times Higher Education?s Outstanding Support for Early >>>> Career Researchers of the Year 2010, GCU as a lead with Universities >>>> Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>> -- >>> -- >>> >>> Tom Reijnders >>> TOR Informatica >>> Chopinlaan 27 >>> 5242HM Rosmalen >>> Tel: 073 5226191 >>> Fax: 073 5226196 >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education?s Widening Participation Initiative of >>> the Year 2009 and Herald Society?s Education Initiative of the Year >>> 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >>> >>> >>> Winner: Times Higher Education?s Outstanding Support for Early Career >>> Researchers of the Year 2010, GCU as a lead with Universities >>> Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> This message and any attachment are intended solely for the addressee >>> and may contain confidential information. If you have received this >>> message in error, please send it back to me, and immediately delete >>> it. Please do not use, copy or disclose the information contained >>> in this message or in any attachment. Any views or opinions >>> expressed by the author of this email do not necessarily reflect the >>> views of the University of Nottingham. >>> >>> This message has been checked for viruses but the contents of an >>> attachment >>> may still contain software viruses which could damage your computer >>> system: >>> you are advised to perform your own checks. Email communications with >>> the >>> University of Nottingham may be monitored as permitted by UK >>> legislation. >>> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From reijnders at tor.nl Mon May 13 08:00:02 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 13 May 2013 09:00:02 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: References: Message-ID: <51908F72.8040207@tor.nl> It's the weirdest hack I've ever seen. Also because it's not just a resize. It has to be big enough of a change, and you have to make the window larger..... very weird. Tom Op 13-5-2013 8:56, Smith, John schreef: > Definitely works for me in both previews. > > Still curious as to why that command in SWFObject causes this in different window though and why only in Firefox and why resizing the parent window 'fixes' it. This seems like the biggest kludge to me...but then again it does fix it :-) > > If anyone else wants to try to solve the riddle then i can detail where i got to with it... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Tom Reijnders wrote: > > > Could you please verify it works for you too? > Then I'll commit this. > > This file belongs in modules/xerte/parent_templates/common_html5/js and > in modules/xerte/js > > And yes it would be better not to duplicate... > > Tom > > Op 12-5-2013 22:49, Julian Tenney schreef: >> Fellas! Nice one. I was just thinking about all this - magic, cheers. >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John [J.J.Smith at gcu.ac.uk] >> Sent: 12 May 2013 21:33 >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Took a while but we got there :-) >> >> Hopefully its a temporary measure anyway until the new html5 editor can take over. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> >> Tom Reijnders wrote: >> >> >> And this works for Flash preview as well... >> >> Op 12-5-2013 18:58, Tom Reijnders schreef: >>> I tried putting it in the XTInitialise/XTTerminate >>> >>> But that didn't work! >>> >>> What did worl was putting this in XTTerminate() >>> >>> window.opener.innerWidth+=2 >>> window.opener.innerWidth-=2 >>> >>> Op 12-5-2013 17:05, Smith, John schreef: >>>> I like your idea although it still doesn't quite explain why it >>>> happens. I've narrowed it down to these lines in SWFObject >>>> >>>> var b = doc.getElementsByTagName("body")[0]; >>>> var o = createElement(OBJECT); >>>> o.setAttribute("type", FLASH_MIME_TYPE); >>>> var t = b.appendChild(o); >>>> >>>> Commenting out the last line { var t = b.appendChild(o); } stops the >>>> problem but i'm not sure how modifying that function will affect >>>> other browsers etc... seems to be similar to this issue >>>> http://stackoverflow.com/questions/14007062/mysterious-type-error-non-native-scope-object-in-firebug >>>> >>>> Anyway, I think you were looking for window.opener and not >>>> window.parent though. Try changing the rloObject.htm tag to >>>> this... seems to work for me >>>> >>>> >>>> >>> onbeforeunload = "XTTerminate();" onunload = >>>> "XTTerminate();window.opener.innerWidth+=2;"> >>>> >>>> >>>> More of a hack than a fix but it seems to work. You might want to >>>> hide the extra code in your XTInitialise/XTTerminate functions... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>>> Glasgow Caledonian University >>>> Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders >>>> [reijnders at tor.nl] >>>> Sent: 12 May 2013 14:13 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I tried a different approach to see what happens (I tried to resize the >>>> parent window from beforeunload) >>>> >>>> But what I see is that in the preview window, window.parent is >>>> recursive, i.e. window = window.parent = window.parent.parent = >>>> window.parent.parent.parent.... >>>> >>>> Is that normal? (Not only in firefox, but also in Chrome). >>>> >>>> Does that tell us something? >>>> >>>> Tom >>>> >>>> Op 12-5-2013 14:00, Smith, John schreef: >>>>> I think Tom's right that its needed in the html player to render >>>>> flash objects... Definitely it that's causing the issue though... Im >>>>> trying to debug now... >>>>> >>>>> Regards >>>>> >>>>> John Smith >>>>> Learning Technologist >>>>> School of Health and Life Sciences >>>>> >>>>> Sent from Samsung Galaxy SII >>>>> >>>>> >>>>> "Pat @ Pgogy" wrote: >>>>> >>>>> >>>>> Do you still need swf object? >>>>> >>>>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>>>> >>>>>> I think we're running into a few version/library problems which is >>>>>> causing it... >>>>>> >>>>>> So Fay's code is using v2.2 of SWFObject but the editor is using v1.5 >>>>>> >>>>>> Also, the flash preview isn't using either, it appears to be using >>>>>> rloObject.js to create the Flash... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist >>>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>>> | Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>> Reijnders [reijnders at tor.nl] >>>>>> Sent: 12 May 2013 11:27 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> I don't know. I thought it is needed to display swf's inside the >>>>>> content. >>>>>> Fay should know the definitive answer to that. >>>>>> >>>>>> But that doesn't help when the preview is flash... >>>>>> >>>>>> Tom >>>>>> >>>>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>>>> Ok i've partly solved it... >>>>>>> >>>>>>> Is this line needed in preview.php? >>>>>>> >>>>>>> >>>>>>> >>>>>>> Taking it out solves the issue for me... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist >>>>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>>> Reijnders [reijnders at tor.nl] >>>>>>> Sent: 12 May 2013 10:52 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>>>> >>>>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>>>> >>>>>>> so now if you replace preview.php with the attached file which >>>>>>> does nothing but is valid XHTML then I don't see the problem any >>>>>>> more so it must be the preview page... there are a lot of XHTML >>>>>>> Transitional errors in edit.php and a couple on preview but i've >>>>>>> fixed these now and still not working... >>>>>>> >>>>>>> Can either of you confirm that using this preview.php file remeve >>>>>>> the issue from the editor? >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist >>>>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] >>>>>>> On Behalf Of Pat @ Pgogy >>>>>>> [xerte at pgogywebstuff.com] >>>>>>> Sent: 12 May 2013 10:25 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Has this mostly happened post the upload successful button was added? >>>>>>> >>>>>>> I think the button click event isn't firing properly in flash? >>>>>>> >>>>>>> When I last did a lot of flash stuff, Firefox always went wrong on >>>>>>> the object's depth properties >>>>>>> >>>>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>>>> Friday and it seems that it was because of what I was doing... >>>>>>> >>>>>>> When the editor window was opening I was MOVING the window so that >>>>>>> I could see the workspace too and it seems that this change of >>>>>>> focus from the Flash to the actual window was in some way doing >>>>>>> something to the problem but this morning I was able to reproduce >>>>>>> the problem this morning though because I wasn't doing anything to >>>>>>> the window after clicking preview... >>>>>>> >>>>>>> Please watch this screencast ( http://screencast.com/t/38tpOLopLs >>>>>>> ) and you'll see the button not working in exactly the same way >>>>>>> that you all described but then simply resizing the window >>>>>>> slightly makes it work again... now it's not a focus issue because >>>>>>> simply clicking on the window border or the window header which >>>>>>> would change focus away from the Flash wizard doesn't fix it... >>>>>>> but resizing does. But only until you preview again and then you >>>>>>> need to resize again... >>>>>>> >>>>>>> I have no idea why this is happening but will continue to have a >>>>>>> play around with various things to see if I can come up with a fix... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist >>>>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] >>>>>>> On Behalf Of Tom Reijnders >>>>>>> [reijnders at tor.nl] >>>>>>> Sent: 11 May 2013 12:01 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I looked into this further as well, and I've got it working (sort >>>>>>> of). The original problem is beyond our control. Something gets >>>>>>> changed by showing and closing the preview. I concentrated on the >>>>>>> call to popup preview: >>>>>>> >>>>>>> Where url is 'preview.php&template_id=4' >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('" >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> What I did: >>>>>>> 1. I changed the code to do exactly the same but in a different way: >>>>>>> >>>>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>>>> this.template_height, this.template_width); >>>>>>> - Supply javascript function in edit.php that does: >>>>>>> >>>>>>> function openPreview(url, height, width) >>>>>>> { >>>>>>> NewWindow = window.open(url, 'previewwindow', 'height=' + >>>>>>> height, ',width=' + width); >>>>>>> NewWindow.focus(); >>>>>>> } >>>>>>> >>>>>>> This behaves exactly the same, as in, it doesn't work. After >>>>>>> closing preview, the file browser doesn't pop up any more. >>>>>>> >>>>>>> 2. So, different approach, without using javascript: >>>>>>> >>>>>>> - From flash call: getURL(url, "_blank") >>>>>>> >>>>>>> This has as a drawback (or advantage) that the preview is shown in >>>>>>> a new window/tab in stead of a popup, and so it ignores/doesn't >>>>>>> use the sizes of the window. >>>>>>> >>>>>>> BUT it does work! >>>>>>> >>>>>>> Is that a viable solution? For firefox only? >>>>>>> >>>>>>> Tom >>>>>>> >>>>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>>>> Tested the file button, and debugged the FileRef.browse and got >>>>>>> Function, so it does exist, before FileRef.browse is called. >>>>>>> >>>>>>> Took out all but the void(0) and still failing. Have stripped down >>>>>>> the function to this. >>>>>>> >>>>>>> I don?t think it is our code. Going for beer. >>>>>>> >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com >>>>>>> Sent: 10 May 2013 14:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>>>> button? >>>>>>> >>>>>>> try not setting focus? that seems a possible route? >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>>>>> Makers of Web things of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> > >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers >>>>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>>>> > >>>>>>> >>>>>>> Cc: >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> It boils down to this: >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('" >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: Tenney Julian >>>>>>> Sent: 10 May 2013 14:51 >>>>>>> To: 'For Xerte technical developers' >>>>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Here be function preview() (I?m guessing you can?t see it? Can you >>>>>>> see anything obvious / or anything I can try commenting out / >>>>>>> testing to test your theory?) >>>>>>> Probably next week though, I have to go soon, >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> if (xerte){ >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> //post the xml data into the url specified >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> } else {//play it in Xerte >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID == >>>>>>> undefined){ >>>>>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>>>>> } >>>>>>> //set the linkID in _level0 of the runtime >>>>>>> (it is deleted after onInit is fired) >>>>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>>>> tree.selectedNode.attributes.linkID, "|"); >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> this.mode = 'preview'; >>>>>>> >>>>>>> >>>>>>> //show the preview form >>>>>>> mdm.form_show("preview"); >>>>>>> mdm.form_restore("preview"); >>>>>>> >>>>>>> //fire up the piece >>>>>>> mdm.form_callfunction("preview", "setMode", mode, >>>>>>> "|"); >>>>>>> mdm.form_callfunction("preview", "jumpFile", >>>>>>> wizard.rloFile, "|"); >>>>>>> } >>>>>>> >>>>>>> >>>>>>> } else { //this is toolkits - play or post? >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> >>>>>>> //hardcoded in here for now - this is a bit >>>>>>> messy, needa better way of handling multiple runtimes with all the >>>>>>> security etc >>>>>>> if (wizard.nfoObject.wizard.runtime == >>>>>>> 'preview_site.php'){ >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('" >>>>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>>>> wizard.getURLHelper.data = KOData.format(); >>>>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>>>> "_blank", "POST"); >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if (Key.isDown(Key.CONTROL)){ //play the html5 >>>>>>> version >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + _root.template_id + >>>>>>> "&engine=other"; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id + "&engine=other"; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID == >>>>>>> undefined){ >>>>>>> tree.selectedNode.attributes.linkID = 'PG' + new Date().getTime(); >>>>>>> } >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url += '_' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url += '&linkID=' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('" >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com >>>>>>> Sent: 10 May 2013 14:38 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Windows 7 >>>>>>> Firefox 20.1.0 >>>>>>> Preview button doesn't work for anything once you've previewed >>>>>>> Flash Player 11.7 >>>>>>> >>>>>>> Fine in Chrome >>>>>>> No Joy in FF >>>>>>> >>>>>>> have commented out all of the JS >>>>>>> >>>>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>>>> close event firing too soon? >>>>>>> >>>>>>> I'd put some fscommand("console.log") into the wizard. >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com >>>>>>> Makers of Web things of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> > >>>>>>> >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers" >>>>>>> > >>>>>>> Cc: >>>>>>> >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules >>>>>>> More specifically 64bit Windows 7 >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Julian Tenney >>>>>>> Sent: 10 May 2013 13:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Difference is Windows 7 ? everything else the same and I see the p >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education?s Widening Participation Initiative >>>>> of the Year 2009 and Herald Society?s Education Initiative of the >>>>> Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >>>>> >>>>> >>>>> Winner: Times Higher Education?s Outstanding Support for Early >>>>> Career Researchers of the Year 2010, GCU as a lead with Universities >>>>> Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>> -- >>>> -- >>>> >>>> Tom Reijnders >>>> TOR Informatica >>>> Chopinlaan 27 >>>> 5242HM Rosmalen >>>> Tel: 073 5226191 >>>> Fax: 073 5226196 >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education?s Widening Participation Initiative of >>>> the Year 2009 and Herald Society?s Education Initiative of the Year >>>> 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >>>> >>>> >>>> Winner: Times Higher Education?s Outstanding Support for Early Career >>>> Researchers of the Year 2010, GCU as a lead with Universities >>>> Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> This message and any attachment are intended solely for the addressee >>>> and may contain confidential information. If you have received this >>>> message in error, please send it back to me, and immediately delete >>>> it. Please do not use, copy or disclose the information contained >>>> in this message or in any attachment. Any views or opinions >>>> expressed by the author of this email do not necessarily reflect the >>>> views of the University of Nottingham. >>>> >>>> This message has been checked for viruses but the contents of an >>>> attachment >>>> may still contain software viruses which could damage your computer >>>> system: >>>> you are advised to perform your own checks. Email communications with >>>> the >>>> University of Nottingham may be monitored as permitted by UK >>>> legislation. >>>> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an attachment >> may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with the >> University of Nottingham may be monitored as permitted by UK legislation. >> >> Glasgow Caledonian University is a registered Scottish charity, number SC021474 >> >> Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html >> >> Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an attachment >> may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with the >> University of Nottingham may be monitored as permitted by UK legislation. >> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From Julian.Tenney at nottingham.ac.uk Mon May 13 09:58:25 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 13 May 2013 09:58:25 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <519087DA.4000509@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C51180B3F@EXCHANGE1.ad.nottingham.ac.uk> <519087DA.4000509@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A495D1@EXCHANGE1.ad.nottingham.ac.uk> Which file? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 13 May 2013 07:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Could you please verify it works for you too? Then I'll commit this. This file belongs in modules/xerte/parent_templates/common_html5/js and in modules/xerte/js And yes it would be better not to duplicate... Tom Op 12-5-2013 22:49, Julian Tenney schreef: > Fellas! Nice one. I was just thinking about all this - magic, cheers. > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > [J.J.Smith at gcu.ac.uk] > Sent: 12 May 2013 21:33 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: wizard files and modules > > Took a while but we got there :-) > > Hopefully its a temporary measure anyway until the new html5 editor can take over. > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Tom Reijnders wrote: > > > And this works for Flash preview as well... > > Op 12-5-2013 18:58, Tom Reijnders schreef: >> I tried putting it in the XTInitialise/XTTerminate >> >> But that didn't work! >> >> What did worl was putting this in XTTerminate() >> >> window.opener.innerWidth+=2 >> window.opener.innerWidth-=2 >> >> Op 12-5-2013 17:05, Smith, John schreef: >>> I like your idea although it still doesn't quite explain why it >>> happens. I've narrowed it down to these lines in SWFObject >>> >>> var b = doc.getElementsByTagName("body")[0]; >>> var o = createElement(OBJECT); >>> o.setAttribute("type", FLASH_MIME_TYPE); >>> var t = b.appendChild(o); >>> >>> Commenting out the last line { var t = b.appendChild(o); } stops >>> the problem but i'm not sure how modifying that function will affect >>> other browsers etc... seems to be similar to this issue >>> http://stackoverflow.com/questions/14007062/mysterious-type-error-no >>> n-native-scope-object-in-firebug >>> >>> Anyway, I think you were looking for window.opener and not >>> window.parent though. Try changing the rloObject.htm tag to >>> this... seems to work for me >>> >>> >>> >> onbeforeunload = "XTTerminate();" onunload = >>> "XTTerminate();window.opener.innerWidth+=2;"> >>> >>> >>> More of a hack than a fix but it seems to work. You might want to >>> hide the extra code in your XTInitialise/XTTerminate functions... >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>> Reijnders [reijnders at tor.nl] >>> Sent: 12 May 2013 14:13 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> I tried a different approach to see what happens (I tried to resize >>> the parent window from beforeunload) >>> >>> But what I see is that in the preview window, window.parent is >>> recursive, i.e. window = window.parent = window.parent.parent = >>> window.parent.parent.parent.... >>> >>> Is that normal? (Not only in firefox, but also in Chrome). >>> >>> Does that tell us something? >>> >>> Tom >>> >>> Op 12-5-2013 14:00, Smith, John schreef: >>>> I think Tom's right that its needed in the html player to render >>>> flash objects... Definitely it that's causing the issue though... >>>> Im trying to debug now... >>>> >>>> Regards >>>> >>>> John Smith >>>> Learning Technologist >>>> School of Health and Life Sciences >>>> >>>> Sent from Samsung Galaxy SII >>>> >>>> >>>> "Pat @ Pgogy" wrote: >>>> >>>> >>>> Do you still need swf object? >>>> >>>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>>> >>>>> I think we're running into a few version/library problems which is >>>>> causing it... >>>>> >>>>> So Fay's code is using v2.2 of SWFObject but the editor is using >>>>> v1.5 >>>>> >>>>> Also, the flash preview isn't using either, it appears to be using >>>>> rloObject.js to create the Flash... >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist Room A251, Govan Mbeki Building >>>>> | School of Health & Life Sciences >>>>> | Glasgow Caledonian University >>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>> Reijnders [reijnders at tor.nl] >>>>> Sent: 12 May 2013 11:27 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> I don't know. I thought it is needed to display swf's inside the >>>>> content. >>>>> Fay should know the definitive answer to that. >>>>> >>>>> But that doesn't help when the preview is flash... >>>>> >>>>> Tom >>>>> >>>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>>> Ok i've partly solved it... >>>>>> >>>>>> Is this line needed in preview.php? >>>>>> >>>>>> >>>>>> >>>>>> Taking it out solves the issue for me... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building | School of Health & Life Sciences >>>>>> | Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>> Reijnders [reijnders at tor.nl] >>>>>> Sent: 12 May 2013 10:52 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>>> >>>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>>> >>>>>> so now if you replace preview.php with the attached file which >>>>>> does nothing but is valid XHTML then I don't see the problem any >>>>>> more so it must be the preview page... there are a lot of XHTML >>>>>> Transitional errors in edit.php and a couple on preview but i've >>>>>> fixed these now and still not working... >>>>>> >>>>>> Can either of you confirm that using this preview.php file remeve >>>>>> the issue from the editor? >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building | School of Health & Life Sciences >>>>>> | Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @lists.nottingham.ac.uk> >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>> s at lists.nottingham.ac.uk>] >>>>>> On Behalf Of Pat @ Pgogy >>>>>> [xerte at pgogywebstuff.com] >>>>>> Sent: 12 May 2013 10:25 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> Has this mostly happened post the upload successful button was added? >>>>>> >>>>>> I think the button click event isn't firing properly in flash? >>>>>> >>>>>> When I last did a lot of flash stuff, Firefox always went wrong >>>>>> on the object's depth properties >>>>>> >>>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>>> wrote: >>>>>> >>>>>> >>>>>> >>>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>>> Friday and it seems that it was because of what I was doing... >>>>>> >>>>>> When the editor window was opening I was MOVING the window so >>>>>> that I could see the workspace too and it seems that this change >>>>>> of focus from the Flash to the actual window was in some way >>>>>> doing something to the problem but this morning I was able to >>>>>> reproduce the problem this morning though because I wasn't doing >>>>>> anything to the window after clicking preview... >>>>>> >>>>>> Please watch this screencast ( http://screencast.com/t/38tpOLopLs >>>>>> ) and you'll see the button not working in exactly the same way >>>>>> that you all described but then simply resizing the window >>>>>> slightly makes it work again... now it's not a focus issue >>>>>> because simply clicking on the window border or the window header >>>>>> which would change focus away from the Flash wizard doesn't fix it... >>>>>> but resizing does. But only until you preview again and then you >>>>>> need to resize again... >>>>>> >>>>>> I have no idea why this is happening but will continue to have a >>>>>> play around with various things to see if I can come up with a fix... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building | School of Health & Life Sciences >>>>>> | Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @lists.nottingham.ac.uk> >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>> s at lists.nottingham.ac.uk>] >>>>>> On Behalf Of Tom Reijnders >>>>>> [reijnders at tor.nl] >>>>>> Sent: 11 May 2013 12:01 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> I looked into this further as well, and I've got it working (sort >>>>>> of). The original problem is beyond our control. Something gets >>>>>> changed by showing and closing the preview. I concentrated on the >>>>>> call to popup preview: >>>>>> >>>>>> Where url is 'preview.php&template_id=4' >>>>>> >>>>>> getURL("javascript:NewWindow = >>>>>> window.open('">>>>> Window=window.open('> >>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>> setunload(); void(0);"); >>>>>> >>>>>> What I did: >>>>>> 1. I changed the code to do exactly the same but in a different way: >>>>>> >>>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>>> this.template_height, this.template_width); >>>>>> - Supply javascript function in edit.php that does: >>>>>> >>>>>> function openPreview(url, height, width) >>>>>> { >>>>>> NewWindow = window.open(url, 'previewwindow', 'height=' >>>>>> + height, ',width=' + width); >>>>>> NewWindow.focus(); >>>>>> } >>>>>> >>>>>> This behaves exactly the same, as in, it doesn't work. After >>>>>> closing preview, the file browser doesn't pop up any more. >>>>>> >>>>>> 2. So, different approach, without using javascript: >>>>>> >>>>>> - From flash call: getURL(url, "_blank") >>>>>> >>>>>> This has as a drawback (or advantage) that the preview is shown >>>>>> in a new window/tab in stead of a popup, and so it >>>>>> ignores/doesn't use the sizes of the window. >>>>>> >>>>>> BUT it does work! >>>>>> >>>>>> Is that a viable solution? For firefox only? >>>>>> >>>>>> Tom >>>>>> >>>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>>> Tested the file button, and debugged the FileRef.browse and got >>>>>> Function, so it does exist, before FileRef.browse is called. >>>>>> >>>>>> Took out all but the void(0) and still failing. Have stripped >>>>>> down the function to this. >>>>>> >>>>>> I don't think it is our code. Going for beer. >>>>>> >>>>>> >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @lists.nottingham.ac.uk>>>>>> m.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> xerte at pgogywebstuff.com>>>>> rte at pgogywebstuff.com> >>>>>> Sent: 10 May 2013 14:58 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>>> button? >>>>>> >>>>>> try not setting focus? that seems a possible route? >>>>>> >>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>> of a fair to middling quality >>>>>> >>>>>> >>>>>> ----- Original Message ----- >>>>>> From: >>>>>> "For Xerte technical developers" >>>>>> >>>>> am.ac.uk>>>>>> ev at lists.nottingham.ac.uk>> >>>>>> >>>>>> To: >>>>>> "For Xerte technical developers >>>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>>> >>>>> am.ac.uk>>>>>> ev at lists.nottingham.ac.uk>> >>>>>> >>>>>> Cc: >>>>>> >>>>>> Sent: >>>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>>> Subject: >>>>>> [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> It boils down to this: >>>>>> >>>>>> >>>>>> function preview(){ >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url = "preview_" + _root.template_id; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url = "preview.php?template_id=" + >>>>>> _root.template_id; >>>>>> >>>>>> } >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> saveFile(); >>>>>> >>>>>> ExternalInterface.call("hideunload"); >>>>>> >>>>>> >>>>>> getURL("javascript:NewWindow = >>>>>> window.open('">>>>> Window=window.open('> >>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>> setunload(); void(0);"); >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> } >>>>>> >>>>>> >>>>>> From: Tenney Julian >>>>>> Sent: 10 May 2013 14:51 >>>>>> To: 'For Xerte technical developers' >>>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> >>>>>> Here be function preview() (I'm guessing you can't see it? Can >>>>>> you see anything obvious / or anything I can try commenting out / >>>>>> testing to test your theory?) Probably next week though, I have >>>>>> to go soon, >>>>>> >>>>>> >>>>>> function preview(){ >>>>>> >>>>>> >>>>>> if (xerte){ >>>>>> >>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>> //post the xml data into the url specified >>>>>> >>>>>> saveFile(); >>>>>> >>>>>> } else {//play it in Xerte >>>>>> >>>>>> //if shift is down, jump straight to this page >>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>> if (tree.selectedNode.attributes.linkID == >>>>>> undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>> Date().getTime(); >>>>>> } >>>>>> //set the linkID in _level0 of the runtime >>>>>> (it is deleted after onInit is fired) >>>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>>> tree.selectedNode.attributes.linkID, "|"); >>>>>> } >>>>>> saveFile(); >>>>>> >>>>>> this.mode = 'preview'; >>>>>> >>>>>> >>>>>> //show the preview form >>>>>> mdm.form_show("preview"); >>>>>> mdm.form_restore("preview"); >>>>>> >>>>>> //fire up the piece >>>>>> mdm.form_callfunction("preview", "setMode", >>>>>> mode, "|"); >>>>>> mdm.form_callfunction("preview", "jumpFile", >>>>>> wizard.rloFile, "|"); >>>>>> } >>>>>> >>>>>> >>>>>> } else { //this is toolkits - play or post? >>>>>> >>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>> >>>>>> //hardcoded in here for now - this is a bit >>>>>> messy, needa better way of handling multiple runtimes with all >>>>>> the security etc >>>>>> if (wizard.nfoObject.wizard.runtime == >>>>>> 'preview_site.php'){ >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url = "preview_" + >>>>>> _root.template_id; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url = "preview.php?template_id=" + >>>>>> _root.template_id; >>>>>> >>>>>> } >>>>>> >>>>>> saveFile(); >>>>>> >>>>>> ExternalInterface.call("hideunload"); >>>>>> >>>>>> >>>>>> getURL("javascript:NewWindow = >>>>>> window.open('">>>>> Window=window.open('> >>>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>>> setunload(); void(0);"); >>>>>> >>>>>> } else { >>>>>> >>>>>> saveFile(); >>>>>> >>>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>>> wizard.getURLHelper.data = >>>>>> KOData.format(); >>>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>>> "_blank", "POST"); >>>>>> >>>>>> } >>>>>> >>>>>> } else { >>>>>> >>>>>> if (Key.isDown(Key.CONTROL)){ //play the html5 >>>>>> version >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url = "preview_" + _root.template_id >>>>>> + "&engine=other"; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url = "preview.php?template_id=" + >>>>>> _root.template_id + "&engine=other"; >>>>>> >>>>>> } >>>>>> >>>>>> } else { >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url = "preview_" + >>>>>> _root.template_id; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url = "preview.php?template_id=" + >>>>>> _root.template_id; >>>>>> >>>>>> } >>>>>> } >>>>>> >>>>>> >>>>>> //if shift is down, jump straight to this page >>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>> if (tree.selectedNode.attributes.linkID == >>>>>> undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>> Date().getTime(); >>>>>> } >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url += '_' + >>>>>> tree.selectedNode.attributes.linkID; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url += '&linkID=' + >>>>>> tree.selectedNode.attributes.linkID; >>>>>> >>>>>> } >>>>>> } >>>>>> saveFile(); >>>>>> >>>>>> ExternalInterface.call("hideunload"); >>>>>> >>>>>> >>>>>> getURL("javascript:NewWindow = >>>>>> window.open('">>>>> Window=window.open('> >>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>> setunload(); void(0);"); >>>>>> >>>>>> } >>>>>> } >>>>>> } >>>>>> >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @lists.nottingham.ac.uk>>>>>> m.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> xerte at pgogywebstuff.com>>>>> rte at pgogywebstuff.com> >>>>>> Sent: 10 May 2013 14:38 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> >>>>>> Windows 7 >>>>>> Firefox 20.1.0 >>>>>> Preview button doesn't work for anything once you've previewed >>>>>> Flash Player 11.7 >>>>>> >>>>>> Fine in Chrome >>>>>> No Joy in FF >>>>>> >>>>>> have commented out all of the JS >>>>>> >>>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>>> close event firing too soon? >>>>>> >>>>>> I'd put some fscommand("console.log") into the wizard. >>>>>> >>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>> of a fair to middling quality >>>>>> >>>>>> >>>>>> >>>>>> ----- Original Message ----- >>>>>> From: >>>>>> "For Xerte technical developers" >>>>>> >>>>> am.ac.uk>>>>>> ev at lists.nottingham.ac.uk>> >>>>>> >>>>>> >>>>>> To: >>>>>> "For Xerte technical developers" >>>>>> >>>>> .ac.uk>>>>>> listsnottingham.ac.uk>> >>>>>> Cc: >>>>>> >>>>>> >>>>>> Sent: >>>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>>> Subject: >>>>>> [Xerte-dev] Re: wizard files and modules More specifically 64bit >>>>>> Windows 7 >>>>>> >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @lists.nottingham.ac.uk>>>>>> m.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Julian Tenney >>>>>> Sent: 10 May 2013 13:58 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> >>>>>> Difference is Windows 7 - everything else the same and I see the >>>>>> p >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education's Widening Participation Initiative >>>> of the Year 2009 and Herald Society's Education Initiative of the >>>> Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e,6219,en.html >>>> >>>> >>>> Winner: Times Higher Education's Outstanding Support for Early >>>> Career Researchers of the Year 2010, GCU as a lead with >>>> Universities Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e,15691,en.html >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>> -- >>> -- >>> >>> Tom Reijnders >>> TOR Informatica >>> Chopinlaan 27 >>> 5242HM Rosmalen >>> Tel: 073 5226191 >>> Fax: 073 5226196 >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education's Widening Participation Initiative >>> of the Year 2009 and Herald Society's Education Initiative of the >>> Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,6219,en.html >>> >>> >>> Winner: Times Higher Education's Outstanding Support for Early >>> Career Researchers of the Year 2010, GCU as a lead with Universities >>> Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,15691,en.html >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> This message and any attachment are intended solely for the >>> addressee and may contain confidential information. If you have >>> received this message in error, please send it back to me, and immediately delete >>> it. Please do not use, copy or disclose the information contained >>> in this message or in any attachment. Any views or opinions >>> expressed by the author of this email do not necessarily reflect the >>> views of the University of Nottingham. >>> >>> This message has been checked for viruses but the contents of an >>> attachment may still contain software viruses which could damage >>> your computer >>> system: >>> you are advised to perform your own checks. Email communications >>> with the University of Nottingham may be monitored as permitted by >>> UK legislation. >>> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From J.J.Smith at gcu.ac.uk Mon May 13 10:03:07 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 13 May 2013 10:03:07 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <519087DA.4000509@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C51180B3F@EXCHANGE1.ad.nottingham.ac.uk> <519087DA.4000509@tor.nl> Message-ID: Hi Tom, You'll probably need to zip the file as our spam filter blocked it... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: Monday, May 13, 2013 7:28 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Could you please verify it works for you too? Then I'll commit this. This file belongs in modules/xerte/parent_templates/common_html5/js and in modules/xerte/js And yes it would be better not to duplicate... Tom Op 12-5-2013 22:49, Julian Tenney schreef: > Fellas! Nice one. I was just thinking about all this - magic, cheers. > ________________________________________ > From: xerte-dev-bounces at lists.nottingham.ac.uk > [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > [J.J.Smith at gcu.ac.uk] > Sent: 12 May 2013 21:33 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: wizard files and modules > > Took a while but we got there :-) > > Hopefully its a temporary measure anyway until the new html5 editor can take over. > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > Tom Reijnders wrote: > > > And this works for Flash preview as well... > > Op 12-5-2013 18:58, Tom Reijnders schreef: >> I tried putting it in the XTInitialise/XTTerminate >> >> But that didn't work! >> >> What did worl was putting this in XTTerminate() >> >> window.opener.innerWidth+=2 >> window.opener.innerWidth-=2 >> >> Op 12-5-2013 17:05, Smith, John schreef: >>> I like your idea although it still doesn't quite explain why it >>> happens. I've narrowed it down to these lines in SWFObject >>> >>> var b = doc.getElementsByTagName("body")[0]; >>> var o = createElement(OBJECT); >>> o.setAttribute("type", FLASH_MIME_TYPE); >>> var t = b.appendChild(o); >>> >>> Commenting out the last line { var t = b.appendChild(o); } stops >>> the problem but i'm not sure how modifying that function will affect >>> other browsers etc... seems to be similar to this issue >>> http://stackoverflow.com/questions/14007062/mysterious-type-error-no >>> n-native-scope-object-in-firebug >>> >>> Anyway, I think you were looking for window.opener and not >>> window.parent though. Try changing the rloObject.htm tag to >>> this... seems to work for me >>> >>> >>> >> onbeforeunload = "XTTerminate();" onunload = >>> "XTTerminate();window.opener.innerWidth+=2;"> >>> >>> >>> More of a hack than a fix but it seems to work. You might want to >>> hide the extra code in your XTInitialise/XTTerminate functions... >>> >>> Regards, >>> >>> John Smith | Learning Technologist >>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>> Reijnders [reijnders at tor.nl] >>> Sent: 12 May 2013 14:13 >>> To: For Xerte technical developers >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> I tried a different approach to see what happens (I tried to resize >>> the parent window from beforeunload) >>> >>> But what I see is that in the preview window, window.parent is >>> recursive, i.e. window = window.parent = window.parent.parent = >>> window.parent.parent.parent.... >>> >>> Is that normal? (Not only in firefox, but also in Chrome). >>> >>> Does that tell us something? >>> >>> Tom >>> >>> Op 12-5-2013 14:00, Smith, John schreef: >>>> I think Tom's right that its needed in the html player to render >>>> flash objects... Definitely it that's causing the issue though... >>>> Im trying to debug now... >>>> >>>> Regards >>>> >>>> John Smith >>>> Learning Technologist >>>> School of Health and Life Sciences >>>> >>>> Sent from Samsung Galaxy SII >>>> >>>> >>>> "Pat @ Pgogy" wrote: >>>> >>>> >>>> Do you still need swf object? >>>> >>>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>>> >>>>> I think we're running into a few version/library problems which is >>>>> causing it... >>>>> >>>>> So Fay's code is using v2.2 of SWFObject but the editor is using >>>>> v1.5 >>>>> >>>>> Also, the flash preview isn't using either, it appears to be using >>>>> rloObject.js to create the Flash... >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist Room A251, Govan Mbeki Building >>>>> | School of Health & Life Sciences >>>>> | Glasgow Caledonian University >>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>> Reijnders [reijnders at tor.nl] >>>>> Sent: 12 May 2013 11:27 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> I don't know. I thought it is needed to display swf's inside the >>>>> content. >>>>> Fay should know the definitive answer to that. >>>>> >>>>> But that doesn't help when the preview is flash... >>>>> >>>>> Tom >>>>> >>>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>>> Ok i've partly solved it... >>>>>> >>>>>> Is this line needed in preview.php? >>>>>> >>>>>> >>>>>> >>>>>> Taking it out solves the issue for me... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building | School of Health & Life Sciences >>>>>> | Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>> Reijnders [reijnders at tor.nl] >>>>>> Sent: 12 May 2013 10:52 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>>> >>>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>>> >>>>>> so now if you replace preview.php with the attached file which >>>>>> does nothing but is valid XHTML then I don't see the problem any >>>>>> more so it must be the preview page... there are a lot of XHTML >>>>>> Transitional errors in edit.php and a couple on preview but i've >>>>>> fixed these now and still not working... >>>>>> >>>>>> Can either of you confirm that using this preview.php file remeve >>>>>> the issue from the editor? >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building | School of Health & Life Sciences >>>>>> | Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @lists.nottingham.ac.uk> >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>> s at lists.nottingham.ac.uk>] >>>>>> On Behalf Of Pat @ Pgogy >>>>>> [xerte at pgogywebstuff.com] >>>>>> Sent: 12 May 2013 10:25 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> Has this mostly happened post the upload successful button was added? >>>>>> >>>>>> I think the button click event isn't firing properly in flash? >>>>>> >>>>>> When I last did a lot of flash stuff, Firefox always went wrong >>>>>> on the object's depth properties >>>>>> >>>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>>> wrote: >>>>>> >>>>>> >>>>>> >>>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>>> Friday and it seems that it was because of what I was doing... >>>>>> >>>>>> When the editor window was opening I was MOVING the window so >>>>>> that I could see the workspace too and it seems that this change >>>>>> of focus from the Flash to the actual window was in some way >>>>>> doing something to the problem but this morning I was able to >>>>>> reproduce the problem this morning though because I wasn't doing >>>>>> anything to the window after clicking preview... >>>>>> >>>>>> Please watch this screencast ( http://screencast.com/t/38tpOLopLs >>>>>> ) and you'll see the button not working in exactly the same way >>>>>> that you all described but then simply resizing the window >>>>>> slightly makes it work again... now it's not a focus issue >>>>>> because simply clicking on the window border or the window header >>>>>> which would change focus away from the Flash wizard doesn't fix it... >>>>>> but resizing does. But only until you preview again and then you >>>>>> need to resize again... >>>>>> >>>>>> I have no idea why this is happening but will continue to have a >>>>>> play around with various things to see if I can come up with a fix... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building | School of Health & Life Sciences >>>>>> | Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @lists.nottingham.ac.uk> >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>> s at lists.nottingham.ac.uk>] >>>>>> On Behalf Of Tom Reijnders >>>>>> [reijnders at tor.nl] >>>>>> Sent: 11 May 2013 12:01 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> I looked into this further as well, and I've got it working (sort >>>>>> of). The original problem is beyond our control. Something gets >>>>>> changed by showing and closing the preview. I concentrated on the >>>>>> call to popup preview: >>>>>> >>>>>> Where url is 'preview.php&template_id=4' >>>>>> >>>>>> getURL("javascript:NewWindow = >>>>>> window.open('">>>>> Window=window.open('> >>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>> setunload(); void(0);"); >>>>>> >>>>>> What I did: >>>>>> 1. I changed the code to do exactly the same but in a different way: >>>>>> >>>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>>> this.template_height, this.template_width); >>>>>> - Supply javascript function in edit.php that does: >>>>>> >>>>>> function openPreview(url, height, width) >>>>>> { >>>>>> NewWindow = window.open(url, 'previewwindow', 'height=' >>>>>> + height, ',width=' + width); >>>>>> NewWindow.focus(); >>>>>> } >>>>>> >>>>>> This behaves exactly the same, as in, it doesn't work. After >>>>>> closing preview, the file browser doesn't pop up any more. >>>>>> >>>>>> 2. So, different approach, without using javascript: >>>>>> >>>>>> - From flash call: getURL(url, "_blank") >>>>>> >>>>>> This has as a drawback (or advantage) that the preview is shown >>>>>> in a new window/tab in stead of a popup, and so it >>>>>> ignores/doesn't use the sizes of the window. >>>>>> >>>>>> BUT it does work! >>>>>> >>>>>> Is that a viable solution? For firefox only? >>>>>> >>>>>> Tom >>>>>> >>>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>>> Tested the file button, and debugged the FileRef.browse and got >>>>>> Function, so it does exist, before FileRef.browse is called. >>>>>> >>>>>> Took out all but the void(0) and still failing. Have stripped >>>>>> down the function to this. >>>>>> >>>>>> I don?t think it is our code. Going for beer. >>>>>> >>>>>> >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @lists.nottingham.ac.uk>>>>>> m.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> xerte at pgogywebstuff.com>>>>> rte at pgogywebstuff.com> >>>>>> Sent: 10 May 2013 14:58 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>>> button? >>>>>> >>>>>> try not setting focus? that seems a possible route? >>>>>> >>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>> of a fair to middling quality >>>>>> >>>>>> >>>>>> ----- Original Message ----- >>>>>> From: >>>>>> "For Xerte technical developers" >>>>>> >>>>> am.ac.uk>>>>>> ev at lists.nottingham.ac.uk>> >>>>>> >>>>>> To: >>>>>> "For Xerte technical developers >>>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>>> >>>>> am.ac.uk>>>>>> ev at lists.nottingham.ac.uk>> >>>>>> >>>>>> Cc: >>>>>> >>>>>> Sent: >>>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>>> Subject: >>>>>> [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> It boils down to this: >>>>>> >>>>>> >>>>>> function preview(){ >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url = "preview_" + _root.template_id; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url = "preview.php?template_id=" + >>>>>> _root.template_id; >>>>>> >>>>>> } >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> saveFile(); >>>>>> >>>>>> ExternalInterface.call("hideunload"); >>>>>> >>>>>> >>>>>> getURL("javascript:NewWindow = >>>>>> window.open('">>>>> Window=window.open('> >>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>> setunload(); void(0);"); >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> >>>>>> } >>>>>> >>>>>> >>>>>> From: Tenney Julian >>>>>> Sent: 10 May 2013 14:51 >>>>>> To: 'For Xerte technical developers' >>>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> >>>>>> Here be function preview() (I?m guessing you can?t see it? Can >>>>>> you see anything obvious / or anything I can try commenting out / >>>>>> testing to test your theory?) Probably next week though, I have >>>>>> to go soon, >>>>>> >>>>>> >>>>>> function preview(){ >>>>>> >>>>>> >>>>>> if (xerte){ >>>>>> >>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>> //post the xml data into the url specified >>>>>> >>>>>> saveFile(); >>>>>> >>>>>> } else {//play it in Xerte >>>>>> >>>>>> //if shift is down, jump straight to this page >>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>> if (tree.selectedNode.attributes.linkID == >>>>>> undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>> Date().getTime(); >>>>>> } >>>>>> //set the linkID in _level0 of the runtime >>>>>> (it is deleted after onInit is fired) >>>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>>> tree.selectedNode.attributes.linkID, "|"); >>>>>> } >>>>>> saveFile(); >>>>>> >>>>>> this.mode = 'preview'; >>>>>> >>>>>> >>>>>> //show the preview form >>>>>> mdm.form_show("preview"); >>>>>> mdm.form_restore("preview"); >>>>>> >>>>>> //fire up the piece >>>>>> mdm.form_callfunction("preview", "setMode", >>>>>> mode, "|"); >>>>>> mdm.form_callfunction("preview", "jumpFile", >>>>>> wizard.rloFile, "|"); >>>>>> } >>>>>> >>>>>> >>>>>> } else { //this is toolkits - play or post? >>>>>> >>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>> >>>>>> //hardcoded in here for now - this is a bit >>>>>> messy, needa better way of handling multiple runtimes with all >>>>>> the security etc >>>>>> if (wizard.nfoObject.wizard.runtime == >>>>>> 'preview_site.php'){ >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url = "preview_" + >>>>>> _root.template_id; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url = "preview.php?template_id=" + >>>>>> _root.template_id; >>>>>> >>>>>> } >>>>>> >>>>>> saveFile(); >>>>>> >>>>>> ExternalInterface.call("hideunload"); >>>>>> >>>>>> >>>>>> getURL("javascript:NewWindow = >>>>>> window.open('">>>>> Window=window.open('> >>>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>>> setunload(); void(0);"); >>>>>> >>>>>> } else { >>>>>> >>>>>> saveFile(); >>>>>> >>>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>>> wizard.getURLHelper.data = >>>>>> KOData.format(); >>>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>>> "_blank", "POST"); >>>>>> >>>>>> } >>>>>> >>>>>> } else { >>>>>> >>>>>> if (Key.isDown(Key.CONTROL)){ //play the html5 >>>>>> version >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url = "preview_" + _root.template_id >>>>>> + "&engine=other"; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url = "preview.php?template_id=" + >>>>>> _root.template_id + "&engine=other"; >>>>>> >>>>>> } >>>>>> >>>>>> } else { >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url = "preview_" + >>>>>> _root.template_id; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url = "preview.php?template_id=" + >>>>>> _root.template_id; >>>>>> >>>>>> } >>>>>> } >>>>>> >>>>>> >>>>>> //if shift is down, jump straight to this page >>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>> if (tree.selectedNode.attributes.linkID == >>>>>> undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>> Date().getTime(); >>>>>> } >>>>>> >>>>>> if(_root.apache!="false"){ >>>>>> >>>>>> url += '_' + >>>>>> tree.selectedNode.attributes.linkID; >>>>>> >>>>>> }else{ >>>>>> >>>>>> url += '&linkID=' + >>>>>> tree.selectedNode.attributes.linkID; >>>>>> >>>>>> } >>>>>> } >>>>>> saveFile(); >>>>>> >>>>>> ExternalInterface.call("hideunload"); >>>>>> >>>>>> >>>>>> getURL("javascript:NewWindow = >>>>>> window.open('">>>>> Window=window.open('> >>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>> setunload(); void(0);"); >>>>>> >>>>>> } >>>>>> } >>>>>> } >>>>>> >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @lists.nottingham.ac.uk>>>>>> m.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> xerte at pgogywebstuff.com>>>>> rte at pgogywebstuff.com> >>>>>> Sent: 10 May 2013 14:38 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> >>>>>> Windows 7 >>>>>> Firefox 20.1.0 >>>>>> Preview button doesn't work for anything once you've previewed >>>>>> Flash Player 11.7 >>>>>> >>>>>> Fine in Chrome >>>>>> No Joy in FF >>>>>> >>>>>> have commented out all of the JS >>>>>> >>>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>>> close event firing too soon? >>>>>> >>>>>> I'd put some fscommand("console.log") into the wizard. >>>>>> >>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>> of a fair to middling quality >>>>>> >>>>>> >>>>>> >>>>>> ----- Original Message ----- >>>>>> From: >>>>>> "For Xerte technical developers" >>>>>> >>>>> am.ac.uk>>>>>> ev at lists.nottingham.ac.uk>> >>>>>> >>>>>> >>>>>> To: >>>>>> "For Xerte technical developers" >>>>>> >>>>> .ac.uk>>>>>> listsnottingham.ac.uk>> >>>>>> Cc: >>>>>> >>>>>> >>>>>> Sent: >>>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>>> Subject: >>>>>> [Xerte-dev] Re: wizard files and modules More specifically 64bit >>>>>> Windows 7 >>>>>> >>>>>> >>>>>> From: >>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>> @lists.nottingham.ac.uk>>>>>> m.ac.uk> >>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>> Julian Tenney >>>>>> Sent: 10 May 2013 13:58 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> >>>>>> Difference is Windows 7 ? everything else the same and I see the >>>>>> p >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education?s Widening Participation Initiative >>>> of the Year 2009 and Herald Society?s Education Initiative of the >>>> Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e,6219,en.html >>>> >>>> >>>> Winner: Times Higher Education?s Outstanding Support for Early >>>> Career Researchers of the Year 2010, GCU as a lead with >>>> Universities Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e,15691,en.html >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>> -- >>> -- >>> >>> Tom Reijnders >>> TOR Informatica >>> Chopinlaan 27 >>> 5242HM Rosmalen >>> Tel: 073 5226191 >>> Fax: 073 5226196 >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number SC021474 >>> >>> Winner: Times Higher Education?s Widening Participation Initiative >>> of the Year 2009 and Herald Society?s Education Initiative of the >>> Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,6219,en.html >>> >>> >>> Winner: Times Higher Education?s Outstanding Support for Early >>> Career Researchers of the Year 2010, GCU as a lead with Universities >>> Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>> ,15691,en.html >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> This message and any attachment are intended solely for the >>> addressee and may contain confidential information. If you have >>> received this message in error, please send it back to me, and immediately delete >>> it. Please do not use, copy or disclose the information contained >>> in this message or in any attachment. Any views or opinions >>> expressed by the author of this email do not necessarily reflect the >>> views of the University of Nottingham. >>> >>> This message has been checked for viruses but the contents of an >>> attachment may still contain software viruses which could damage >>> your computer >>> system: >>> you are advised to perform your own checks. Email communications >>> with the University of Nottingham may be monitored as permitted by >>> UK legislation. >>> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 > 219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 > 5691,en.html > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From reijnders at tor.nl Mon May 13 10:52:17 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 13 May 2013 11:52:17 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A495D1@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51180B3F@EXCHANGE1.ad.nottingham.ac.uk> <519087DA.4000509@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A495D1@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <5190B7D1.2090600@tor.nl> I committed it to trunk: modules\xerte\js\xttracking_noop.js modules\xerte\parent_templates\Nottingham\common_html5\js\xttracking_noop.js If it works for you, I'll commit to 2.0 as well. Op 13-5-2013 10:58, Julian Tenney schreef: > Which file? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 13 May 2013 07:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > Could you please verify it works for you too? > Then I'll commit this. > > This file belongs in modules/xerte/parent_templates/common_html5/js and in modules/xerte/js > > And yes it would be better not to duplicate... > > Tom > > Op 12-5-2013 22:49, Julian Tenney schreef: >> Fellas! Nice one. I was just thinking about all this - magic, cheers. >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John >> [J.J.Smith at gcu.ac.uk] >> Sent: 12 May 2013 21:33 >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Took a while but we got there :-) >> >> Hopefully its a temporary measure anyway until the new html5 editor can take over. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> >> Tom Reijnders wrote: >> >> >> And this works for Flash preview as well... >> >> Op 12-5-2013 18:58, Tom Reijnders schreef: >>> I tried putting it in the XTInitialise/XTTerminate >>> >>> But that didn't work! >>> >>> What did worl was putting this in XTTerminate() >>> >>> window.opener.innerWidth+=2 >>> window.opener.innerWidth-=2 >>> >>> Op 12-5-2013 17:05, Smith, John schreef: >>>> I like your idea although it still doesn't quite explain why it >>>> happens. I've narrowed it down to these lines in SWFObject >>>> >>>> var b = doc.getElementsByTagName("body")[0]; >>>> var o = createElement(OBJECT); >>>> o.setAttribute("type", FLASH_MIME_TYPE); >>>> var t = b.appendChild(o); >>>> >>>> Commenting out the last line { var t = b.appendChild(o); } stops >>>> the problem but i'm not sure how modifying that function will affect >>>> other browsers etc... seems to be similar to this issue >>>> http://stackoverflow.com/questions/14007062/mysterious-type-error-no >>>> n-native-scope-object-in-firebug >>>> >>>> Anyway, I think you were looking for window.opener and not >>>> window.parent though. Try changing the rloObject.htm tag to >>>> this... seems to work for me >>>> >>>> >>>> >>> onbeforeunload = "XTTerminate();" onunload = >>>> "XTTerminate();window.opener.innerWidth+=2;"> >>>> >>>> >>>> More of a hack than a fix but it seems to work. You might want to >>>> hide the extra code in your XTInitialise/XTTerminate functions... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences | >>>> Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>> Reijnders [reijnders at tor.nl] >>>> Sent: 12 May 2013 14:13 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I tried a different approach to see what happens (I tried to resize >>>> the parent window from beforeunload) >>>> >>>> But what I see is that in the preview window, window.parent is >>>> recursive, i.e. window = window.parent = window.parent.parent = >>>> window.parent.parent.parent.... >>>> >>>> Is that normal? (Not only in firefox, but also in Chrome). >>>> >>>> Does that tell us something? >>>> >>>> Tom >>>> >>>> Op 12-5-2013 14:00, Smith, John schreef: >>>>> I think Tom's right that its needed in the html player to render >>>>> flash objects... Definitely it that's causing the issue though... >>>>> Im trying to debug now... >>>>> >>>>> Regards >>>>> >>>>> John Smith >>>>> Learning Technologist >>>>> School of Health and Life Sciences >>>>> >>>>> Sent from Samsung Galaxy SII >>>>> >>>>> >>>>> "Pat @ Pgogy" wrote: >>>>> >>>>> >>>>> Do you still need swf object? >>>>> >>>>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>>>> >>>>>> I think we're running into a few version/library problems which is >>>>>> causing it... >>>>>> >>>>>> So Fay's code is using v2.2 of SWFObject but the editor is using >>>>>> v1.5 >>>>>> >>>>>> Also, the flash preview isn't using either, it appears to be using >>>>>> rloObject.js to create the Flash... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki Building >>>>>> | School of Health & Life Sciences >>>>>> | Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>> Reijnders [reijnders at tor.nl] >>>>>> Sent: 12 May 2013 11:27 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> I don't know. I thought it is needed to display swf's inside the >>>>>> content. >>>>>> Fay should know the definitive answer to that. >>>>>> >>>>>> But that doesn't help when the preview is flash... >>>>>> >>>>>> Tom >>>>>> >>>>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>>>> Ok i've partly solved it... >>>>>>> >>>>>>> Is this line needed in preview.php? >>>>>>> >>>>>>> >>>>>>> >>>>>>> Taking it out solves the issue for me... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>>> Reijnders [reijnders at tor.nl] >>>>>>> Sent: 12 May 2013 10:52 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>>>> >>>>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>>>> >>>>>>> so now if you replace preview.php with the attached file which >>>>>>> does nothing but is valid XHTML then I don't see the problem any >>>>>>> more so it must be the preview page... there are a lot of XHTML >>>>>>> Transitional errors in edit.php and a couple on preview but i've >>>>>>> fixed these now and still not working... >>>>>>> >>>>>>> Can either of you confirm that using this preview.php file remeve >>>>>>> the issue from the editor? >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> @lists.nottingham.ac.uk> >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s at lists.nottingham.ac.uk>] >>>>>>> On Behalf Of Pat @ Pgogy >>>>>>> [xerte at pgogywebstuff.com] >>>>>>> Sent: 12 May 2013 10:25 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Has this mostly happened post the upload successful button was added? >>>>>>> >>>>>>> I think the button click event isn't firing properly in flash? >>>>>>> >>>>>>> When I last did a lot of flash stuff, Firefox always went wrong >>>>>>> on the object's depth properties >>>>>>> >>>>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>>>> Friday and it seems that it was because of what I was doing... >>>>>>> >>>>>>> When the editor window was opening I was MOVING the window so >>>>>>> that I could see the workspace too and it seems that this change >>>>>>> of focus from the Flash to the actual window was in some way >>>>>>> doing something to the problem but this morning I was able to >>>>>>> reproduce the problem this morning though because I wasn't doing >>>>>>> anything to the window after clicking preview... >>>>>>> >>>>>>> Please watch this screencast ( http://screencast.com/t/38tpOLopLs >>>>>>> ) and you'll see the button not working in exactly the same way >>>>>>> that you all described but then simply resizing the window >>>>>>> slightly makes it work again... now it's not a focus issue >>>>>>> because simply clicking on the window border or the window header >>>>>>> which would change focus away from the Flash wizard doesn't fix it... >>>>>>> but resizing does. But only until you preview again and then you >>>>>>> need to resize again... >>>>>>> >>>>>>> I have no idea why this is happening but will continue to have a >>>>>>> play around with various things to see if I can come up with a fix... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> @lists.nottingham.ac.uk> >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s at lists.nottingham.ac.uk>] >>>>>>> On Behalf Of Tom Reijnders >>>>>>> [reijnders at tor.nl] >>>>>>> Sent: 11 May 2013 12:01 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I looked into this further as well, and I've got it working (sort >>>>>>> of). The original problem is beyond our control. Something gets >>>>>>> changed by showing and closing the preview. I concentrated on the >>>>>>> call to popup preview: >>>>>>> >>>>>>> Where url is 'preview.php&template_id=4' >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> What I did: >>>>>>> 1. I changed the code to do exactly the same but in a different way: >>>>>>> >>>>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>>>> this.template_height, this.template_width); >>>>>>> - Supply javascript function in edit.php that does: >>>>>>> >>>>>>> function openPreview(url, height, width) >>>>>>> { >>>>>>> NewWindow = window.open(url, 'previewwindow', 'height=' >>>>>>> + height, ',width=' + width); >>>>>>> NewWindow.focus(); >>>>>>> } >>>>>>> >>>>>>> This behaves exactly the same, as in, it doesn't work. After >>>>>>> closing preview, the file browser doesn't pop up any more. >>>>>>> >>>>>>> 2. So, different approach, without using javascript: >>>>>>> >>>>>>> - From flash call: getURL(url, "_blank") >>>>>>> >>>>>>> This has as a drawback (or advantage) that the preview is shown >>>>>>> in a new window/tab in stead of a popup, and so it >>>>>>> ignores/doesn't use the sizes of the window. >>>>>>> >>>>>>> BUT it does work! >>>>>>> >>>>>>> Is that a viable solution? For firefox only? >>>>>>> >>>>>>> Tom >>>>>>> >>>>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>>>> Tested the file button, and debugged the FileRef.browse and got >>>>>>> Function, so it does exist, before FileRef.browse is called. >>>>>>> >>>>>>> Took out all but the void(0) and still failing. Have stripped >>>>>>> down the function to this. >>>>>>> >>>>>>> I don't think it is our code. Going for beer. >>>>>>> >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> @lists.nottingham.ac.uk>>>>>>> m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com>>>>>> rte at pgogywebstuff.com> >>>>>>> Sent: 10 May 2013 14:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>>>> button? >>>>>>> >>>>>>> try not setting focus? that seems a possible route? >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>> of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> am.ac.uk>>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers >>>>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>>>> >>>>>> am.ac.uk>>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> Cc: >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> It boils down to this: >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: Tenney Julian >>>>>>> Sent: 10 May 2013 14:51 >>>>>>> To: 'For Xerte technical developers' >>>>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Here be function preview() (I'm guessing you can't see it? Can >>>>>>> you see anything obvious / or anything I can try commenting out / >>>>>>> testing to test your theory?) Probably next week though, I have >>>>>>> to go soon, >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> if (xerte){ >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> //post the xml data into the url specified >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> } else {//play it in Xerte >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID == >>>>>>> undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>> Date().getTime(); >>>>>>> } >>>>>>> //set the linkID in _level0 of the runtime >>>>>>> (it is deleted after onInit is fired) >>>>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>>>> tree.selectedNode.attributes.linkID, "|"); >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> this.mode = 'preview'; >>>>>>> >>>>>>> >>>>>>> //show the preview form >>>>>>> mdm.form_show("preview"); >>>>>>> mdm.form_restore("preview"); >>>>>>> >>>>>>> //fire up the piece >>>>>>> mdm.form_callfunction("preview", "setMode", >>>>>>> mode, "|"); >>>>>>> mdm.form_callfunction("preview", "jumpFile", >>>>>>> wizard.rloFile, "|"); >>>>>>> } >>>>>>> >>>>>>> >>>>>>> } else { //this is toolkits - play or post? >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> >>>>>>> //hardcoded in here for now - this is a bit >>>>>>> messy, needa better way of handling multiple runtimes with all >>>>>>> the security etc >>>>>>> if (wizard.nfoObject.wizard.runtime == >>>>>>> 'preview_site.php'){ >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> Window=window.open('> >>>>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>>>> wizard.getURLHelper.data = >>>>>>> KOData.format(); >>>>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>>>> "_blank", "POST"); >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if (Key.isDown(Key.CONTROL)){ //play the html5 >>>>>>> version >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + _root.template_id >>>>>>> + "&engine=other"; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id + "&engine=other"; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID == >>>>>>> undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>> Date().getTime(); >>>>>>> } >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url += '_' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url += '&linkID=' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> @lists.nottingham.ac.uk>>>>>>> m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com>>>>>> rte at pgogywebstuff.com> >>>>>>> Sent: 10 May 2013 14:38 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Windows 7 >>>>>>> Firefox 20.1.0 >>>>>>> Preview button doesn't work for anything once you've previewed >>>>>>> Flash Player 11.7 >>>>>>> >>>>>>> Fine in Chrome >>>>>>> No Joy in FF >>>>>>> >>>>>>> have commented out all of the JS >>>>>>> >>>>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>>>> close event firing too soon? >>>>>>> >>>>>>> I'd put some fscommand("console.log") into the wizard. >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>> of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> am.ac.uk>>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> .ac.uk>>>>>>> listsnottingham.ac.uk>> >>>>>>> Cc: >>>>>>> >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules More specifically 64bit >>>>>>> Windows 7 >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> @lists.nottingham.ac.uk>>>>>>> m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Julian Tenney >>>>>>> Sent: 10 May 2013 13:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Difference is Windows 7 - everything else the same and I see the >>>>>>> p >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative >>>>> of the Year 2009 and Herald Society's Education Initiative of the >>>>> Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>>> e,6219,en.html >>>>> >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early >>>>> Career Researchers of the Year 2010, GCU as a lead with >>>>> Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>>> e,15691,en.html >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>> -- >>>> -- >>>> >>>> Tom Reijnders >>>> TOR Informatica >>>> Chopinlaan 27 >>>> 5242HM Rosmalen >>>> Tel: 073 5226191 >>>> Fax: 073 5226196 >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education's Widening Participation Initiative >>>> of the Year 2009 and Herald Society's Education Initiative of the >>>> Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>> ,6219,en.html >>>> >>>> >>>> Winner: Times Higher Education's Outstanding Support for Early >>>> Career Researchers of the Year 2010, GCU as a lead with Universities >>>> Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name >>>> ,15691,en.html >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> This message and any attachment are intended solely for the >>>> addressee and may contain confidential information. If you have >>>> received this message in error, please send it back to me, and immediately delete >>>> it. Please do not use, copy or disclose the information contained >>>> in this message or in any attachment. Any views or opinions >>>> expressed by the author of this email do not necessarily reflect the >>>> views of the University of Nottingham. >>>> >>>> This message has been checked for viruses but the contents of an >>>> attachment may still contain software viruses which could damage >>>> your computer >>>> system: >>>> you are advised to perform your own checks. Email communications >>>> with the University of Nottingham may be monitored as permitted by >>>> UK legislation. >>>> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. >> >> Glasgow Caledonian University is a registered Scottish charity, number >> SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6 >> 219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,1 >> 5691,en.html >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. >> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From reijnders at tor.nl Mon May 13 10:53:23 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 13 May 2013 11:53:23 +0200 Subject: [Xerte-dev] Fixes for Xenith? Message-ID: <5190B813.5040808@tor.nl> Fay, You apperently committed some fixes for Xenith last friday? Shouldn't those fixes be in 2.0 as well? Tom -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From J.J.Smith at gcu.ac.uk Mon May 13 12:13:05 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 13 May 2013 12:13:05 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <518CEA92.3070204@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> <9f1d86ed23c9d3b09689eaa45ef5092ba11d9fe3@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0DFE@EXCHANGE1.ad.nottingham.ac.uk> <518CEA92.3070204@tor.nl> Message-ID: Should we name them differently if they are different files, just to avoid confusion? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: Friday, May 10, 2013 1:40 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules What you have to realise, is that the files LOOK the same, and have the same name, but they ARE different. Op 10-5-2013 14:33, Julian Tenney schreef: Probably before I realised that we had the same files in lots of different places From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of xerte at pgogywebstuff.com Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php You might not built the structures, but you set the path Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things of a fair to middling quality ----- Original Message ----- From: "For Xerte technical developers" > To: "For Xerte technical developers" > Cc: Sent: Fri, 10 May 2013 13:11:19 +0100 Subject: [Xerte-dev] Re: wizard files and modules Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the edit.php from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.acuk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Mon May 13 12:15:42 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 13 May 2013 12:15:42 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A492FD@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DB7@EXCHANGE1.ad.nottingham.ac.uk> <518CE347.6060904@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> <518CE7C7.4050706@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A492FD@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: I'm still interested in why Fay didn't see this problem? Does it not happen on XP? Does that mean that something is different in the way XP handles Shockwave objects in the same browser? Or is it a 32bit/64bit issue? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, May 10, 2013 1:36 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I cannot fix it. I do not know what is causing it. I know that I fixed it before with the function(){} rather than null. So I suspect it is something trying to set a value on something undefined, or call a function that doesn't exist, or something like that but I would have thought that would show up as an error. I know if you don't launch the preview window, it continues to work. I trioed stopping all the lockfile stuff, but I don't really understand it and it didn't seem to help anyway. I know that on my local host it's the Xerte pieces that have the problem and on our server it is both. I know Fay doesn't have the problem with the same version of firefox. Maybe it's OS thing and I've been barking up the wrong tree all morning? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Not intentionally, I am sure, but according to the svn log it happened. Rev 840. Anyhow, it's fixed now. So xerte edit, will use the xerte wizard. Op 10-5-2013 14:11, Julian Tenney schreef: Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the edit.php from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Mon May 13 12:18:11 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 13 May 2013 13:18:11 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> <9f1d86ed23c9d3b09689eaa45ef5092ba11d9fe3@webmail.hosting.heartinternet.co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C518A0DFE@EXCHANGE1.ad.nottingham.ac.uk> <518CEA92.3070204@tor.nl> Message-ID: <5190CBF3.5010009@tor.nl> No, the whole point is that they have the same name. Op 13-5-2013 13:13, Smith, John schreef: > > Should we name them differently if they are different files, just to > avoid confusion? > > Regards, > > John Smith > > Learning Technologist > > School of Health & Life Sciences > > Glasgow Caledonian University > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of *Tom > Reijnders > *Sent:* Friday, May 10, 2013 1:40 PM > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > What you have to realise, is that the files LOOK the same, and have > the same name, but they ARE different. > > Op 10-5-2013 14:33, Julian Tenney schreef: > > Probably before I realised that we had the same files in lots of > different places > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf Of > *xerte at pgogywebstuff.com > *Sent:* 10 May 2013 13:28 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > http://code.google.com/p/xerteonlinetoolkits/source/diff?spec=svn885&r=840&format=side&path=/trunk/modules/xerte/edit.php > > You might not built the structures, but you set the path > > > > Pgogy Webstuff http://www.pgogywebstuff.com > > Makers of Web things of a fair to middling quality > > > ----- Original Message ----- > > *From:* > > "For Xerte technical developers" > > > > *To:* > > "For Xerte technical developers" > > > > *Cc:* > > *Sent:* > > Fri, 10 May 2013 13:11:19 +0100 > > *Subject:* > > [Xerte-dev] Re: wizard files and modules > > > Nope, the wizard.swf file. I did not build the structures that > contain modules/Xerte and modules/site, and I did not > duplicate all the files that are in there. > > *From:*xerte-dev-bounces at lists.nottingham.ac.uk > > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] *On Behalf > Of *Tom Reijnders > *Sent:* 10 May 2013 13:09 > *To:* For Xerte technical developers > *Subject:* [Xerte-dev] Re: wizard files and modules > > Hmmm... you did that yourself when you fixed the > onbeforeunload=function{}(); on April 25.... > As far as I can tell you copied the edit.php from site over to > xerte. > > > Op 10-5-2013 14:03, Julian Tenney schreef: > > OK, now I am really confused. > > When I use a xerte online template, the wizard comes from > modules/site/engine, not the wizard in modules/Xerte/engine. > > Any more cryptic pathing issues set up just for fun? > > Sheesh. > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.acuk/mailman/listinfo/xerte-dev > > -- > > -- > > Tom Reijnders > > TOR Informatica > > Chopinlaan 27 > > 5242HM Rosmalen > > Tel: 073 5226191 > > Fax: 073 5226196 > > > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of > the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon May 13 13:31:50 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 13 May 2013 13:31:50 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C518A0DB7@EXCHANGE1.ad.nottingham.ac.uk> <518CE347.6060904@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C518A0DCF@EXCHANGE1.ad.nottingham.ac.uk> <518CE7C7.4050706@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A492FD@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A497AD@EXCHANGE1.ad.nottingham.ac.uk> I suspect it's Win7 vs WinXP. Maybe someone can ground that out. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 12:16 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I'm still interested in why Fay didn't see this problem? Does it not happen on XP? Does that mean that something is different in the way XP handles Shockwave objects in the same browser? Or is it a 32bit/64bit issue? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Friday, May 10, 2013 1:36 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I cannot fix it. I do not know what is causing it. I know that I fixed it before with the function(){} rather than null. So I suspect it is something trying to set a value on something undefined, or call a function that doesn't exist, or something like that but I would have thought that would show up as an error. I know if you don't launch the preview window, it continues to work. I trioed stopping all the lockfile stuff, but I don't really understand it and it didn't seem to help anyway. I know that on my local host it's the Xerte pieces that have the problem and on our server it is both. I know Fay doesn't have the problem with the same version of firefox. Maybe it's OS thing and I've been barking up the wrong tree all morning? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:28 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Not intentionally, I am sure, but according to the svn log it happened. Rev 840. Anyhow, it's fixed now. So xerte edit, will use the xerte wizard. Op 10-5-2013 14:11, Julian Tenney schreef: Nope, the wizard.swf file. I did not build the structures that contain modules/Xerte and modules/site, and I did not duplicate all the files that are in there. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 10 May 2013 13:09 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Hmmm... you did that yourself when you fixed the onbeforeunload=function{}(); on April 25.... As far as I can tell you copied the edit.php from site over to xerte. Op 10-5-2013 14:03, Julian Tenney schreef: OK, now I am really confused. When I use a xerte online template, the wizard comes from modules/site/engine, not the wizard in modules/Xerte/engine. Any more cryptic pathing issues set up just for fun? Sheesh. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon May 13 13:44:49 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 13 May 2013 13:44:49 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <5190B7D1.2090600@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C51180B3F@EXCHANGE1.ad.nottingham.ac.uk> <519087DA.4000509@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A495D1@EXCHANGE1.ad.nottingham.ac.uk> <5190B7D1.2090600@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A497D4@EXCHANGE1.ad.nottingham.ac.uk> Yeah, it works. Brilliant, thanks for everyone's help -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 13 May 2013 10:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I committed it to trunk: modules\xerte\js\xttracking_noop.js modules\xerte\parent_templates\Nottingham\common_html5\js\xttracking_noop.js If it works for you, I'll commit to 2.0 as well. Op 13-5-2013 10:58, Julian Tenney schreef: > Which file? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom > Reijnders > Sent: 13 May 2013 07:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > Could you please verify it works for you too? > Then I'll commit this. > > This file belongs in modules/xerte/parent_templates/common_html5/js > and in modules/xerte/js > > And yes it would be better not to duplicate... > > Tom > > Op 12-5-2013 22:49, Julian Tenney schreef: >> Fellas! Nice one. I was just thinking about all this - magic, cheers. >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John >> [J.J.Smith at gcu.ac.uk] >> Sent: 12 May 2013 21:33 >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Took a while but we got there :-) >> >> Hopefully its a temporary measure anyway until the new html5 editor can take over. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> >> Tom Reijnders wrote: >> >> >> And this works for Flash preview as well... >> >> Op 12-5-2013 18:58, Tom Reijnders schreef: >>> I tried putting it in the XTInitialise/XTTerminate >>> >>> But that didn't work! >>> >>> What did worl was putting this in XTTerminate() >>> >>> window.opener.innerWidth+=2 >>> window.opener.innerWidth-=2 >>> >>> Op 12-5-2013 17:05, Smith, John schreef: >>>> I like your idea although it still doesn't quite explain why it >>>> happens. I've narrowed it down to these lines in SWFObject >>>> >>>> var b = doc.getElementsByTagName("body")[0]; >>>> var o = createElement(OBJECT); >>>> o.setAttribute("type", FLASH_MIME_TYPE); >>>> var t = b.appendChild(o); >>>> >>>> Commenting out the last line { var t = b.appendChild(o); } stops >>>> the problem but i'm not sure how modifying that function will >>>> affect other browsers etc... seems to be similar to this issue >>>> http://stackoverflow.com/questions/14007062/mysterious-type-error-n >>>> o >>>> n-native-scope-object-in-firebug >>>> >>>> Anyway, I think you were looking for window.opener and not >>>> window.parent though. Try changing the rloObject.htm tag to >>>> this... seems to work for me >>>> >>>> >>>> >>> onbeforeunload = "XTTerminate();" onunload = >>>> "XTTerminate();window.opener.innerWidth+=2;"> >>>> >>>> >>>> More of a hack than a fix but it seems to work. You might want to >>>> hide the extra code in your XTInitialise/XTTerminate functions... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>> | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>> Reijnders [reijnders at tor.nl] >>>> Sent: 12 May 2013 14:13 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I tried a different approach to see what happens (I tried to resize >>>> the parent window from beforeunload) >>>> >>>> But what I see is that in the preview window, window.parent is >>>> recursive, i.e. window = window.parent = window.parent.parent = >>>> window.parent.parent.parent.... >>>> >>>> Is that normal? (Not only in firefox, but also in Chrome). >>>> >>>> Does that tell us something? >>>> >>>> Tom >>>> >>>> Op 12-5-2013 14:00, Smith, John schreef: >>>>> I think Tom's right that its needed in the html player to render >>>>> flash objects... Definitely it that's causing the issue though... >>>>> Im trying to debug now... >>>>> >>>>> Regards >>>>> >>>>> John Smith >>>>> Learning Technologist >>>>> School of Health and Life Sciences >>>>> >>>>> Sent from Samsung Galaxy SII >>>>> >>>>> >>>>> "Pat @ Pgogy" wrote: >>>>> >>>>> >>>>> Do you still need swf object? >>>>> >>>>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>>>> >>>>>> I think we're running into a few version/library problems which >>>>>> is causing it... >>>>>> >>>>>> So Fay's code is using v2.2 of SWFObject but the editor is using >>>>>> v1.5 >>>>>> >>>>>> Also, the flash preview isn't using either, it appears to be >>>>>> using rloObject.js to create the Flash... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building >>>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>> Reijnders [reijnders at tor.nl] >>>>>> Sent: 12 May 2013 11:27 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> I don't know. I thought it is needed to display swf's inside the >>>>>> content. >>>>>> Fay should know the definitive answer to that. >>>>>> >>>>>> But that doesn't help when the preview is flash... >>>>>> >>>>>> Tom >>>>>> >>>>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>>>> Ok i've partly solved it... >>>>>>> >>>>>>> Is this line needed in preview.php? >>>>>>> >>>>>>> >>>>>>> >>>>>>> Taking it out solves the issue for me... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>>> Reijnders [reijnders at tor.nl] >>>>>>> Sent: 12 May 2013 10:52 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>>>> >>>>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>>>> >>>>>>> so now if you replace preview.php with the attached file which >>>>>>> does nothing but is valid XHTML then I don't see the problem any >>>>>>> more so it must be the preview page... there are a lot of XHTML >>>>>>> Transitional errors in edit.php and a couple on preview but i've >>>>>>> fixed these now and still not working... >>>>>>> >>>>>>> Can either of you confirm that using this preview.php file >>>>>>> remeve the issue from the editor? >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk> >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> e >>>>>>> s at lists.nottingham.ac.uk>] >>>>>>> On Behalf Of Pat @ Pgogy >>>>>>> [xerte at pgogywebstuff.com] >>>>>>> Sent: 12 May 2013 10:25 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Has this mostly happened post the upload successful button was added? >>>>>>> >>>>>>> I think the button click event isn't firing properly in flash? >>>>>>> >>>>>>> When I last did a lot of flash stuff, Firefox always went wrong >>>>>>> on the object's depth properties >>>>>>> >>>>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>>>> Friday and it seems that it was because of what I was doing... >>>>>>> >>>>>>> When the editor window was opening I was MOVING the window so >>>>>>> that I could see the workspace too and it seems that this change >>>>>>> of focus from the Flash to the actual window was in some way >>>>>>> doing something to the problem but this morning I was able to >>>>>>> reproduce the problem this morning though because I wasn't doing >>>>>>> anything to the window after clicking preview... >>>>>>> >>>>>>> Please watch this screencast ( >>>>>>> http://screencast.com/t/38tpOLopLs >>>>>>> ) and you'll see the button not working in exactly the same way >>>>>>> that you all described but then simply resizing the window >>>>>>> slightly makes it work again... now it's not a focus issue >>>>>>> because simply clicking on the window border or the window >>>>>>> header which would change focus away from the Flash wizard doesn't fix it... >>>>>>> but resizing does. But only until you preview again and then you >>>>>>> need to resize again... >>>>>>> >>>>>>> I have no idea why this is happening but will continue to have a >>>>>>> play around with various things to see if I can come up with a fix... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk> >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> e >>>>>>> s at lists.nottingham.ac.uk>] >>>>>>> On Behalf Of Tom Reijnders >>>>>>> [reijnders at tor.nl] >>>>>>> Sent: 11 May 2013 12:01 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I looked into this further as well, and I've got it working >>>>>>> (sort of). The original problem is beyond our control. Something >>>>>>> gets changed by showing and closing the preview. I concentrated >>>>>>> on the call to popup preview: >>>>>>> >>>>>>> Where url is 'preview.php&template_id=4' >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> What I did: >>>>>>> 1. I changed the code to do exactly the same but in a different way: >>>>>>> >>>>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>>>> this.template_height, this.template_width); >>>>>>> - Supply javascript function in edit.php that does: >>>>>>> >>>>>>> function openPreview(url, height, width) >>>>>>> { >>>>>>> NewWindow = window.open(url, 'previewwindow', 'height=' >>>>>>> + height, ',width=' + width); >>>>>>> NewWindow.focus(); >>>>>>> } >>>>>>> >>>>>>> This behaves exactly the same, as in, it doesn't work. After >>>>>>> closing preview, the file browser doesn't pop up any more. >>>>>>> >>>>>>> 2. So, different approach, without using javascript: >>>>>>> >>>>>>> - From flash call: getURL(url, "_blank") >>>>>>> >>>>>>> This has as a drawback (or advantage) that the preview is shown >>>>>>> in a new window/tab in stead of a popup, and so it >>>>>>> ignores/doesn't use the sizes of the window. >>>>>>> >>>>>>> BUT it does work! >>>>>>> >>>>>>> Is that a viable solution? For firefox only? >>>>>>> >>>>>>> Tom >>>>>>> >>>>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>>>> Tested the file button, and debugged the FileRef.browse and got >>>>>>> Function, so it does exist, before FileRef.browse is called. >>>>>>> >>>>>>> Took out all but the void(0) and still failing. Have stripped >>>>>>> down the function to this. >>>>>>> >>>>>>> I don't think it is our code. Going for beer. >>>>>>> >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com>>>>>> e rte at pgogywebstuff.com> >>>>>>> Sent: 10 May 2013 14:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>>>> button? >>>>>>> >>>>>>> try not setting focus? that seems a possible route? >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>> of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers >>>>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> Cc: >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> It boils down to this: >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: Tenney Julian >>>>>>> Sent: 10 May 2013 14:51 >>>>>>> To: 'For Xerte technical developers' >>>>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Here be function preview() (I'm guessing you can't see it? Can >>>>>>> you see anything obvious / or anything I can try commenting out >>>>>>> / testing to test your theory?) Probably next week though, I >>>>>>> have to go soon, >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> if (xerte){ >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> //post the xml data into the url specified >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> } else {//play it in Xerte >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID >>>>>>> == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>> Date().getTime(); >>>>>>> } >>>>>>> //set the linkID in _level0 of the >>>>>>> runtime (it is deleted after onInit is fired) >>>>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>>>> tree.selectedNode.attributes.linkID, "|"); >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> this.mode = 'preview'; >>>>>>> >>>>>>> >>>>>>> //show the preview form >>>>>>> mdm.form_show("preview"); >>>>>>> mdm.form_restore("preview"); >>>>>>> >>>>>>> //fire up the piece >>>>>>> mdm.form_callfunction("preview", "setMode", >>>>>>> mode, "|"); >>>>>>> mdm.form_callfunction("preview", "jumpFile", >>>>>>> wizard.rloFile, "|"); >>>>>>> } >>>>>>> >>>>>>> >>>>>>> } else { //this is toolkits - play or post? >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> >>>>>>> //hardcoded in here for now - this is a bit >>>>>>> messy, needa better way of handling multiple runtimes with all >>>>>>> the security etc >>>>>>> if (wizard.nfoObject.wizard.runtime == >>>>>>> 'preview_site.php'){ >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>>>> wizard.getURLHelper.data = >>>>>>> KOData.format(); >>>>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>>>> "_blank", "POST"); >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if (Key.isDown(Key.CONTROL)){ //play the >>>>>>> html5 version >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id >>>>>>> + "&engine=other"; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id + "&engine=other"; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID >>>>>>> == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>> Date().getTime(); >>>>>>> } >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url += '_' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url += '&linkID=' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com>>>>>> e rte at pgogywebstuff.com> >>>>>>> Sent: 10 May 2013 14:38 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Windows 7 >>>>>>> Firefox 20.1.0 >>>>>>> Preview button doesn't work for anything once you've previewed >>>>>>> Flash Player 11.7 >>>>>>> >>>>>>> Fine in Chrome >>>>>>> No Joy in FF >>>>>>> >>>>>>> have commented out all of the JS >>>>>>> >>>>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>>>> close event firing too soon? >>>>>>> >>>>>>> I'd put some fscommand("console.log") into the wizard. >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>> of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> m >>>>>>> .ac.uk>>>>>>> @ >>>>>>> listsnottingham.ac.uk>> >>>>>>> Cc: >>>>>>> >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules More specifically 64bit >>>>>>> Windows 7 >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Julian Tenney >>>>>>> Sent: 10 May 2013 13:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Difference is Windows 7 - everything else the same and I see the >>>>>>> p >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative >>>>> of the Year 2009 and Herald Society's Education Initiative of the >>>>> Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e,6219,en.html >>>>> >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early >>>>> Career Researchers of the Year 2010, GCU as a lead with >>>>> Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e,15691,en.html >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>> -- >>>> -- >>>> >>>> Tom Reijnders >>>> TOR Informatica >>>> Chopinlaan 27 >>>> 5242HM Rosmalen >>>> Tel: 073 5226191 >>>> Fax: 073 5226196 >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education's Widening Participation Initiative >>>> of the Year 2009 and Herald Society's Education Initiative of the >>>> Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e >>>> ,6219,en.html >>>> >>>> >>>> Winner: Times Higher Education's Outstanding Support for Early >>>> Career Researchers of the Year 2010, GCU as a lead with >>>> Universities Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e >>>> ,15691,en.html >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> This message and any attachment are intended solely for the >>>> addressee and may contain confidential information. If you have >>>> received this message in error, please send it back to me, and immediately delete >>>> it. Please do not use, copy or disclose the information contained >>>> in this message or in any attachment. Any views or opinions >>>> expressed by the author of this email do not necessarily reflect >>>> the views of the University of Nottingham. >>>> >>>> This message has been checked for viruses but the contents of an >>>> attachment may still contain software viruses which could damage >>>> your computer >>>> system: >>>> you are advised to perform your own checks. Email communications >>>> with the University of Nottingham may be monitored as permitted by >>>> UK legislation. >>>> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. >> >> Glasgow Caledonian University is a registered Scottish charity, >> number >> SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6 >> 219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 1 >> 5691,en.html >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. >> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Mon May 13 13:47:31 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 13 May 2013 13:47:31 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A497D4@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51180B3F@EXCHANGE1.ad.nottingham.ac.uk> <519087DA.4000509@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A495D1@EXCHANGE1.ad.nottingham.ac.uk> <5190B7D1.2090600@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A497D4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A497D8@EXCHANGE1.ad.nottingham.ac.uk> But it still fails in the bootstrap template on our server... -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 May 2013 13:45 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Yeah, it works. Brilliant, thanks for everyone's help -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 13 May 2013 10:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I committed it to trunk: modules\xerte\js\xttracking_noop.js modules\xerte\parent_templates\Nottingham\common_html5\js\xttracking_noop.js If it works for you, I'll commit to 2.0 as well. Op 13-5-2013 10:58, Julian Tenney schreef: > Which file? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom > Reijnders > Sent: 13 May 2013 07:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > Could you please verify it works for you too? > Then I'll commit this. > > This file belongs in modules/xerte/parent_templates/common_html5/js > and in modules/xerte/js > > And yes it would be better not to duplicate... > > Tom > > Op 12-5-2013 22:49, Julian Tenney schreef: >> Fellas! Nice one. I was just thinking about all this - magic, cheers. >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John >> [J.J.Smith at gcu.ac.uk] >> Sent: 12 May 2013 21:33 >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Took a while but we got there :-) >> >> Hopefully its a temporary measure anyway until the new html5 editor can take over. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> >> Tom Reijnders wrote: >> >> >> And this works for Flash preview as well... >> >> Op 12-5-2013 18:58, Tom Reijnders schreef: >>> I tried putting it in the XTInitialise/XTTerminate >>> >>> But that didn't work! >>> >>> What did worl was putting this in XTTerminate() >>> >>> window.opener.innerWidth+=2 >>> window.opener.innerWidth-=2 >>> >>> Op 12-5-2013 17:05, Smith, John schreef: >>>> I like your idea although it still doesn't quite explain why it >>>> happens. I've narrowed it down to these lines in SWFObject >>>> >>>> var b = doc.getElementsByTagName("body")[0]; >>>> var o = createElement(OBJECT); >>>> o.setAttribute("type", FLASH_MIME_TYPE); >>>> var t = b.appendChild(o); >>>> >>>> Commenting out the last line { var t = b.appendChild(o); } stops >>>> the problem but i'm not sure how modifying that function will >>>> affect other browsers etc... seems to be similar to this issue >>>> http://stackoverflow.com/questions/14007062/mysterious-type-error-n >>>> o >>>> n-native-scope-object-in-firebug >>>> >>>> Anyway, I think you were looking for window.opener and not >>>> window.parent though. Try changing the rloObject.htm tag to >>>> this... seems to work for me >>>> >>>> >>>> >>> onbeforeunload = "XTTerminate();" onunload = >>>> "XTTerminate();window.opener.innerWidth+=2;"> >>>> >>>> >>>> More of a hack than a fix but it seems to work. You might want to >>>> hide the extra code in your XTInitialise/XTTerminate functions... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>> | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>> Reijnders [reijnders at tor.nl] >>>> Sent: 12 May 2013 14:13 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I tried a different approach to see what happens (I tried to resize >>>> the parent window from beforeunload) >>>> >>>> But what I see is that in the preview window, window.parent is >>>> recursive, i.e. window = window.parent = window.parent.parent = >>>> window.parent.parent.parent.... >>>> >>>> Is that normal? (Not only in firefox, but also in Chrome). >>>> >>>> Does that tell us something? >>>> >>>> Tom >>>> >>>> Op 12-5-2013 14:00, Smith, John schreef: >>>>> I think Tom's right that its needed in the html player to render >>>>> flash objects... Definitely it that's causing the issue though... >>>>> Im trying to debug now... >>>>> >>>>> Regards >>>>> >>>>> John Smith >>>>> Learning Technologist >>>>> School of Health and Life Sciences >>>>> >>>>> Sent from Samsung Galaxy SII >>>>> >>>>> >>>>> "Pat @ Pgogy" wrote: >>>>> >>>>> >>>>> Do you still need swf object? >>>>> >>>>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>>>> >>>>>> I think we're running into a few version/library problems which >>>>>> is causing it... >>>>>> >>>>>> So Fay's code is using v2.2 of SWFObject but the editor is using >>>>>> v1.5 >>>>>> >>>>>> Also, the flash preview isn't using either, it appears to be >>>>>> using rloObject.js to create the Flash... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building >>>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>> Reijnders [reijnders at tor.nl] >>>>>> Sent: 12 May 2013 11:27 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> I don't know. I thought it is needed to display swf's inside the >>>>>> content. >>>>>> Fay should know the definitive answer to that. >>>>>> >>>>>> But that doesn't help when the preview is flash... >>>>>> >>>>>> Tom >>>>>> >>>>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>>>> Ok i've partly solved it... >>>>>>> >>>>>>> Is this line needed in preview.php? >>>>>>> >>>>>>> >>>>>>> >>>>>>> Taking it out solves the issue for me... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>>> Reijnders [reijnders at tor.nl] >>>>>>> Sent: 12 May 2013 10:52 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>>>> >>>>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>>>> >>>>>>> so now if you replace preview.php with the attached file which >>>>>>> does nothing but is valid XHTML then I don't see the problem any >>>>>>> more so it must be the preview page... there are a lot of XHTML >>>>>>> Transitional errors in edit.php and a couple on preview but i've >>>>>>> fixed these now and still not working... >>>>>>> >>>>>>> Can either of you confirm that using this preview.php file >>>>>>> remeve the issue from the editor? >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk> >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> e >>>>>>> s at lists.nottingham.ac.uk>] >>>>>>> On Behalf Of Pat @ Pgogy >>>>>>> [xerte at pgogywebstuff.com] >>>>>>> Sent: 12 May 2013 10:25 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Has this mostly happened post the upload successful button was added? >>>>>>> >>>>>>> I think the button click event isn't firing properly in flash? >>>>>>> >>>>>>> When I last did a lot of flash stuff, Firefox always went wrong >>>>>>> on the object's depth properties >>>>>>> >>>>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>>>> Friday and it seems that it was because of what I was doing... >>>>>>> >>>>>>> When the editor window was opening I was MOVING the window so >>>>>>> that I could see the workspace too and it seems that this change >>>>>>> of focus from the Flash to the actual window was in some way >>>>>>> doing something to the problem but this morning I was able to >>>>>>> reproduce the problem this morning though because I wasn't doing >>>>>>> anything to the window after clicking preview... >>>>>>> >>>>>>> Please watch this screencast ( >>>>>>> http://screencast.com/t/38tpOLopLs >>>>>>> ) and you'll see the button not working in exactly the same way >>>>>>> that you all described but then simply resizing the window >>>>>>> slightly makes it work again... now it's not a focus issue >>>>>>> because simply clicking on the window border or the window >>>>>>> header which would change focus away from the Flash wizard doesn't fix it... >>>>>>> but resizing does. But only until you preview again and then you >>>>>>> need to resize again... >>>>>>> >>>>>>> I have no idea why this is happening but will continue to have a >>>>>>> play around with various things to see if I can come up with a fix... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk> >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> e >>>>>>> s at lists.nottingham.ac.uk>] >>>>>>> On Behalf Of Tom Reijnders >>>>>>> [reijnders at tor.nl] >>>>>>> Sent: 11 May 2013 12:01 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I looked into this further as well, and I've got it working >>>>>>> (sort of). The original problem is beyond our control. Something >>>>>>> gets changed by showing and closing the preview. I concentrated >>>>>>> on the call to popup preview: >>>>>>> >>>>>>> Where url is 'preview.php&template_id=4' >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> What I did: >>>>>>> 1. I changed the code to do exactly the same but in a different way: >>>>>>> >>>>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>>>> this.template_height, this.template_width); >>>>>>> - Supply javascript function in edit.php that does: >>>>>>> >>>>>>> function openPreview(url, height, width) >>>>>>> { >>>>>>> NewWindow = window.open(url, 'previewwindow', 'height=' >>>>>>> + height, ',width=' + width); >>>>>>> NewWindow.focus(); >>>>>>> } >>>>>>> >>>>>>> This behaves exactly the same, as in, it doesn't work. After >>>>>>> closing preview, the file browser doesn't pop up any more. >>>>>>> >>>>>>> 2. So, different approach, without using javascript: >>>>>>> >>>>>>> - From flash call: getURL(url, "_blank") >>>>>>> >>>>>>> This has as a drawback (or advantage) that the preview is shown >>>>>>> in a new window/tab in stead of a popup, and so it >>>>>>> ignores/doesn't use the sizes of the window. >>>>>>> >>>>>>> BUT it does work! >>>>>>> >>>>>>> Is that a viable solution? For firefox only? >>>>>>> >>>>>>> Tom >>>>>>> >>>>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>>>> Tested the file button, and debugged the FileRef.browse and got >>>>>>> Function, so it does exist, before FileRef.browse is called. >>>>>>> >>>>>>> Took out all but the void(0) and still failing. Have stripped >>>>>>> down the function to this. >>>>>>> >>>>>>> I don't think it is our code. Going for beer. >>>>>>> >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com>>>>>> e rte at pgogywebstuff.com> >>>>>>> Sent: 10 May 2013 14:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>>>> button? >>>>>>> >>>>>>> try not setting focus? that seems a possible route? >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>> of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers >>>>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> Cc: >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> It boils down to this: >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: Tenney Julian >>>>>>> Sent: 10 May 2013 14:51 >>>>>>> To: 'For Xerte technical developers' >>>>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Here be function preview() (I'm guessing you can't see it? Can >>>>>>> you see anything obvious / or anything I can try commenting out >>>>>>> / testing to test your theory?) Probably next week though, I >>>>>>> have to go soon, >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> if (xerte){ >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> //post the xml data into the url specified >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> } else {//play it in Xerte >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID >>>>>>> == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>> Date().getTime(); >>>>>>> } >>>>>>> //set the linkID in _level0 of the >>>>>>> runtime (it is deleted after onInit is fired) >>>>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>>>> tree.selectedNode.attributes.linkID, "|"); >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> this.mode = 'preview'; >>>>>>> >>>>>>> >>>>>>> //show the preview form >>>>>>> mdm.form_show("preview"); >>>>>>> mdm.form_restore("preview"); >>>>>>> >>>>>>> //fire up the piece >>>>>>> mdm.form_callfunction("preview", "setMode", >>>>>>> mode, "|"); >>>>>>> mdm.form_callfunction("preview", "jumpFile", >>>>>>> wizard.rloFile, "|"); >>>>>>> } >>>>>>> >>>>>>> >>>>>>> } else { //this is toolkits - play or post? >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> >>>>>>> //hardcoded in here for now - this is a bit >>>>>>> messy, needa better way of handling multiple runtimes with all >>>>>>> the security etc >>>>>>> if (wizard.nfoObject.wizard.runtime == >>>>>>> 'preview_site.php'){ >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>>>> wizard.getURLHelper.data = >>>>>>> KOData.format(); >>>>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>>>> "_blank", "POST"); >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if (Key.isDown(Key.CONTROL)){ //play the >>>>>>> html5 version >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id >>>>>>> + "&engine=other"; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id + "&engine=other"; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID >>>>>>> == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>> Date().getTime(); >>>>>>> } >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url += '_' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url += '&linkID=' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com>>>>>> e rte at pgogywebstuff.com> >>>>>>> Sent: 10 May 2013 14:38 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Windows 7 >>>>>>> Firefox 20.1.0 >>>>>>> Preview button doesn't work for anything once you've previewed >>>>>>> Flash Player 11.7 >>>>>>> >>>>>>> Fine in Chrome >>>>>>> No Joy in FF >>>>>>> >>>>>>> have commented out all of the JS >>>>>>> >>>>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>>>> close event firing too soon? >>>>>>> >>>>>>> I'd put some fscommand("console.log") into the wizard. >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>> of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> m >>>>>>> .ac.uk>>>>>>> @ >>>>>>> listsnottingham.ac.uk>> >>>>>>> Cc: >>>>>>> >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules More specifically 64bit >>>>>>> Windows 7 >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Julian Tenney >>>>>>> Sent: 10 May 2013 13:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Difference is Windows 7 - everything else the same and I see the >>>>>>> p >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative >>>>> of the Year 2009 and Herald Society's Education Initiative of the >>>>> Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e,6219,en.html >>>>> >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early >>>>> Career Researchers of the Year 2010, GCU as a lead with >>>>> Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e,15691,en.html >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>> -- >>>> -- >>>> >>>> Tom Reijnders >>>> TOR Informatica >>>> Chopinlaan 27 >>>> 5242HM Rosmalen >>>> Tel: 073 5226191 >>>> Fax: 073 5226196 >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education's Widening Participation Initiative >>>> of the Year 2009 and Herald Society's Education Initiative of the >>>> Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e >>>> ,6219,en.html >>>> >>>> >>>> Winner: Times Higher Education's Outstanding Support for Early >>>> Career Researchers of the Year 2010, GCU as a lead with >>>> Universities Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e >>>> ,15691,en.html >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> This message and any attachment are intended solely for the >>>> addressee and may contain confidential information. If you have >>>> received this message in error, please send it back to me, and immediately delete >>>> it. Please do not use, copy or disclose the information contained >>>> in this message or in any attachment. Any views or opinions >>>> expressed by the author of this email do not necessarily reflect >>>> the views of the University of Nottingham. >>>> >>>> This message has been checked for viruses but the contents of an >>>> attachment may still contain software viruses which could damage >>>> your computer >>>> system: >>>> you are advised to perform your own checks. Email communications >>>> with the University of Nottingham may be monitored as permitted by >>>> UK legislation. >>>> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. >> >> Glasgow Caledonian University is a registered Scottish charity, >> number >> SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6 >> 219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 1 >> 5691,en.html >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. >> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Mon May 13 13:53:33 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 13 May 2013 13:53:33 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A497D8@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51180B3F@EXCHANGE1.ad.nottingham.ac.uk> <519087DA.4000509@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A495D1@EXCHANGE1.ad.nottingham.ac.uk> <5190B7D1.2090600@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A497D4@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497D8@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A497E5@EXCHANGE1.ad.nottingham.ac.uk> I switched the file in modules/site/js with the same file in modules/Xerte/js. I don't have the file in modules/site/parent_templates/site/common/js Should I put it there? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 May 2013 13:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules But it still fails in the bootstrap template on our server... -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 May 2013 13:45 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Yeah, it works. Brilliant, thanks for everyone's help -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 13 May 2013 10:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I committed it to trunk: modules\xerte\js\xttracking_noop.js modules\xerte\parent_templates\Nottingham\common_html5\js\xttracking_noop.js If it works for you, I'll commit to 2.0 as well. Op 13-5-2013 10:58, Julian Tenney schreef: > Which file? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom > Reijnders > Sent: 13 May 2013 07:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > Could you please verify it works for you too? > Then I'll commit this. > > This file belongs in modules/xerte/parent_templates/common_html5/js > and in modules/xerte/js > > And yes it would be better not to duplicate... > > Tom > > Op 12-5-2013 22:49, Julian Tenney schreef: >> Fellas! Nice one. I was just thinking about all this - magic, cheers. >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John >> [J.J.Smith at gcu.ac.uk] >> Sent: 12 May 2013 21:33 >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Took a while but we got there :-) >> >> Hopefully its a temporary measure anyway until the new html5 editor can take over. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> >> Tom Reijnders wrote: >> >> >> And this works for Flash preview as well... >> >> Op 12-5-2013 18:58, Tom Reijnders schreef: >>> I tried putting it in the XTInitialise/XTTerminate >>> >>> But that didn't work! >>> >>> What did worl was putting this in XTTerminate() >>> >>> window.opener.innerWidth+=2 >>> window.opener.innerWidth-=2 >>> >>> Op 12-5-2013 17:05, Smith, John schreef: >>>> I like your idea although it still doesn't quite explain why it >>>> happens. I've narrowed it down to these lines in SWFObject >>>> >>>> var b = doc.getElementsByTagName("body")[0]; >>>> var o = createElement(OBJECT); >>>> o.setAttribute("type", FLASH_MIME_TYPE); >>>> var t = b.appendChild(o); >>>> >>>> Commenting out the last line { var t = b.appendChild(o); } stops >>>> the problem but i'm not sure how modifying that function will >>>> affect other browsers etc... seems to be similar to this issue >>>> http://stackoverflow.com/questions/14007062/mysterious-type-error-n >>>> o >>>> n-native-scope-object-in-firebug >>>> >>>> Anyway, I think you were looking for window.opener and not >>>> window.parent though. Try changing the rloObject.htm tag to >>>> this... seems to work for me >>>> >>>> >>>> >>> onbeforeunload = "XTTerminate();" onunload = >>>> "XTTerminate();window.opener.innerWidth+=2;"> >>>> >>>> >>>> More of a hack than a fix but it seems to work. You might want to >>>> hide the extra code in your XTInitialise/XTTerminate functions... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>> | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>> Reijnders [reijnders at tor.nl] >>>> Sent: 12 May 2013 14:13 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I tried a different approach to see what happens (I tried to resize >>>> the parent window from beforeunload) >>>> >>>> But what I see is that in the preview window, window.parent is >>>> recursive, i.e. window = window.parent = window.parent.parent = >>>> window.parent.parent.parent.... >>>> >>>> Is that normal? (Not only in firefox, but also in Chrome). >>>> >>>> Does that tell us something? >>>> >>>> Tom >>>> >>>> Op 12-5-2013 14:00, Smith, John schreef: >>>>> I think Tom's right that its needed in the html player to render >>>>> flash objects... Definitely it that's causing the issue though... >>>>> Im trying to debug now... >>>>> >>>>> Regards >>>>> >>>>> John Smith >>>>> Learning Technologist >>>>> School of Health and Life Sciences >>>>> >>>>> Sent from Samsung Galaxy SII >>>>> >>>>> >>>>> "Pat @ Pgogy" wrote: >>>>> >>>>> >>>>> Do you still need swf object? >>>>> >>>>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>>>> >>>>>> I think we're running into a few version/library problems which >>>>>> is causing it... >>>>>> >>>>>> So Fay's code is using v2.2 of SWFObject but the editor is using >>>>>> v1.5 >>>>>> >>>>>> Also, the flash preview isn't using either, it appears to be >>>>>> using rloObject.js to create the Flash... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building >>>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>> Reijnders [reijnders at tor.nl] >>>>>> Sent: 12 May 2013 11:27 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> I don't know. I thought it is needed to display swf's inside the >>>>>> content. >>>>>> Fay should know the definitive answer to that. >>>>>> >>>>>> But that doesn't help when the preview is flash... >>>>>> >>>>>> Tom >>>>>> >>>>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>>>> Ok i've partly solved it... >>>>>>> >>>>>>> Is this line needed in preview.php? >>>>>>> >>>>>>> >>>>>>> >>>>>>> Taking it out solves the issue for me... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>>> Reijnders [reijnders at tor.nl] >>>>>>> Sent: 12 May 2013 10:52 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>>>> >>>>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>>>> >>>>>>> so now if you replace preview.php with the attached file which >>>>>>> does nothing but is valid XHTML then I don't see the problem any >>>>>>> more so it must be the preview page... there are a lot of XHTML >>>>>>> Transitional errors in edit.php and a couple on preview but i've >>>>>>> fixed these now and still not working... >>>>>>> >>>>>>> Can either of you confirm that using this preview.php file >>>>>>> remeve the issue from the editor? >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk> >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> e >>>>>>> s at lists.nottingham.ac.uk>] >>>>>>> On Behalf Of Pat @ Pgogy >>>>>>> [xerte at pgogywebstuff.com] >>>>>>> Sent: 12 May 2013 10:25 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Has this mostly happened post the upload successful button was added? >>>>>>> >>>>>>> I think the button click event isn't firing properly in flash? >>>>>>> >>>>>>> When I last did a lot of flash stuff, Firefox always went wrong >>>>>>> on the object's depth properties >>>>>>> >>>>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>>>> Friday and it seems that it was because of what I was doing... >>>>>>> >>>>>>> When the editor window was opening I was MOVING the window so >>>>>>> that I could see the workspace too and it seems that this change >>>>>>> of focus from the Flash to the actual window was in some way >>>>>>> doing something to the problem but this morning I was able to >>>>>>> reproduce the problem this morning though because I wasn't doing >>>>>>> anything to the window after clicking preview... >>>>>>> >>>>>>> Please watch this screencast ( >>>>>>> http://screencast.com/t/38tpOLopLs >>>>>>> ) and you'll see the button not working in exactly the same way >>>>>>> that you all described but then simply resizing the window >>>>>>> slightly makes it work again... now it's not a focus issue >>>>>>> because simply clicking on the window border or the window >>>>>>> header which would change focus away from the Flash wizard doesn't fix it... >>>>>>> but resizing does. But only until you preview again and then you >>>>>>> need to resize again... >>>>>>> >>>>>>> I have no idea why this is happening but will continue to have a >>>>>>> play around with various things to see if I can come up with a fix... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk> >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> e >>>>>>> s at lists.nottingham.ac.uk>] >>>>>>> On Behalf Of Tom Reijnders >>>>>>> [reijnders at tor.nl] >>>>>>> Sent: 11 May 2013 12:01 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I looked into this further as well, and I've got it working >>>>>>> (sort of). The original problem is beyond our control. Something >>>>>>> gets changed by showing and closing the preview. I concentrated >>>>>>> on the call to popup preview: >>>>>>> >>>>>>> Where url is 'preview.php&template_id=4' >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> What I did: >>>>>>> 1. I changed the code to do exactly the same but in a different way: >>>>>>> >>>>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>>>> this.template_height, this.template_width); >>>>>>> - Supply javascript function in edit.php that does: >>>>>>> >>>>>>> function openPreview(url, height, width) >>>>>>> { >>>>>>> NewWindow = window.open(url, 'previewwindow', 'height=' >>>>>>> + height, ',width=' + width); >>>>>>> NewWindow.focus(); >>>>>>> } >>>>>>> >>>>>>> This behaves exactly the same, as in, it doesn't work. After >>>>>>> closing preview, the file browser doesn't pop up any more. >>>>>>> >>>>>>> 2. So, different approach, without using javascript: >>>>>>> >>>>>>> - From flash call: getURL(url, "_blank") >>>>>>> >>>>>>> This has as a drawback (or advantage) that the preview is shown >>>>>>> in a new window/tab in stead of a popup, and so it >>>>>>> ignores/doesn't use the sizes of the window. >>>>>>> >>>>>>> BUT it does work! >>>>>>> >>>>>>> Is that a viable solution? For firefox only? >>>>>>> >>>>>>> Tom >>>>>>> >>>>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>>>> Tested the file button, and debugged the FileRef.browse and got >>>>>>> Function, so it does exist, before FileRef.browse is called. >>>>>>> >>>>>>> Took out all but the void(0) and still failing. Have stripped >>>>>>> down the function to this. >>>>>>> >>>>>>> I don't think it is our code. Going for beer. >>>>>>> >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com>>>>>> e rte at pgogywebstuff.com> >>>>>>> Sent: 10 May 2013 14:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>>>> button? >>>>>>> >>>>>>> try not setting focus? that seems a possible route? >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>> of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers >>>>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> Cc: >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> It boils down to this: >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: Tenney Julian >>>>>>> Sent: 10 May 2013 14:51 >>>>>>> To: 'For Xerte technical developers' >>>>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Here be function preview() (I'm guessing you can't see it? Can >>>>>>> you see anything obvious / or anything I can try commenting out >>>>>>> / testing to test your theory?) Probably next week though, I >>>>>>> have to go soon, >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> if (xerte){ >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> //post the xml data into the url specified >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> } else {//play it in Xerte >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID >>>>>>> == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>> Date().getTime(); >>>>>>> } >>>>>>> //set the linkID in _level0 of the >>>>>>> runtime (it is deleted after onInit is fired) >>>>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>>>> tree.selectedNode.attributes.linkID, "|"); >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> this.mode = 'preview'; >>>>>>> >>>>>>> >>>>>>> //show the preview form >>>>>>> mdm.form_show("preview"); >>>>>>> mdm.form_restore("preview"); >>>>>>> >>>>>>> //fire up the piece >>>>>>> mdm.form_callfunction("preview", "setMode", >>>>>>> mode, "|"); >>>>>>> mdm.form_callfunction("preview", "jumpFile", >>>>>>> wizard.rloFile, "|"); >>>>>>> } >>>>>>> >>>>>>> >>>>>>> } else { //this is toolkits - play or post? >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> >>>>>>> //hardcoded in here for now - this is a bit >>>>>>> messy, needa better way of handling multiple runtimes with all >>>>>>> the security etc >>>>>>> if (wizard.nfoObject.wizard.runtime == >>>>>>> 'preview_site.php'){ >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>>>> wizard.getURLHelper.data = >>>>>>> KOData.format(); >>>>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>>>> "_blank", "POST"); >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if (Key.isDown(Key.CONTROL)){ //play the >>>>>>> html5 version >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id >>>>>>> + "&engine=other"; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id + "&engine=other"; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID >>>>>>> == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>> Date().getTime(); >>>>>>> } >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url += '_' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url += '&linkID=' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com>>>>>> e rte at pgogywebstuff.com> >>>>>>> Sent: 10 May 2013 14:38 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Windows 7 >>>>>>> Firefox 20.1.0 >>>>>>> Preview button doesn't work for anything once you've previewed >>>>>>> Flash Player 11.7 >>>>>>> >>>>>>> Fine in Chrome >>>>>>> No Joy in FF >>>>>>> >>>>>>> have commented out all of the JS >>>>>>> >>>>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>>>> close event firing too soon? >>>>>>> >>>>>>> I'd put some fscommand("console.log") into the wizard. >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>> of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> m >>>>>>> .ac.uk>>>>>>> @ >>>>>>> listsnottingham.ac.uk>> >>>>>>> Cc: >>>>>>> >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules More specifically 64bit >>>>>>> Windows 7 >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Julian Tenney >>>>>>> Sent: 10 May 2013 13:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Difference is Windows 7 - everything else the same and I see the >>>>>>> p >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative >>>>> of the Year 2009 and Herald Society's Education Initiative of the >>>>> Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e,6219,en.html >>>>> >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early >>>>> Career Researchers of the Year 2010, GCU as a lead with >>>>> Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e,15691,en.html >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>> -- >>>> -- >>>> >>>> Tom Reijnders >>>> TOR Informatica >>>> Chopinlaan 27 >>>> 5242HM Rosmalen >>>> Tel: 073 5226191 >>>> Fax: 073 5226196 >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education's Widening Participation Initiative >>>> of the Year 2009 and Herald Society's Education Initiative of the >>>> Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e >>>> ,6219,en.html >>>> >>>> >>>> Winner: Times Higher Education's Outstanding Support for Early >>>> Career Researchers of the Year 2010, GCU as a lead with >>>> Universities Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e >>>> ,15691,en.html >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> This message and any attachment are intended solely for the >>>> addressee and may contain confidential information. If you have >>>> received this message in error, please send it back to me, and immediately delete >>>> it. Please do not use, copy or disclose the information contained >>>> in this message or in any attachment. Any views or opinions >>>> expressed by the author of this email do not necessarily reflect >>>> the views of the University of Nottingham. >>>> >>>> This message has been checked for viruses but the contents of an >>>> attachment may still contain software viruses which could damage >>>> your computer >>>> system: >>>> you are advised to perform your own checks. Email communications >>>> with the University of Nottingham may be monitored as permitted by >>>> UK legislation. >>>> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. >> >> Glasgow Caledonian University is a registered Scottish charity, >> number >> SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6 >> 219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 1 >> 5691,en.html >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. >> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Mon May 13 13:55:57 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 13 May 2013 13:55:57 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A497E5@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51180B3F@EXCHANGE1.ad.nottingham.ac.uk> <519087DA.4000509@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A495D1@EXCHANGE1.ad.nottingham.ac.uk> <5190B7D1.2090600@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A497D4@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497D8@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497E5@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A497EA@EXCHANGE1.ad.nottingham.ac.uk> I tried and it didn't work. Do I have all the right stuff in the modules/site etc folders? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 May 2013 13:54 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I switched the file in modules/site/js with the same file in modules/Xerte/js. I don't have the file in modules/site/parent_templates/site/common/js Should I put it there? -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 May 2013 13:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules But it still fails in the bootstrap template on our server... -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 May 2013 13:45 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Yeah, it works. Brilliant, thanks for everyone's help -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 13 May 2013 10:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I committed it to trunk: modules\xerte\js\xttracking_noop.js modules\xerte\parent_templates\Nottingham\common_html5\js\xttracking_noop.js If it works for you, I'll commit to 2.0 as well. Op 13-5-2013 10:58, Julian Tenney schreef: > Which file? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom > Reijnders > Sent: 13 May 2013 07:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > Could you please verify it works for you too? > Then I'll commit this. > > This file belongs in modules/xerte/parent_templates/common_html5/js > and in modules/xerte/js > > And yes it would be better not to duplicate... > > Tom > > Op 12-5-2013 22:49, Julian Tenney schreef: >> Fellas! Nice one. I was just thinking about all this - magic, cheers. >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John >> [J.J.Smith at gcu.ac.uk] >> Sent: 12 May 2013 21:33 >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Took a while but we got there :-) >> >> Hopefully its a temporary measure anyway until the new html5 editor can take over. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> >> Tom Reijnders wrote: >> >> >> And this works for Flash preview as well... >> >> Op 12-5-2013 18:58, Tom Reijnders schreef: >>> I tried putting it in the XTInitialise/XTTerminate >>> >>> But that didn't work! >>> >>> What did worl was putting this in XTTerminate() >>> >>> window.opener.innerWidth+=2 >>> window.opener.innerWidth-=2 >>> >>> Op 12-5-2013 17:05, Smith, John schreef: >>>> I like your idea although it still doesn't quite explain why it >>>> happens. I've narrowed it down to these lines in SWFObject >>>> >>>> var b = doc.getElementsByTagName("body")[0]; >>>> var o = createElement(OBJECT); >>>> o.setAttribute("type", FLASH_MIME_TYPE); >>>> var t = b.appendChild(o); >>>> >>>> Commenting out the last line { var t = b.appendChild(o); } stops >>>> the problem but i'm not sure how modifying that function will >>>> affect other browsers etc... seems to be similar to this issue >>>> http://stackoverflow.com/questions/14007062/mysterious-type-error-n >>>> o >>>> n-native-scope-object-in-firebug >>>> >>>> Anyway, I think you were looking for window.opener and not >>>> window.parent though. Try changing the rloObject.htm tag to >>>> this... seems to work for me >>>> >>>> >>>> >>> onbeforeunload = "XTTerminate();" onunload = >>>> "XTTerminate();window.opener.innerWidth+=2;"> >>>> >>>> >>>> More of a hack than a fix but it seems to work. You might want to >>>> hide the extra code in your XTInitialise/XTTerminate functions... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>> | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>> Reijnders [reijnders at tor.nl] >>>> Sent: 12 May 2013 14:13 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I tried a different approach to see what happens (I tried to resize >>>> the parent window from beforeunload) >>>> >>>> But what I see is that in the preview window, window.parent is >>>> recursive, i.e. window = window.parent = window.parent.parent = >>>> window.parent.parent.parent.... >>>> >>>> Is that normal? (Not only in firefox, but also in Chrome). >>>> >>>> Does that tell us something? >>>> >>>> Tom >>>> >>>> Op 12-5-2013 14:00, Smith, John schreef: >>>>> I think Tom's right that its needed in the html player to render >>>>> flash objects... Definitely it that's causing the issue though... >>>>> Im trying to debug now... >>>>> >>>>> Regards >>>>> >>>>> John Smith >>>>> Learning Technologist >>>>> School of Health and Life Sciences >>>>> >>>>> Sent from Samsung Galaxy SII >>>>> >>>>> >>>>> "Pat @ Pgogy" wrote: >>>>> >>>>> >>>>> Do you still need swf object? >>>>> >>>>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>>>> >>>>>> I think we're running into a few version/library problems which >>>>>> is causing it... >>>>>> >>>>>> So Fay's code is using v2.2 of SWFObject but the editor is using >>>>>> v1.5 >>>>>> >>>>>> Also, the flash preview isn't using either, it appears to be >>>>>> using rloObject.js to create the Flash... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building >>>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>> Reijnders [reijnders at tor.nl] >>>>>> Sent: 12 May 2013 11:27 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> I don't know. I thought it is needed to display swf's inside the >>>>>> content. >>>>>> Fay should know the definitive answer to that. >>>>>> >>>>>> But that doesn't help when the preview is flash... >>>>>> >>>>>> Tom >>>>>> >>>>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>>>> Ok i've partly solved it... >>>>>>> >>>>>>> Is this line needed in preview.php? >>>>>>> >>>>>>> >>>>>>> >>>>>>> Taking it out solves the issue for me... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>>> Reijnders [reijnders at tor.nl] >>>>>>> Sent: 12 May 2013 10:52 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>>>> >>>>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>>>> >>>>>>> so now if you replace preview.php with the attached file which >>>>>>> does nothing but is valid XHTML then I don't see the problem any >>>>>>> more so it must be the preview page... there are a lot of XHTML >>>>>>> Transitional errors in edit.php and a couple on preview but i've >>>>>>> fixed these now and still not working... >>>>>>> >>>>>>> Can either of you confirm that using this preview.php file >>>>>>> remeve the issue from the editor? >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk> >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> e >>>>>>> s at lists.nottingham.ac.uk>] >>>>>>> On Behalf Of Pat @ Pgogy >>>>>>> [xerte at pgogywebstuff.com] >>>>>>> Sent: 12 May 2013 10:25 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Has this mostly happened post the upload successful button was added? >>>>>>> >>>>>>> I think the button click event isn't firing properly in flash? >>>>>>> >>>>>>> When I last did a lot of flash stuff, Firefox always went wrong >>>>>>> on the object's depth properties >>>>>>> >>>>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>>>> Friday and it seems that it was because of what I was doing... >>>>>>> >>>>>>> When the editor window was opening I was MOVING the window so >>>>>>> that I could see the workspace too and it seems that this change >>>>>>> of focus from the Flash to the actual window was in some way >>>>>>> doing something to the problem but this morning I was able to >>>>>>> reproduce the problem this morning though because I wasn't doing >>>>>>> anything to the window after clicking preview... >>>>>>> >>>>>>> Please watch this screencast ( >>>>>>> http://screencast.com/t/38tpOLopLs >>>>>>> ) and you'll see the button not working in exactly the same way >>>>>>> that you all described but then simply resizing the window >>>>>>> slightly makes it work again... now it's not a focus issue >>>>>>> because simply clicking on the window border or the window >>>>>>> header which would change focus away from the Flash wizard doesn't fix it... >>>>>>> but resizing does. But only until you preview again and then you >>>>>>> need to resize again... >>>>>>> >>>>>>> I have no idea why this is happening but will continue to have a >>>>>>> play around with various things to see if I can come up with a fix... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk> >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> e >>>>>>> s at lists.nottingham.ac.uk>] >>>>>>> On Behalf Of Tom Reijnders >>>>>>> [reijnders at tor.nl] >>>>>>> Sent: 11 May 2013 12:01 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I looked into this further as well, and I've got it working >>>>>>> (sort of). The original problem is beyond our control. Something >>>>>>> gets changed by showing and closing the preview. I concentrated >>>>>>> on the call to popup preview: >>>>>>> >>>>>>> Where url is 'preview.php&template_id=4' >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> What I did: >>>>>>> 1. I changed the code to do exactly the same but in a different way: >>>>>>> >>>>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>>>> this.template_height, this.template_width); >>>>>>> - Supply javascript function in edit.php that does: >>>>>>> >>>>>>> function openPreview(url, height, width) >>>>>>> { >>>>>>> NewWindow = window.open(url, 'previewwindow', 'height=' >>>>>>> + height, ',width=' + width); >>>>>>> NewWindow.focus(); >>>>>>> } >>>>>>> >>>>>>> This behaves exactly the same, as in, it doesn't work. After >>>>>>> closing preview, the file browser doesn't pop up any more. >>>>>>> >>>>>>> 2. So, different approach, without using javascript: >>>>>>> >>>>>>> - From flash call: getURL(url, "_blank") >>>>>>> >>>>>>> This has as a drawback (or advantage) that the preview is shown >>>>>>> in a new window/tab in stead of a popup, and so it >>>>>>> ignores/doesn't use the sizes of the window. >>>>>>> >>>>>>> BUT it does work! >>>>>>> >>>>>>> Is that a viable solution? For firefox only? >>>>>>> >>>>>>> Tom >>>>>>> >>>>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>>>> Tested the file button, and debugged the FileRef.browse and got >>>>>>> Function, so it does exist, before FileRef.browse is called. >>>>>>> >>>>>>> Took out all but the void(0) and still failing. Have stripped >>>>>>> down the function to this. >>>>>>> >>>>>>> I don't think it is our code. Going for beer. >>>>>>> >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com>>>>>> e rte at pgogywebstuff.com> >>>>>>> Sent: 10 May 2013 14:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>>>> button? >>>>>>> >>>>>>> try not setting focus? that seems a possible route? >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>> of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers >>>>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> Cc: >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> It boils down to this: >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: Tenney Julian >>>>>>> Sent: 10 May 2013 14:51 >>>>>>> To: 'For Xerte technical developers' >>>>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Here be function preview() (I'm guessing you can't see it? Can >>>>>>> you see anything obvious / or anything I can try commenting out >>>>>>> / testing to test your theory?) Probably next week though, I >>>>>>> have to go soon, >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> if (xerte){ >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> //post the xml data into the url specified >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> } else {//play it in Xerte >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID >>>>>>> == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>> Date().getTime(); >>>>>>> } >>>>>>> //set the linkID in _level0 of the >>>>>>> runtime (it is deleted after onInit is fired) >>>>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>>>> tree.selectedNode.attributes.linkID, "|"); >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> this.mode = 'preview'; >>>>>>> >>>>>>> >>>>>>> //show the preview form >>>>>>> mdm.form_show("preview"); >>>>>>> mdm.form_restore("preview"); >>>>>>> >>>>>>> //fire up the piece >>>>>>> mdm.form_callfunction("preview", "setMode", >>>>>>> mode, "|"); >>>>>>> mdm.form_callfunction("preview", "jumpFile", >>>>>>> wizard.rloFile, "|"); >>>>>>> } >>>>>>> >>>>>>> >>>>>>> } else { //this is toolkits - play or post? >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> >>>>>>> //hardcoded in here for now - this is a bit >>>>>>> messy, needa better way of handling multiple runtimes with all >>>>>>> the security etc >>>>>>> if (wizard.nfoObject.wizard.runtime == >>>>>>> 'preview_site.php'){ >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>>>> wizard.getURLHelper.data = >>>>>>> KOData.format(); >>>>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>>>> "_blank", "POST"); >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if (Key.isDown(Key.CONTROL)){ //play the >>>>>>> html5 version >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id >>>>>>> + "&engine=other"; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id + "&engine=other"; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID >>>>>>> == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>> Date().getTime(); >>>>>>> } >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url += '_' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url += '&linkID=' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com>>>>>> e rte at pgogywebstuff.com> >>>>>>> Sent: 10 May 2013 14:38 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Windows 7 >>>>>>> Firefox 20.1.0 >>>>>>> Preview button doesn't work for anything once you've previewed >>>>>>> Flash Player 11.7 >>>>>>> >>>>>>> Fine in Chrome >>>>>>> No Joy in FF >>>>>>> >>>>>>> have commented out all of the JS >>>>>>> >>>>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>>>> close event firing too soon? >>>>>>> >>>>>>> I'd put some fscommand("console.log") into the wizard. >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>> of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> m >>>>>>> .ac.uk>>>>>>> @ >>>>>>> listsnottingham.ac.uk>> >>>>>>> Cc: >>>>>>> >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules More specifically 64bit >>>>>>> Windows 7 >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Julian Tenney >>>>>>> Sent: 10 May 2013 13:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Difference is Windows 7 - everything else the same and I see the >>>>>>> p >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative >>>>> of the Year 2009 and Herald Society's Education Initiative of the >>>>> Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e,6219,en.html >>>>> >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early >>>>> Career Researchers of the Year 2010, GCU as a lead with >>>>> Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e,15691,en.html >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>> -- >>>> -- >>>> >>>> Tom Reijnders >>>> TOR Informatica >>>> Chopinlaan 27 >>>> 5242HM Rosmalen >>>> Tel: 073 5226191 >>>> Fax: 073 5226196 >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education's Widening Participation Initiative >>>> of the Year 2009 and Herald Society's Education Initiative of the >>>> Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e >>>> ,6219,en.html >>>> >>>> >>>> Winner: Times Higher Education's Outstanding Support for Early >>>> Career Researchers of the Year 2010, GCU as a lead with >>>> Universities Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e >>>> ,15691,en.html >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> This message and any attachment are intended solely for the >>>> addressee and may contain confidential information. If you have >>>> received this message in error, please send it back to me, and immediately delete >>>> it. Please do not use, copy or disclose the information contained >>>> in this message or in any attachment. Any views or opinions >>>> expressed by the author of this email do not necessarily reflect >>>> the views of the University of Nottingham. >>>> >>>> This message has been checked for viruses but the contents of an >>>> attachment may still contain software viruses which could damage >>>> your computer >>>> system: >>>> you are advised to perform your own checks. Email communications >>>> with the University of Nottingham may be monitored as permitted by >>>> UK legislation. >>>> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. >> >> Glasgow Caledonian University is a registered Scottish charity, >> number >> SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6 >> 219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 1 >> 5691,en.html >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. >> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Mon May 13 13:59:33 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 13 May 2013 13:59:33 +0100 Subject: [Xerte-dev] FW: F4302881 in supportwork In-Reply-To: <4B6965E54E385E419329B3AA1E1A46F04D29D97434@EXCHANGE3.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51572F8F@EXCHANGE1.ad.nottingham.ac.uk> <93BFCFA4D5019E4EAC9DD52B5E7BD7922950EE9FC5@EXCHANGE3.ad.nottingham.ac.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C51A49603@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97430@EXCHANGE3.ad.nottingham.ac.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C51A49668@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97432@EXCHANGE3.ad.nottingham.ac.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C51A497BB@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97434@EXCHANGE3.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> Can someone help me troubleshoot this export issue please? I'm not really sure where to start... I can confirm it doesn't work. -----Original Message----- From: Reed Joel Sent: 13 May 2013 13:49 To: Tenney Julian Subject: RE: F4302881 in supportwork OK thanks. I think he was just a little concerned that students would soon be accessing his Xerte materials on Moodle. I noticed earlier that the XOT Export option wasn't working anymore. I couldn't retrieve a Zip Folder of my project (tried in all browsers/ cleared cache) when I clicked any of the four buttons available. Regards, Joel ________________________________________ From: Tenney Julian Sent: 13 May 2013 13:35 To: Reed Joel Subject: RE: F4302881 in supportwork > I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. I'll lok at that. I still have his mail in my to do list, just haven't got onto it with an afternoon to investigate yet... sorry about that. -----Original Message----- From: Reed Joel Sent: 13 May 2013 11:52 To: Tenney Julian Subject: RE: F4302881 in supportwork The Bootstrap templates are very useful. I actually demoed Bootstrap to the e-Learning department at Harper Adams University last week and they seemed very keen to implement an upgrade to Xerte 2.0 in the near future to make use of these. I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. Regards, Joel ________________________________________ From: Tenney Julian Sent: 13 May 2013 10:43 To: Reed Joel Subject: RE: F4302881 in supportwork That's a bug, I'll ask Fay to have a look at it, thanks. If you notice anything else, give me a shout - it's possible there are a few other smaller glitches in there. All the testing I did seemed OK on all the major stuff, but there might be a few things lurking in the details, The new bootstrap template is in there as well, I think you'll be able to make good use of that! Julian -----Original Message----- From: Reed Joel Sent: 13 May 2013 10:39 To: Tenney Julian Subject: RE: F4302881 in supportwork Hi Julian, No major issues; I just noticed that the way feedback is now distributed within XOT Quizzes has changed since the recent 2.0 upgrade, which might well be intentional. Previously when adding feedback to a Quiz (quiz-xot-screen.jpg attached), this text would appear only once at the end of the quiz after the user had answered all their questions; but now the feedback added into this field appears every time you answer one of the questions and is also displayed alongside the additional feedback you can assign to an individual question. Furthermore, if you don't add feedback to the main field in XOT, when using the Flash output player, a Null message is displayed at the end of the quiz (quiz-2.0.jpg attached). However I've noticed this doesn't occur if the project uses the HTML5 player. Regards, Joel ________________________________________ From: Tenney Julian Sent: 13 May 2013 10:12 To: Reed Joel Subject: FW: F4302881 in supportwork Hi mate, what's the problem? From: Zhang Linda Sent: 10 May 2013 15:26 To: Tenney Julian Subject: F4302881 in supportwork Hi Julian, Joel Reed raises an issue with the new version of Xerte 2.0. I have assigned the call to you in the supportwork system. Many Thanks Linda From xerte at pgogywebstuff.com Mon May 13 14:16:25 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Mon, 13 May 2013 14:16:25 +0100 Subject: [Xerte-dev] Re: FW: F4302881 in supportwork In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51572F8F@EXCHANGE1.ad.nottingham.ac.uk> <93BFCFA4D5019E4EAC9DD52B5E7BD7922950EE9FC5@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49603@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97430@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49668@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97432@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497BB@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97434@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: What happens when you click? Is it all learning objects? On 13 May 2013, at 13:59, Julian Tenney wrote: > Can someone help me troubleshoot this export issue please? I'm not really sure where to start... > > I can confirm it doesn't work. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 13:49 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > OK thanks. I think he was just a little concerned that students would soon be accessing his Xerte materials on Moodle. > > I noticed earlier that the XOT Export option wasn't working anymore. I couldn't retrieve a Zip Folder of my project (tried in all browsers/ cleared cache) when I clicked any of the four buttons available. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 13:35 > To: Reed Joel > Subject: RE: F4302881 in supportwork > >> I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > I'll lok at that. I still have his mail in my to do list, just haven't got onto it with an afternoon to investigate yet... sorry about that. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 11:52 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > The Bootstrap templates are very useful. I actually demoed Bootstrap to the e-Learning department at Harper Adams University last week and they seemed very keen to implement an upgrade to Xerte 2.0 in the near future to make use of these. > > I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:43 > To: Reed Joel > Subject: RE: F4302881 in supportwork > > That's a bug, I'll ask Fay to have a look at it, thanks. If you notice anything else, give me a shout - it's possible there are a few other smaller glitches in there. All the testing I did seemed OK on all the major stuff, but there might be a few things lurking in the details, > > The new bootstrap template is in there as well, I think you'll be able to make good use of that! > > Julian > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 10:39 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > Hi Julian, > > No major issues; I just noticed that the way feedback is now distributed within XOT Quizzes has changed since the recent 2.0 upgrade, which might well be intentional. > > Previously when adding feedback to a Quiz (quiz-xot-screen.jpg attached), this text would appear only once at the end of the quiz after the user had answered all their questions; but now the feedback added into this field appears every time you answer one of the questions and is also displayed alongside the additional feedback you can assign to an individual question. > > Furthermore, if you don't add feedback to the main field in XOT, when using the Flash output player, a Null message is displayed at the end of the quiz (quiz-2.0.jpg attached). However I've noticed this doesn't occur if the project uses the HTML5 player. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:12 > To: Reed Joel > Subject: FW: F4302881 in supportwork > > Hi mate, what's the problem? > > From: Zhang Linda > Sent: 10 May 2013 15:26 > To: Tenney Julian > Subject: F4302881 in supportwork > > Hi Julian, > Joel Reed raises an issue with the new version of Xerte 2.0. I have assigned the call to you in the supportwork system. > Many Thanks > Linda > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. From Julian.Tenney at nottingham.ac.uk Mon May 13 14:39:42 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 13 May 2013 14:39:42 +0100 Subject: [Xerte-dev] Re: FW: F4302881 in supportwork In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51572F8F@EXCHANGE1.ad.nottingham.ac.uk> <93BFCFA4D5019E4EAC9DD52B5E7BD7922950EE9FC5@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49603@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97430@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49668@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97432@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497BB@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97434@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A4984B@EXCHANGE1.ad.nottingham.ac.uk> Nothing. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 13 May 2013 14:16 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork What happens when you click? Is it all learning objects? On 13 May 2013, at 13:59, Julian Tenney wrote: > Can someone help me troubleshoot this export issue please? I'm not really sure where to start... > > I can confirm it doesn't work. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 13:49 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > OK thanks. I think he was just a little concerned that students would soon be accessing his Xerte materials on Moodle. > > I noticed earlier that the XOT Export option wasn't working anymore. I couldn't retrieve a Zip Folder of my project (tried in all browsers/ cleared cache) when I clicked any of the four buttons available. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 13:35 > To: Reed Joel > Subject: RE: F4302881 in supportwork > >> I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > I'll lok at that. I still have his mail in my to do list, just haven't got onto it with an afternoon to investigate yet... sorry about that. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 11:52 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > The Bootstrap templates are very useful. I actually demoed Bootstrap to the e-Learning department at Harper Adams University last week and they seemed very keen to implement an upgrade to Xerte 2.0 in the near future to make use of these. > > I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:43 > To: Reed Joel > Subject: RE: F4302881 in supportwork > > That's a bug, I'll ask Fay to have a look at it, thanks. If you notice > anything else, give me a shout - it's possible there are a few other > smaller glitches in there. All the testing I did seemed OK on all the > major stuff, but there might be a few things lurking in the details, > > The new bootstrap template is in there as well, I think you'll be able to make good use of that! > > Julian > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 10:39 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > Hi Julian, > > No major issues; I just noticed that the way feedback is now distributed within XOT Quizzes has changed since the recent 2.0 upgrade, which might well be intentional. > > Previously when adding feedback to a Quiz (quiz-xot-screen.jpg attached), this text would appear only once at the end of the quiz after the user had answered all their questions; but now the feedback added into this field appears every time you answer one of the questions and is also displayed alongside the additional feedback you can assign to an individual question. > > Furthermore, if you don't add feedback to the main field in XOT, when using the Flash output player, a Null message is displayed at the end of the quiz (quiz-2.0.jpg attached). However I've noticed this doesn't occur if the project uses the HTML5 player. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:12 > To: Reed Joel > Subject: FW: F4302881 in supportwork > > Hi mate, what's the problem? > > From: Zhang Linda > Sent: 10 May 2013 15:26 > To: Tenney Julian > Subject: F4302881 in supportwork > > Hi Julian, > Joel Reed raises an issue with the new version of Xerte 2.0. I have assigned the call to you in the supportwork system. > Many Thanks > Linda > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Mon May 13 14:46:43 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 13 May 2013 14:46:43 +0100 Subject: [Xerte-dev] Re: F4302881 in supportwork In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51572F8F@EXCHANGE1.ad.nottingham.ac.uk> <93BFCFA4D5019E4EAC9DD52B5E7BD7922950EE9FC5@EXCHANGE3.ad.nottingham.ac.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C51A49603@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97430@EXCHANGE3.ad.nottingham.ac.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C51A49668@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97432@EXCHANGE3.ad.nottingham.ac.uk>, <12C67A1EEC419342AF5E59DA31562C3F0C51A497BB@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97434@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: I've just tried all 4 buttons and they all work fine and produce a zip file... Was exporting a single page LO though... try creating a new one, add a page and then export... could it be content that is breaking it or the name or popup blocker? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 2:00 PM To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] FW: F4302881 in supportwork Can someone help me troubleshoot this export issue please? I'm not really sure where to start... I can confirm it doesn't work. -----Original Message----- From: Reed Joel Sent: 13 May 2013 13:49 To: Tenney Julian Subject: RE: F4302881 in supportwork OK thanks. I think he was just a little concerned that students would soon be accessing his Xerte materials on Moodle. I noticed earlier that the XOT Export option wasn't working anymore. I couldn't retrieve a Zip Folder of my project (tried in all browsers/ cleared cache) when I clicked any of the four buttons available. Regards, Joel ________________________________________ From: Tenney Julian Sent: 13 May 2013 13:35 To: Reed Joel Subject: RE: F4302881 in supportwork > I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. I'll lok at that. I still have his mail in my to do list, just haven't got onto it with an afternoon to investigate yet... sorry about that. -----Original Message----- From: Reed Joel Sent: 13 May 2013 11:52 To: Tenney Julian Subject: RE: F4302881 in supportwork The Bootstrap templates are very useful. I actually demoed Bootstrap to the e-Learning department at Harper Adams University last week and they seemed very keen to implement an upgrade to Xerte 2.0 in the near future to make use of these. I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. Regards, Joel ________________________________________ From: Tenney Julian Sent: 13 May 2013 10:43 To: Reed Joel Subject: RE: F4302881 in supportwork That's a bug, I'll ask Fay to have a look at it, thanks. If you notice anything else, give me a shout - it's possible there are a few other smaller glitches in there. All the testing I did seemed OK on all the major stuff, but there might be a few things lurking in the details, The new bootstrap template is in there as well, I think you'll be able to make good use of that! Julian -----Original Message----- From: Reed Joel Sent: 13 May 2013 10:39 To: Tenney Julian Subject: RE: F4302881 in supportwork Hi Julian, No major issues; I just noticed that the way feedback is now distributed within XOT Quizzes has changed since the recent 2.0 upgrade, which might well be intentional. Previously when adding feedback to a Quiz (quiz-xot-screen.jpg attached), this text would appear only once at the end of the quiz after the user had answered all their questions; but now the feedback added into this field appears every time you answer one of the questions and is also displayed alongside the additional feedback you can assign to an individual question. Furthermore, if you don't add feedback to the main field in XOT, when using the Flash output player, a Null message is displayed at the end of the quiz (quiz-2.0.jpg attached). However I've noticed this doesn't occur if the project uses the HTML5 player. Regards, Joel ________________________________________ From: Tenney Julian Sent: 13 May 2013 10:12 To: Reed Joel Subject: FW: F4302881 in supportwork Hi mate, what's the problem? From: Zhang Linda Sent: 10 May 2013 15:26 To: Tenney Julian Subject: F4302881 in supportwork Hi Julian, Joel Reed raises an issue with the new version of Xerte 2.0. I have assigned the call to you in the supportwork system. Many Thanks Linda _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From J.J.Smith at gcu.ac.uk Mon May 13 14:40:15 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 13 May 2013 14:40:15 +0100 Subject: [Xerte-dev] Re: FW: F4302881 in supportwork In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51572F8F@EXCHANGE1.ad.nottingham.ac.uk> <93BFCFA4D5019E4EAC9DD52B5E7BD7922950EE9FC5@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49603@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97430@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49668@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97432@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497BB@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97434@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: And what version is this in? I seem to remember a point in v1.8 or v1.9 where this was an issue, but not in the latest codebase... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Monday, May 13, 2013 2:16 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork What happens when you click? Is it all learning objects? On 13 May 2013, at 13:59, Julian Tenney wrote: > Can someone help me troubleshoot this export issue please? I'm not really sure where to start... > > I can confirm it doesn't work. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 13:49 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > OK thanks. I think he was just a little concerned that students would soon be accessing his Xerte materials on Moodle. > > I noticed earlier that the XOT Export option wasn't working anymore. I couldn't retrieve a Zip Folder of my project (tried in all browsers/ cleared cache) when I clicked any of the four buttons available. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 13:35 > To: Reed Joel > Subject: RE: F4302881 in supportwork > >> I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > I'll lok at that. I still have his mail in my to do list, just haven't got onto it with an afternoon to investigate yet... sorry about that. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 11:52 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > The Bootstrap templates are very useful. I actually demoed Bootstrap to the e-Learning department at Harper Adams University last week and they seemed very keen to implement an upgrade to Xerte 2.0 in the near future to make use of these. > > I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:43 > To: Reed Joel > Subject: RE: F4302881 in supportwork > > That's a bug, I'll ask Fay to have a look at it, thanks. If you notice > anything else, give me a shout - it's possible there are a few other > smaller glitches in there. All the testing I did seemed OK on all the > major stuff, but there might be a few things lurking in the details, > > The new bootstrap template is in there as well, I think you'll be able to make good use of that! > > Julian > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 10:39 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > Hi Julian, > > No major issues; I just noticed that the way feedback is now distributed within XOT Quizzes has changed since the recent 2.0 upgrade, which might well be intentional. > > Previously when adding feedback to a Quiz (quiz-xot-screen.jpg attached), this text would appear only once at the end of the quiz after the user had answered all their questions; but now the feedback added into this field appears every time you answer one of the questions and is also displayed alongside the additional feedback you can assign to an individual question. > > Furthermore, if you don't add feedback to the main field in XOT, when using the Flash output player, a Null message is displayed at the end of the quiz (quiz-2.0.jpg attached). However I've noticed this doesn't occur if the project uses the HTML5 player. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:12 > To: Reed Joel > Subject: FW: F4302881 in supportwork > > Hi mate, what's the problem? > > From: Zhang Linda > Sent: 10 May 2013 15:26 > To: Tenney Julian > Subject: F4302881 in supportwork > > Hi Julian, > Joel Reed raises an issue with the new version of Xerte 2.0. I have assigned the call to you in the supportwork system. > Many Thanks > Linda > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From J.J.Smith at gcu.ac.uk Mon May 13 14:55:05 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 13 May 2013 14:55:05 +0100 Subject: [Xerte-dev] Re: FW: F4302881 in supportwork In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A4984B@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51572F8F@EXCHANGE1.ad.nottingham.ac.uk> <93BFCFA4D5019E4EAC9DD52B5E7BD7922950EE9FC5@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49603@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97430@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49668@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97432@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497BB@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97434@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A4984B@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Try opening this url in a new tab, substituting the ID with whatever one you wish... /website_code/php/scorm/export.php?scorm=false&template_id=2&html5=true&flash=false Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 2:40 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Nothing. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 13 May 2013 14:16 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork What happens when you click? Is it all learning objects? On 13 May 2013, at 13:59, Julian Tenney wrote: > Can someone help me troubleshoot this export issue please? I'm not really sure where to start... > > I can confirm it doesn't work. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 13:49 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > OK thanks. I think he was just a little concerned that students would soon be accessing his Xerte materials on Moodle. > > I noticed earlier that the XOT Export option wasn't working anymore. I couldn't retrieve a Zip Folder of my project (tried in all browsers/ cleared cache) when I clicked any of the four buttons available. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 13:35 > To: Reed Joel > Subject: RE: F4302881 in supportwork > >> I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > I'll lok at that. I still have his mail in my to do list, just haven't got onto it with an afternoon to investigate yet... sorry about that. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 11:52 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > The Bootstrap templates are very useful. I actually demoed Bootstrap to the e-Learning department at Harper Adams University last week and they seemed very keen to implement an upgrade to Xerte 2.0 in the near future to make use of these. > > I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:43 > To: Reed Joel > Subject: RE: F4302881 in supportwork > > That's a bug, I'll ask Fay to have a look at it, thanks. If you notice > anything else, give me a shout - it's possible there are a few other > smaller glitches in there. All the testing I did seemed OK on all the > major stuff, but there might be a few things lurking in the details, > > The new bootstrap template is in there as well, I think you'll be able to make good use of that! > > Julian > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 10:39 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > Hi Julian, > > No major issues; I just noticed that the way feedback is now distributed within XOT Quizzes has changed since the recent 2.0 upgrade, which might well be intentional. > > Previously when adding feedback to a Quiz (quiz-xot-screen.jpg attached), this text would appear only once at the end of the quiz after the user had answered all their questions; but now the feedback added into this field appears every time you answer one of the questions and is also displayed alongside the additional feedback you can assign to an individual question. > > Furthermore, if you don't add feedback to the main field in XOT, when using the Flash output player, a Null message is displayed at the end of the quiz (quiz-2.0.jpg attached). However I've noticed this doesn't occur if the project uses the HTML5 player. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:12 > To: Reed Joel > Subject: FW: F4302881 in supportwork > > Hi mate, what's the problem? > > From: Zhang Linda > Sent: 10 May 2013 15:26 > To: Tenney Julian > Subject: F4302881 in supportwork > > Hi Julian, > Joel Reed raises an issue with the new version of Xerte 2.0. I have assigned the call to you in the supportwork system. > Many Thanks > Linda > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Mon May 13 14:55:49 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 13 May 2013 14:55:49 +0100 Subject: [Xerte-dev] Re: FW: F4302881 in supportwork In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51572F8F@EXCHANGE1.ad.nottingham.ac.uk> <93BFCFA4D5019E4EAC9DD52B5E7BD7922950EE9FC5@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49603@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97430@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49668@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97432@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497BB@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97434@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A49883@EXCHANGE1.ad.nottingham.ac.uk> This is from the 2.0 branch, last week, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 14:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork And what version is this in? I seem to remember a point in v1.8 or v1.9 where this was an issue, but not in the latest codebase... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Monday, May 13, 2013 2:16 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork What happens when you click? Is it all learning objects? On 13 May 2013, at 13:59, Julian Tenney wrote: > Can someone help me troubleshoot this export issue please? I'm not really sure where to start... > > I can confirm it doesn't work. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 13:49 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > OK thanks. I think he was just a little concerned that students would soon be accessing his Xerte materials on Moodle. > > I noticed earlier that the XOT Export option wasn't working anymore. I couldn't retrieve a Zip Folder of my project (tried in all browsers/ cleared cache) when I clicked any of the four buttons available. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 13:35 > To: Reed Joel > Subject: RE: F4302881 in supportwork > >> I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > I'll lok at that. I still have his mail in my to do list, just haven't got onto it with an afternoon to investigate yet... sorry about that. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 11:52 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > The Bootstrap templates are very useful. I actually demoed Bootstrap to the e-Learning department at Harper Adams University last week and they seemed very keen to implement an upgrade to Xerte 2.0 in the near future to make use of these. > > I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:43 > To: Reed Joel > Subject: RE: F4302881 in supportwork > > That's a bug, I'll ask Fay to have a look at it, thanks. If you notice > anything else, give me a shout - it's possible there are a few other > smaller glitches in there. All the testing I did seemed OK on all the > major stuff, but there might be a few things lurking in the details, > > The new bootstrap template is in there as well, I think you'll be able to make good use of that! > > Julian > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 10:39 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > Hi Julian, > > No major issues; I just noticed that the way feedback is now distributed within XOT Quizzes has changed since the recent 2.0 upgrade, which might well be intentional. > > Previously when adding feedback to a Quiz (quiz-xot-screen.jpg attached), this text would appear only once at the end of the quiz after the user had answered all their questions; but now the feedback added into this field appears every time you answer one of the questions and is also displayed alongside the additional feedback you can assign to an individual question. > > Furthermore, if you don't add feedback to the main field in XOT, when using the Flash output player, a Null message is displayed at the end of the quiz (quiz-2.0.jpg attached). However I've noticed this doesn't occur if the project uses the HTML5 player. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:12 > To: Reed Joel > Subject: FW: F4302881 in supportwork > > Hi mate, what's the problem? > > From: Zhang Linda > Sent: 10 May 2013 15:26 > To: Tenney Julian > Subject: F4302881 in supportwork > > Hi Julian, > Joel Reed raises an issue with the new version of Xerte 2.0. I have assigned the call to you in the supportwork system. > Many Thanks > Linda > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Mon May 13 14:57:38 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 13 May 2013 14:57:38 +0100 Subject: [Xerte-dev] Re: FW: F4302881 in supportwork In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A49883@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51572F8F@EXCHANGE1.ad.nottingham.ac.uk> <93BFCFA4D5019E4EAC9DD52B5E7BD7922950EE9FC5@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49603@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97430@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49668@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97432@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497BB@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97434@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49883@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Are they using .htaccess and haven't implemented the latest fixes?? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 2:56 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork This is from the 2.0 branch, last week, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 14:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork And what version is this in? I seem to remember a point in v1.8 or v1.9 where this was an issue, but not in the latest codebase... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Monday, May 13, 2013 2:16 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork What happens when you click? Is it all learning objects? On 13 May 2013, at 13:59, Julian Tenney wrote: > Can someone help me troubleshoot this export issue please? I'm not really sure where to start... > > I can confirm it doesn't work. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 13:49 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > OK thanks. I think he was just a little concerned that students would soon be accessing his Xerte materials on Moodle. > > I noticed earlier that the XOT Export option wasn't working anymore. I couldn't retrieve a Zip Folder of my project (tried in all browsers/ cleared cache) when I clicked any of the four buttons available. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 13:35 > To: Reed Joel > Subject: RE: F4302881 in supportwork > >> I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > I'll lok at that. I still have his mail in my to do list, just haven't got onto it with an afternoon to investigate yet... sorry about that. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 11:52 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > The Bootstrap templates are very useful. I actually demoed Bootstrap to the e-Learning department at Harper Adams University last week and they seemed very keen to implement an upgrade to Xerte 2.0 in the near future to make use of these. > > I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:43 > To: Reed Joel > Subject: RE: F4302881 in supportwork > > That's a bug, I'll ask Fay to have a look at it, thanks. If you notice > anything else, give me a shout - it's possible there are a few other > smaller glitches in there. All the testing I did seemed OK on all the > major stuff, but there might be a few things lurking in the details, > > The new bootstrap template is in there as well, I think you'll be able to make good use of that! > > Julian > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 10:39 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > Hi Julian, > > No major issues; I just noticed that the way feedback is now distributed within XOT Quizzes has changed since the recent 2.0 upgrade, which might well be intentional. > > Previously when adding feedback to a Quiz (quiz-xot-screen.jpg attached), this text would appear only once at the end of the quiz after the user had answered all their questions; but now the feedback added into this field appears every time you answer one of the questions and is also displayed alongside the additional feedback you can assign to an individual question. > > Furthermore, if you don't add feedback to the main field in XOT, when using the Flash output player, a Null message is displayed at the end of the quiz (quiz-2.0.jpg attached). However I've noticed this doesn't occur if the project uses the HTML5 player. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:12 > To: Reed Joel > Subject: FW: F4302881 in supportwork > > Hi mate, what's the problem? > > From: Zhang Linda > Sent: 10 May 2013 15:26 > To: Tenney Julian > Subject: F4302881 in supportwork > > Hi Julian, > Joel Reed raises an issue with the new version of Xerte 2.0. I have assigned the call to you in the supportwork system. > Many Thanks > Linda > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Mon May 13 14:59:11 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 13 May 2013 14:59:11 +0100 Subject: [Xerte-dev] Re: FW: F4302881 in supportwork In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51572F8F@EXCHANGE1.ad.nottingham.ac.uk> <93BFCFA4D5019E4EAC9DD52B5E7BD7922950EE9FC5@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49603@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97430@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49668@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97432@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497BB@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97434@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A4984B@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A4988F@EXCHANGE1.ad.nottingham.ac.uk> That works. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 14:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Try opening this url in a new tab, substituting the ID with whatever one you wish... /website_code/php/scorm/export.php?scorm=false&template_id=2&html5=true&flash=false Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 2:40 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Nothing. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 13 May 2013 14:16 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork What happens when you click? Is it all learning objects? On 13 May 2013, at 13:59, Julian Tenney wrote: > Can someone help me troubleshoot this export issue please? I'm not really sure where to start... > > I can confirm it doesn't work. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 13:49 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > OK thanks. I think he was just a little concerned that students would soon be accessing his Xerte materials on Moodle. > > I noticed earlier that the XOT Export option wasn't working anymore. I couldn't retrieve a Zip Folder of my project (tried in all browsers/ cleared cache) when I clicked any of the four buttons available. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 13:35 > To: Reed Joel > Subject: RE: F4302881 in supportwork > >> I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > I'll lok at that. I still have his mail in my to do list, just haven't got onto it with an afternoon to investigate yet... sorry about that. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 11:52 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > The Bootstrap templates are very useful. I actually demoed Bootstrap to the e-Learning department at Harper Adams University last week and they seemed very keen to implement an upgrade to Xerte 2.0 in the near future to make use of these. > > I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:43 > To: Reed Joel > Subject: RE: F4302881 in supportwork > > That's a bug, I'll ask Fay to have a look at it, thanks. If you notice > anything else, give me a shout - it's possible there are a few other > smaller glitches in there. All the testing I did seemed OK on all the > major stuff, but there might be a few things lurking in the details, > > The new bootstrap template is in there as well, I think you'll be able to make good use of that! > > Julian > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 10:39 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > Hi Julian, > > No major issues; I just noticed that the way feedback is now distributed within XOT Quizzes has changed since the recent 2.0 upgrade, which might well be intentional. > > Previously when adding feedback to a Quiz (quiz-xot-screen.jpg attached), this text would appear only once at the end of the quiz after the user had answered all their questions; but now the feedback added into this field appears every time you answer one of the questions and is also displayed alongside the additional feedback you can assign to an individual question. > > Furthermore, if you don't add feedback to the main field in XOT, when using the Flash output player, a Null message is displayed at the end of the quiz (quiz-2.0.jpg attached). However I've noticed this doesn't occur if the project uses the HTML5 player. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:12 > To: Reed Joel > Subject: FW: F4302881 in supportwork > > Hi mate, what's the problem? > > From: Zhang Linda > Sent: 10 May 2013 15:26 > To: Tenney Julian > Subject: F4302881 in supportwork > > Hi Julian, > Joel Reed raises an issue with the new version of Xerte 2.0. I have assigned the call to you in the supportwork system. > Many Thanks > Linda > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Mon May 13 15:04:45 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 13 May 2013 15:04:45 +0100 Subject: [Xerte-dev] Re: FW: F4302881 in supportwork In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51572F8F@EXCHANGE1.ad.nottingham.ac.uk> <93BFCFA4D5019E4EAC9DD52B5E7BD7922950EE9FC5@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49603@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97430@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49668@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97432@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497BB@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97434@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49883@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A49899@EXCHANGE1.ad.nottingham.ac.uk> The 'they' is us! This is the htsaccess file... Options +FollowSymLinks rewriteEngine on #RewriteEngine On rewriteBase / #rewriteCond $1 !^/toolkits/upgrade.html #rewriteRule ^(.*)$ /~cczsa1/upgrade.html [R=307,L] rewriteRule ^edit_([A-Za-z0-9]+)$ /toolkits/edit.php?template_id=$1 rewriteRule ^preview_([A-Za-z0-9]+)$ /toolkits/preview.php?template_id=$1 rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)$ /toolkits/preview.php?template_id=$1&linkID=$2 rewriteRule ^example_([A-Za-z0-9]+)$ /toolkits/example.php?template_id=$1 rewriteRule ^play_([A-Za-z0-9]+)$ /toolkits/play.php?template_id=$1 rewriteRule ^properties_([A-Za-z0-9]+)$ /toolkits/properties.php?template_id=$1 rewriteRule ^folderproperties_([A-Za-z0-9]+)_folder$ /toolkits/folderproperties.php?template_id=$1 rewriteRule ^publishproperties_([A-Za-z0-9]+)$ /toolkits/publishproperties.php?template_id=$1 rewriteRule ^drawing$ /toolkits/drawing.php rewriteRule ^xml_([A-Za-z0-9]+)$ /toolkits/data.php?template_id=$1 rewriteRule ^peerreview_([A-Za-z0-9]+)$ /toolkits/peer.php?template_id=$1 rewriteRule ^export_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false rewriteRule ^export_full_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false rewriteRule ^scorm_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=true rewriteRule ^RSS/$ /toolkits/rss.php rewriteRule ^RSS/([A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+_[A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+)/$ /toolkits/rss.php?username=$1 rewriteRule ^RSS/([A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+_[A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+)/([A-Za-z0-9_]+)/$ /toolkits/rss.php?username=$1&folder_name=$2 rewriteRule ^export/$ /toolkits/rss.php?export=true rewriteRule ^syndication/$ /toolkits/syndicate.php rewriteRule ^workspaceproperties$ /toolkits/workspaceproperties.php rewriteRule ^management$ /toolkits/management.php -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 14:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Are they using .htaccess and haven't implemented the latest fixes?? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 2:56 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork This is from the 2.0 branch, last week, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 14:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork And what version is this in? I seem to remember a point in v1.8 or v1.9 where this was an issue, but not in the latest codebase... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Monday, May 13, 2013 2:16 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork What happens when you click? Is it all learning objects? On 13 May 2013, at 13:59, Julian Tenney wrote: > Can someone help me troubleshoot this export issue please? I'm not really sure where to start... > > I can confirm it doesn't work. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 13:49 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > OK thanks. I think he was just a little concerned that students would soon be accessing his Xerte materials on Moodle. > > I noticed earlier that the XOT Export option wasn't working anymore. I couldn't retrieve a Zip Folder of my project (tried in all browsers/ cleared cache) when I clicked any of the four buttons available. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 13:35 > To: Reed Joel > Subject: RE: F4302881 in supportwork > >> I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > I'll lok at that. I still have his mail in my to do list, just haven't got onto it with an afternoon to investigate yet... sorry about that. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 11:52 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > The Bootstrap templates are very useful. I actually demoed Bootstrap to the e-Learning department at Harper Adams University last week and they seemed very keen to implement an upgrade to Xerte 2.0 in the near future to make use of these. > > I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:43 > To: Reed Joel > Subject: RE: F4302881 in supportwork > > That's a bug, I'll ask Fay to have a look at it, thanks. If you notice > anything else, give me a shout - it's possible there are a few other > smaller glitches in there. All the testing I did seemed OK on all the > major stuff, but there might be a few things lurking in the details, > > The new bootstrap template is in there as well, I think you'll be able to make good use of that! > > Julian > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 10:39 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > Hi Julian, > > No major issues; I just noticed that the way feedback is now distributed within XOT Quizzes has changed since the recent 2.0 upgrade, which might well be intentional. > > Previously when adding feedback to a Quiz (quiz-xot-screen.jpg attached), this text would appear only once at the end of the quiz after the user had answered all their questions; but now the feedback added into this field appears every time you answer one of the questions and is also displayed alongside the additional feedback you can assign to an individual question. > > Furthermore, if you don't add feedback to the main field in XOT, when using the Flash output player, a Null message is displayed at the end of the quiz (quiz-2.0.jpg attached). However I've noticed this doesn't occur if the project uses the HTML5 player. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:12 > To: Reed Joel > Subject: FW: F4302881 in supportwork > > Hi mate, what's the problem? > > From: Zhang Linda > Sent: 10 May 2013 15:26 > To: Tenney Julian > Subject: F4302881 in supportwork > > Hi Julian, > Joel Reed raises an issue with the new version of Xerte 2.0. I have assigned the call to you in the supportwork system. > Many Thanks > Linda > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Mon May 13 15:11:05 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 13 May 2013 15:11:05 +0100 Subject: [Xerte-dev] Re: FW: F4302881 in supportwork In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A49899@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51572F8F@EXCHANGE1.ad.nottingham.ac.uk> <93BFCFA4D5019E4EAC9DD52B5E7BD7922950EE9FC5@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49603@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97430@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49668@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97432@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497BB@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97434@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49883@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49899@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Well that?s the translated url works so it must be the javascript that loads that url or the rule that translates it - this is most likely as I have htaccess turned off and latest codebase and all links work for me... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 3:05 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork The 'they' is us! This is the htsaccess file... Options +FollowSymLinks rewriteEngine on #RewriteEngine On rewriteBase / #rewriteCond $1 !^/toolkits/upgrade.html #rewriteRule ^(.*)$ /~cczsa1/upgrade.html [R=307,L] rewriteRule ^edit_([A-Za-z0-9]+)$ /toolkits/edit.php?template_id=$1 rewriteRule ^preview_([A-Za-z0-9]+)$ /toolkits/preview.php?template_id=$1 rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)$ /toolkits/preview.php?template_id=$1&linkID=$2 rewriteRule ^example_([A-Za-z0-9]+)$ /toolkits/example.php?template_id=$1 rewriteRule ^play_([A-Za-z0-9]+)$ /toolkits/play.php?template_id=$1 rewriteRule ^properties_([A-Za-z0-9]+)$ /toolkits/properties.php?template_id=$1 rewriteRule ^folderproperties_([A-Za-z0-9]+)_folder$ /toolkits/folderproperties.php?template_id=$1 rewriteRule ^publishproperties_([A-Za-z0-9]+)$ /toolkits/publishproperties.php?template_id=$1 rewriteRule ^drawing$ /toolkits/drawing.php rewriteRule ^xml_([A-Za-z0-9]+)$ /toolkits/data.php?template_id=$1 rewriteRule ^peerreview_([A-Za-z0-9]+)$ /toolkits/peer.php?template_id=$1 rewriteRule ^export_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false rewriteRule ^export_full_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false rewriteRule ^scorm_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=true rewriteRule ^RSS/$ /toolkits/rss.php rewriteRule ^RSS/([A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+_[A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+)/$ /toolkits/rss.php?username=$1 rewriteRule ^RSS/([A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+_[A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+)/([A-Za-z0-9_]+)/$ /toolkits/rss.php?username=$1&folder_name=$2 rewriteRule ^export/$ /toolkits/rss.php?export=true rewriteRule ^syndication/$ /toolkits/syndicate.php rewriteRule ^workspaceproperties$ /toolkits/workspaceproperties.php rewriteRule ^management$ /toolkits/management.php -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 14:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Are they using .htaccess and haven't implemented the latest fixes?? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 2:56 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork This is from the 2.0 branch, last week, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 14:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork And what version is this in? I seem to remember a point in v1.8 or v1.9 where this was an issue, but not in the latest codebase... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Monday, May 13, 2013 2:16 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork What happens when you click? Is it all learning objects? On 13 May 2013, at 13:59, Julian Tenney wrote: > Can someone help me troubleshoot this export issue please? I'm not really sure where to start... > > I can confirm it doesn't work. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 13:49 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > OK thanks. I think he was just a little concerned that students would soon be accessing his Xerte materials on Moodle. > > I noticed earlier that the XOT Export option wasn't working anymore. I couldn't retrieve a Zip Folder of my project (tried in all browsers/ cleared cache) when I clicked any of the four buttons available. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 13:35 > To: Reed Joel > Subject: RE: F4302881 in supportwork > >> I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > I'll lok at that. I still have his mail in my to do list, just haven't got onto it with an afternoon to investigate yet... sorry about that. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 11:52 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > The Bootstrap templates are very useful. I actually demoed Bootstrap to the e-Learning department at Harper Adams University last week and they seemed very keen to implement an upgrade to Xerte 2.0 in the near future to make use of these. > > I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:43 > To: Reed Joel > Subject: RE: F4302881 in supportwork > > That's a bug, I'll ask Fay to have a look at it, thanks. If you notice > anything else, give me a shout - it's possible there are a few other > smaller glitches in there. All the testing I did seemed OK on all the > major stuff, but there might be a few things lurking in the details, > > The new bootstrap template is in there as well, I think you'll be able to make good use of that! > > Julian > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 10:39 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > Hi Julian, > > No major issues; I just noticed that the way feedback is now distributed within XOT Quizzes has changed since the recent 2.0 upgrade, which might well be intentional. > > Previously when adding feedback to a Quiz (quiz-xot-screen.jpg attached), this text would appear only once at the end of the quiz after the user had answered all their questions; but now the feedback added into this field appears every time you answer one of the questions and is also displayed alongside the additional feedback you can assign to an individual question. > > Furthermore, if you don't add feedback to the main field in XOT, when using the Flash output player, a Null message is displayed at the end of the quiz (quiz-2.0.jpg attached). However I've noticed this doesn't occur if the project uses the HTML5 player. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:12 > To: Reed Joel > Subject: FW: F4302881 in supportwork > > Hi mate, what's the problem? > > From: Zhang Linda > Sent: 10 May 2013 15:26 > To: Tenney Julian > Subject: F4302881 in supportwork > > Hi Julian, > Joel Reed raises an issue with the new version of Xerte 2.0. I have assigned the call to you in the supportwork system. > Many Thanks > Linda > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From J.J.Smith at gcu.ac.uk Mon May 13 15:14:56 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 13 May 2013 15:14:56 +0100 Subject: [Xerte-dev] Re: FW: F4302881 in supportwork In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A4988F@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51572F8F@EXCHANGE1.ad.nottingham.ac.uk> <93BFCFA4D5019E4EAC9DD52B5E7BD7922950EE9FC5@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49603@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97430@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49668@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97432@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497BB@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97434@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A4984B@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A4988F@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Is this rule rewriteRule ^export_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false missing the extra parameters that pass through the &html5=true&flash=false how are they passed in the shortened version? Only looks to cater for export_NUMBER format... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 2:59 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork That works. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 14:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Try opening this url in a new tab, substituting the ID with whatever one you wish... /website_code/php/scorm/export.php?scorm=false&template_id=2&html5=true&flash=false Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 2:40 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Nothing. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 13 May 2013 14:16 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork What happens when you click? Is it all learning objects? On 13 May 2013, at 13:59, Julian Tenney wrote: > Can someone help me troubleshoot this export issue please? I'm not really sure where to start... > > I can confirm it doesn't work. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 13:49 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > OK thanks. I think he was just a little concerned that students would soon be accessing his Xerte materials on Moodle. > > I noticed earlier that the XOT Export option wasn't working anymore. I couldn't retrieve a Zip Folder of my project (tried in all browsers/ cleared cache) when I clicked any of the four buttons available. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 13:35 > To: Reed Joel > Subject: RE: F4302881 in supportwork > >> I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > I'll lok at that. I still have his mail in my to do list, just haven't got onto it with an afternoon to investigate yet... sorry about that. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 11:52 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > The Bootstrap templates are very useful. I actually demoed Bootstrap to the e-Learning department at Harper Adams University last week and they seemed very keen to implement an upgrade to Xerte 2.0 in the near future to make use of these. > > I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:43 > To: Reed Joel > Subject: RE: F4302881 in supportwork > > That's a bug, I'll ask Fay to have a look at it, thanks. If you notice > anything else, give me a shout - it's possible there are a few other > smaller glitches in there. All the testing I did seemed OK on all the > major stuff, but there might be a few things lurking in the details, > > The new bootstrap template is in there as well, I think you'll be able to make good use of that! > > Julian > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 10:39 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > Hi Julian, > > No major issues; I just noticed that the way feedback is now distributed within XOT Quizzes has changed since the recent 2.0 upgrade, which might well be intentional. > > Previously when adding feedback to a Quiz (quiz-xot-screen.jpg attached), this text would appear only once at the end of the quiz after the user had answered all their questions; but now the feedback added into this field appears every time you answer one of the questions and is also displayed alongside the additional feedback you can assign to an individual question. > > Furthermore, if you don't add feedback to the main field in XOT, when using the Flash output player, a Null message is displayed at the end of the quiz (quiz-2.0.jpg attached). However I've noticed this doesn't occur if the project uses the HTML5 player. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:12 > To: Reed Joel > Subject: FW: F4302881 in supportwork > > Hi mate, what's the problem? > > From: Zhang Linda > Sent: 10 May 2013 15:26 > To: Tenney Julian > Subject: F4302881 in supportwork > > Hi Julian, > Joel Reed raises an issue with the new version of Xerte 2.0. I have assigned the call to you in the supportwork system. > Many Thanks > Linda > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Mon May 13 15:24:12 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 13 May 2013 15:24:12 +0100 Subject: [Xerte-dev] Re: FW: F4302881 in supportwork In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51572F8F@EXCHANGE1.ad.nottingham.ac.uk> <93BFCFA4D5019E4EAC9DD52B5E7BD7922950EE9FC5@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49603@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97430@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49668@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97432@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497BB@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97434@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A4984B@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A4988F@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A498C0@EXCHANGE1.ad.nottingham.ac.uk> S'ok, we swapped the current htaccess for the rules in setup/htaccessConf. There wasn't a reminder in Ron's upgrade guide about that! Seems to work now, thanks -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 15:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Is this rule rewriteRule ^export_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false missing the extra parameters that pass through the &html5=true&flash=false how are they passed in the shortened version? Only looks to cater for export_NUMBER format... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 2:59 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork That works. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 14:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Try opening this url in a new tab, substituting the ID with whatever one you wish... /website_code/php/scorm/export.php?scorm=false&template_id=2&html5=true&flash=false Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 2:40 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Nothing. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 13 May 2013 14:16 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork What happens when you click? Is it all learning objects? On 13 May 2013, at 13:59, Julian Tenney wrote: > Can someone help me troubleshoot this export issue please? I'm not really sure where to start... > > I can confirm it doesn't work. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 13:49 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > OK thanks. I think he was just a little concerned that students would soon be accessing his Xerte materials on Moodle. > > I noticed earlier that the XOT Export option wasn't working anymore. I couldn't retrieve a Zip Folder of my project (tried in all browsers/ cleared cache) when I clicked any of the four buttons available. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 13:35 > To: Reed Joel > Subject: RE: F4302881 in supportwork > >> I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > I'll lok at that. I still have his mail in my to do list, just haven't got onto it with an afternoon to investigate yet... sorry about that. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 11:52 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > The Bootstrap templates are very useful. I actually demoed Bootstrap to the e-Learning department at Harper Adams University last week and they seemed very keen to implement an upgrade to Xerte 2.0 in the near future to make use of these. > > I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:43 > To: Reed Joel > Subject: RE: F4302881 in supportwork > > That's a bug, I'll ask Fay to have a look at it, thanks. If you notice > anything else, give me a shout - it's possible there are a few other > smaller glitches in there. All the testing I did seemed OK on all the > major stuff, but there might be a few things lurking in the details, > > The new bootstrap template is in there as well, I think you'll be able to make good use of that! > > Julian > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 10:39 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > Hi Julian, > > No major issues; I just noticed that the way feedback is now distributed within XOT Quizzes has changed since the recent 2.0 upgrade, which might well be intentional. > > Previously when adding feedback to a Quiz (quiz-xot-screen.jpg attached), this text would appear only once at the end of the quiz after the user had answered all their questions; but now the feedback added into this field appears every time you answer one of the questions and is also displayed alongside the additional feedback you can assign to an individual question. > > Furthermore, if you don't add feedback to the main field in XOT, when using the Flash output player, a Null message is displayed at the end of the quiz (quiz-2.0.jpg attached). However I've noticed this doesn't occur if the project uses the HTML5 player. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:12 > To: Reed Joel > Subject: FW: F4302881 in supportwork > > Hi mate, what's the problem? > > From: Zhang Linda > Sent: 10 May 2013 15:26 > To: Tenney Julian > Subject: F4302881 in supportwork > > Hi Julian, > Joel Reed raises an issue with the new version of Xerte 2.0. I have assigned the call to you in the supportwork system. > Many Thanks > Linda > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Mon May 13 15:24:15 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 13 May 2013 15:24:15 +0100 Subject: [Xerte-dev] Re: FW: F4302881 in supportwork In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A49899@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51572F8F@EXCHANGE1.ad.nottingham.ac.uk> <93BFCFA4D5019E4EAC9DD52B5E7BD7922950EE9FC5@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49603@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97430@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49668@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97432@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497BB@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97434@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49883@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49899@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Just thought of something... check in console -> network and see what URL is produced when you click the link... Are the export links ever made public? Is there a reason why we are using htaccess to also reduce urls on "internal only" links? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 3:05 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork The 'they' is us! This is the htsaccess file... Options +FollowSymLinks rewriteEngine on #RewriteEngine On rewriteBase / #rewriteCond $1 !^/toolkits/upgrade.html #rewriteRule ^(.*)$ /~cczsa1/upgrade.html [R=307,L] rewriteRule ^edit_([A-Za-z0-9]+)$ /toolkits/edit.php?template_id=$1 rewriteRule ^preview_([A-Za-z0-9]+)$ /toolkits/preview.php?template_id=$1 rewriteRule ^preview_([A-Za-z0-9]+)_([A-Za-z0-9]+)$ /toolkits/preview.php?template_id=$1&linkID=$2 rewriteRule ^example_([A-Za-z0-9]+)$ /toolkits/example.php?template_id=$1 rewriteRule ^play_([A-Za-z0-9]+)$ /toolkits/play.php?template_id=$1 rewriteRule ^properties_([A-Za-z0-9]+)$ /toolkits/properties.php?template_id=$1 rewriteRule ^folderproperties_([A-Za-z0-9]+)_folder$ /toolkits/folderproperties.php?template_id=$1 rewriteRule ^publishproperties_([A-Za-z0-9]+)$ /toolkits/publishproperties.php?template_id=$1 rewriteRule ^drawing$ /toolkits/drawing.php rewriteRule ^xml_([A-Za-z0-9]+)$ /toolkits/data.php?template_id=$1 rewriteRule ^peerreview_([A-Za-z0-9]+)$ /toolkits/peer.php?template_id=$1 rewriteRule ^export_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false rewriteRule ^export_full_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false rewriteRule ^scorm_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=true rewriteRule ^RSS/$ /toolkits/rss.php rewriteRule ^RSS/([A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+_[A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+)/$ /toolkits/rss.php?username=$1 rewriteRule ^RSS/([A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+_[A-Z][A-Za-z\'\-]?[A-Za-z\'\-]+)/([A-Za-z0-9_]+)/$ /toolkits/rss.php?username=$1&folder_name=$2 rewriteRule ^export/$ /toolkits/rss.php?export=true rewriteRule ^syndication/$ /toolkits/syndicate.php rewriteRule ^workspaceproperties$ /toolkits/workspaceproperties.php rewriteRule ^management$ /toolkits/management.php -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 14:58 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Are they using .htaccess and haven't implemented the latest fixes?? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 2:56 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork This is from the 2.0 branch, last week, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 14:40 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork And what version is this in? I seem to remember a point in v1.8 or v1.9 where this was an issue, but not in the latest codebase... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Monday, May 13, 2013 2:16 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork What happens when you click? Is it all learning objects? On 13 May 2013, at 13:59, Julian Tenney wrote: > Can someone help me troubleshoot this export issue please? I'm not really sure where to start... > > I can confirm it doesn't work. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 13:49 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > OK thanks. I think he was just a little concerned that students would soon be accessing his Xerte materials on Moodle. > > I noticed earlier that the XOT Export option wasn't working anymore. I couldn't retrieve a Zip Folder of my project (tried in all browsers/ cleared cache) when I clicked any of the four buttons available. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 13:35 > To: Reed Joel > Subject: RE: F4302881 in supportwork > >> I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > I'll lok at that. I still have his mail in my to do list, just haven't got onto it with an afternoon to investigate yet... sorry about that. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 11:52 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > The Bootstrap templates are very useful. I actually demoed Bootstrap to the e-Learning department at Harper Adams University last week and they seemed very keen to implement an upgrade to Xerte 2.0 in the near future to make use of these. > > I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:43 > To: Reed Joel > Subject: RE: F4302881 in supportwork > > That's a bug, I'll ask Fay to have a look at it, thanks. If you notice > anything else, give me a shout - it's possible there are a few other > smaller glitches in there. All the testing I did seemed OK on all the > major stuff, but there might be a few things lurking in the details, > > The new bootstrap template is in there as well, I think you'll be able to make good use of that! > > Julian > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 10:39 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > Hi Julian, > > No major issues; I just noticed that the way feedback is now distributed within XOT Quizzes has changed since the recent 2.0 upgrade, which might well be intentional. > > Previously when adding feedback to a Quiz (quiz-xot-screen.jpg attached), this text would appear only once at the end of the quiz after the user had answered all their questions; but now the feedback added into this field appears every time you answer one of the questions and is also displayed alongside the additional feedback you can assign to an individual question. > > Furthermore, if you don't add feedback to the main field in XOT, when using the Flash output player, a Null message is displayed at the end of the quiz (quiz-2.0.jpg attached). However I've noticed this doesn't occur if the project uses the HTML5 player. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:12 > To: Reed Joel > Subject: FW: F4302881 in supportwork > > Hi mate, what's the problem? > > From: Zhang Linda > Sent: 10 May 2013 15:26 > To: Tenney Julian > Subject: F4302881 in supportwork > > Hi Julian, > Joel Reed raises an issue with the new version of Xerte 2.0. I have assigned the call to you in the supportwork system. > Many Thanks > Linda > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From J.J.Smith at gcu.ac.uk Mon May 13 15:28:53 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 13 May 2013 15:28:53 +0100 Subject: [Xerte-dev] Re: FW: F4302881 in supportwork In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A498C0@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51572F8F@EXCHANGE1.ad.nottingham.ac.uk> <93BFCFA4D5019E4EAC9DD52B5E7BD7922950EE9FC5@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49603@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97430@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49668@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97432@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497BB@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97434@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A4984B@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A4988F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A498C0@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Another one off the bug list that we don't have yet ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 3:24 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork S'ok, we swapped the current htaccess for the rules in setup/htaccessConf. There wasn't a reminder in Ron's upgrade guide about that! Seems to work now, thanks -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 15:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Is this rule rewriteRule ^export_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false missing the extra parameters that pass through the &html5=true&flash=false how are they passed in the shortened version? Only looks to cater for export_NUMBER format... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 2:59 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork That works. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 14:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Try opening this url in a new tab, substituting the ID with whatever one you wish... /website_code/php/scorm/export.php?scorm=false&template_id=2&html5=true&flash=false Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 2:40 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Nothing. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 13 May 2013 14:16 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork What happens when you click? Is it all learning objects? On 13 May 2013, at 13:59, Julian Tenney wrote: > Can someone help me troubleshoot this export issue please? I'm not really sure where to start... > > I can confirm it doesn't work. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 13:49 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > OK thanks. I think he was just a little concerned that students would soon be accessing his Xerte materials on Moodle. > > I noticed earlier that the XOT Export option wasn't working anymore. I couldn't retrieve a Zip Folder of my project (tried in all browsers/ cleared cache) when I clicked any of the four buttons available. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 13:35 > To: Reed Joel > Subject: RE: F4302881 in supportwork > >> I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > I'll lok at that. I still have his mail in my to do list, just haven't got onto it with an afternoon to investigate yet... sorry about that. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 11:52 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > The Bootstrap templates are very useful. I actually demoed Bootstrap to the e-Learning department at Harper Adams University last week and they seemed very keen to implement an upgrade to Xerte 2.0 in the near future to make use of these. > > I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:43 > To: Reed Joel > Subject: RE: F4302881 in supportwork > > That's a bug, I'll ask Fay to have a look at it, thanks. If you notice > anything else, give me a shout - it's possible there are a few other > smaller glitches in there. All the testing I did seemed OK on all the > major stuff, but there might be a few things lurking in the details, > > The new bootstrap template is in there as well, I think you'll be able to make good use of that! > > Julian > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 10:39 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > Hi Julian, > > No major issues; I just noticed that the way feedback is now distributed within XOT Quizzes has changed since the recent 2.0 upgrade, which might well be intentional. > > Previously when adding feedback to a Quiz (quiz-xot-screen.jpg attached), this text would appear only once at the end of the quiz after the user had answered all their questions; but now the feedback added into this field appears every time you answer one of the questions and is also displayed alongside the additional feedback you can assign to an individual question. > > Furthermore, if you don't add feedback to the main field in XOT, when using the Flash output player, a Null message is displayed at the end of the quiz (quiz-2.0.jpg attached). However I've noticed this doesn't occur if the project uses the HTML5 player. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:12 > To: Reed Joel > Subject: FW: F4302881 in supportwork > > Hi mate, what's the problem? > > From: Zhang Linda > Sent: 10 May 2013 15:26 > To: Tenney Julian > Subject: F4302881 in supportwork > > Hi Julian, > Joel Reed raises an issue with the new version of Xerte 2.0. I have assigned the call to you in the supportwork system. > Many Thanks > Linda > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Mon May 13 15:41:28 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 13 May 2013 15:41:28 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A497D8@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51180B3F@EXCHANGE1.ad.nottingham.ac.uk> <519087DA.4000509@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A495D1@EXCHANGE1.ad.nottingham.ac.uk> <5190B7D1.2090600@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A497D4@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497D8@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A498DA@EXCHANGE1.ad.nottingham.ac.uk> I've commited a fix for that now. If you commit your fixes too Tom. That's ben a right nightmare that one, I'm glad they don't come along like that very often. And we still don't really know why. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 May 2013 13:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules But it still fails in the bootstrap template on our server... -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 May 2013 13:45 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Yeah, it works. Brilliant, thanks for everyone's help -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 13 May 2013 10:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I committed it to trunk: modules\xerte\js\xttracking_noop.js modules\xerte\parent_templates\Nottingham\common_html5\js\xttracking_noop.js If it works for you, I'll commit to 2.0 as well. Op 13-5-2013 10:58, Julian Tenney schreef: > Which file? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom > Reijnders > Sent: 13 May 2013 07:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > Could you please verify it works for you too? > Then I'll commit this. > > This file belongs in modules/xerte/parent_templates/common_html5/js > and in modules/xerte/js > > And yes it would be better not to duplicate... > > Tom > > Op 12-5-2013 22:49, Julian Tenney schreef: >> Fellas! Nice one. I was just thinking about all this - magic, cheers. >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John >> [J.J.Smith at gcu.ac.uk] >> Sent: 12 May 2013 21:33 >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Took a while but we got there :-) >> >> Hopefully its a temporary measure anyway until the new html5 editor can take over. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> >> Tom Reijnders wrote: >> >> >> And this works for Flash preview as well... >> >> Op 12-5-2013 18:58, Tom Reijnders schreef: >>> I tried putting it in the XTInitialise/XTTerminate >>> >>> But that didn't work! >>> >>> What did worl was putting this in XTTerminate() >>> >>> window.opener.innerWidth+=2 >>> window.opener.innerWidth-=2 >>> >>> Op 12-5-2013 17:05, Smith, John schreef: >>>> I like your idea although it still doesn't quite explain why it >>>> happens. I've narrowed it down to these lines in SWFObject >>>> >>>> var b = doc.getElementsByTagName("body")[0]; >>>> var o = createElement(OBJECT); >>>> o.setAttribute("type", FLASH_MIME_TYPE); >>>> var t = b.appendChild(o); >>>> >>>> Commenting out the last line { var t = b.appendChild(o); } stops >>>> the problem but i'm not sure how modifying that function will >>>> affect other browsers etc... seems to be similar to this issue >>>> http://stackoverflow.com/questions/14007062/mysterious-type-error-n >>>> o >>>> n-native-scope-object-in-firebug >>>> >>>> Anyway, I think you were looking for window.opener and not >>>> window.parent though. Try changing the rloObject.htm tag to >>>> this... seems to work for me >>>> >>>> >>>> >>> onbeforeunload = "XTTerminate();" onunload = >>>> "XTTerminate();window.opener.innerWidth+=2;"> >>>> >>>> >>>> More of a hack than a fix but it seems to work. You might want to >>>> hide the extra code in your XTInitialise/XTTerminate functions... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>> | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>> Reijnders [reijnders at tor.nl] >>>> Sent: 12 May 2013 14:13 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I tried a different approach to see what happens (I tried to resize >>>> the parent window from beforeunload) >>>> >>>> But what I see is that in the preview window, window.parent is >>>> recursive, i.e. window = window.parent = window.parent.parent = >>>> window.parent.parent.parent.... >>>> >>>> Is that normal? (Not only in firefox, but also in Chrome). >>>> >>>> Does that tell us something? >>>> >>>> Tom >>>> >>>> Op 12-5-2013 14:00, Smith, John schreef: >>>>> I think Tom's right that its needed in the html player to render >>>>> flash objects... Definitely it that's causing the issue though... >>>>> Im trying to debug now... >>>>> >>>>> Regards >>>>> >>>>> John Smith >>>>> Learning Technologist >>>>> School of Health and Life Sciences >>>>> >>>>> Sent from Samsung Galaxy SII >>>>> >>>>> >>>>> "Pat @ Pgogy" wrote: >>>>> >>>>> >>>>> Do you still need swf object? >>>>> >>>>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>>>> >>>>>> I think we're running into a few version/library problems which >>>>>> is causing it... >>>>>> >>>>>> So Fay's code is using v2.2 of SWFObject but the editor is using >>>>>> v1.5 >>>>>> >>>>>> Also, the flash preview isn't using either, it appears to be >>>>>> using rloObject.js to create the Flash... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building >>>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>> Reijnders [reijnders at tor.nl] >>>>>> Sent: 12 May 2013 11:27 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> I don't know. I thought it is needed to display swf's inside the >>>>>> content. >>>>>> Fay should know the definitive answer to that. >>>>>> >>>>>> But that doesn't help when the preview is flash... >>>>>> >>>>>> Tom >>>>>> >>>>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>>>> Ok i've partly solved it... >>>>>>> >>>>>>> Is this line needed in preview.php? >>>>>>> >>>>>>> >>>>>>> >>>>>>> Taking it out solves the issue for me... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>>> Reijnders [reijnders at tor.nl] >>>>>>> Sent: 12 May 2013 10:52 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>>>> >>>>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>>>> >>>>>>> so now if you replace preview.php with the attached file which >>>>>>> does nothing but is valid XHTML then I don't see the problem any >>>>>>> more so it must be the preview page... there are a lot of XHTML >>>>>>> Transitional errors in edit.php and a couple on preview but i've >>>>>>> fixed these now and still not working... >>>>>>> >>>>>>> Can either of you confirm that using this preview.php file >>>>>>> remeve the issue from the editor? >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk> >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> e >>>>>>> s at lists.nottingham.ac.uk>] >>>>>>> On Behalf Of Pat @ Pgogy >>>>>>> [xerte at pgogywebstuff.com] >>>>>>> Sent: 12 May 2013 10:25 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Has this mostly happened post the upload successful button was added? >>>>>>> >>>>>>> I think the button click event isn't firing properly in flash? >>>>>>> >>>>>>> When I last did a lot of flash stuff, Firefox always went wrong >>>>>>> on the object's depth properties >>>>>>> >>>>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>>>> Friday and it seems that it was because of what I was doing... >>>>>>> >>>>>>> When the editor window was opening I was MOVING the window so >>>>>>> that I could see the workspace too and it seems that this change >>>>>>> of focus from the Flash to the actual window was in some way >>>>>>> doing something to the problem but this morning I was able to >>>>>>> reproduce the problem this morning though because I wasn't doing >>>>>>> anything to the window after clicking preview... >>>>>>> >>>>>>> Please watch this screencast ( >>>>>>> http://screencast.com/t/38tpOLopLs >>>>>>> ) and you'll see the button not working in exactly the same way >>>>>>> that you all described but then simply resizing the window >>>>>>> slightly makes it work again... now it's not a focus issue >>>>>>> because simply clicking on the window border or the window >>>>>>> header which would change focus away from the Flash wizard doesn't fix it... >>>>>>> but resizing does. But only until you preview again and then you >>>>>>> need to resize again... >>>>>>> >>>>>>> I have no idea why this is happening but will continue to have a >>>>>>> play around with various things to see if I can come up with a fix... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk> >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> e >>>>>>> s at lists.nottingham.ac.uk>] >>>>>>> On Behalf Of Tom Reijnders >>>>>>> [reijnders at tor.nl] >>>>>>> Sent: 11 May 2013 12:01 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I looked into this further as well, and I've got it working >>>>>>> (sort of). The original problem is beyond our control. Something >>>>>>> gets changed by showing and closing the preview. I concentrated >>>>>>> on the call to popup preview: >>>>>>> >>>>>>> Where url is 'preview.php&template_id=4' >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> What I did: >>>>>>> 1. I changed the code to do exactly the same but in a different way: >>>>>>> >>>>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>>>> this.template_height, this.template_width); >>>>>>> - Supply javascript function in edit.php that does: >>>>>>> >>>>>>> function openPreview(url, height, width) >>>>>>> { >>>>>>> NewWindow = window.open(url, 'previewwindow', 'height=' >>>>>>> + height, ',width=' + width); >>>>>>> NewWindow.focus(); >>>>>>> } >>>>>>> >>>>>>> This behaves exactly the same, as in, it doesn't work. After >>>>>>> closing preview, the file browser doesn't pop up any more. >>>>>>> >>>>>>> 2. So, different approach, without using javascript: >>>>>>> >>>>>>> - From flash call: getURL(url, "_blank") >>>>>>> >>>>>>> This has as a drawback (or advantage) that the preview is shown >>>>>>> in a new window/tab in stead of a popup, and so it >>>>>>> ignores/doesn't use the sizes of the window. >>>>>>> >>>>>>> BUT it does work! >>>>>>> >>>>>>> Is that a viable solution? For firefox only? >>>>>>> >>>>>>> Tom >>>>>>> >>>>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>>>> Tested the file button, and debugged the FileRef.browse and got >>>>>>> Function, so it does exist, before FileRef.browse is called. >>>>>>> >>>>>>> Took out all but the void(0) and still failing. Have stripped >>>>>>> down the function to this. >>>>>>> >>>>>>> I don't think it is our code. Going for beer. >>>>>>> >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com>>>>>> e rte at pgogywebstuff.com> >>>>>>> Sent: 10 May 2013 14:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>>>> button? >>>>>>> >>>>>>> try not setting focus? that seems a possible route? >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>> of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers >>>>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> Cc: >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> It boils down to this: >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: Tenney Julian >>>>>>> Sent: 10 May 2013 14:51 >>>>>>> To: 'For Xerte technical developers' >>>>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Here be function preview() (I'm guessing you can't see it? Can >>>>>>> you see anything obvious / or anything I can try commenting out >>>>>>> / testing to test your theory?) Probably next week though, I >>>>>>> have to go soon, >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> if (xerte){ >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> //post the xml data into the url specified >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> } else {//play it in Xerte >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID >>>>>>> == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>> Date().getTime(); >>>>>>> } >>>>>>> //set the linkID in _level0 of the >>>>>>> runtime (it is deleted after onInit is fired) >>>>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>>>> tree.selectedNode.attributes.linkID, "|"); >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> this.mode = 'preview'; >>>>>>> >>>>>>> >>>>>>> //show the preview form >>>>>>> mdm.form_show("preview"); >>>>>>> mdm.form_restore("preview"); >>>>>>> >>>>>>> //fire up the piece >>>>>>> mdm.form_callfunction("preview", "setMode", >>>>>>> mode, "|"); >>>>>>> mdm.form_callfunction("preview", "jumpFile", >>>>>>> wizard.rloFile, "|"); >>>>>>> } >>>>>>> >>>>>>> >>>>>>> } else { //this is toolkits - play or post? >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> >>>>>>> //hardcoded in here for now - this is a bit >>>>>>> messy, needa better way of handling multiple runtimes with all >>>>>>> the security etc >>>>>>> if (wizard.nfoObject.wizard.runtime == >>>>>>> 'preview_site.php'){ >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>>>> wizard.getURLHelper.data = >>>>>>> KOData.format(); >>>>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>>>> "_blank", "POST"); >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if (Key.isDown(Key.CONTROL)){ //play the >>>>>>> html5 version >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id >>>>>>> + "&engine=other"; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id + "&engine=other"; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID >>>>>>> == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>> Date().getTime(); >>>>>>> } >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url += '_' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url += '&linkID=' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com>>>>>> e rte at pgogywebstuff.com> >>>>>>> Sent: 10 May 2013 14:38 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Windows 7 >>>>>>> Firefox 20.1.0 >>>>>>> Preview button doesn't work for anything once you've previewed >>>>>>> Flash Player 11.7 >>>>>>> >>>>>>> Fine in Chrome >>>>>>> No Joy in FF >>>>>>> >>>>>>> have commented out all of the JS >>>>>>> >>>>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>>>> close event firing too soon? >>>>>>> >>>>>>> I'd put some fscommand("console.log") into the wizard. >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>> of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> m >>>>>>> .ac.uk>>>>>>> @ >>>>>>> listsnottingham.ac.uk>> >>>>>>> Cc: >>>>>>> >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules More specifically 64bit >>>>>>> Windows 7 >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Julian Tenney >>>>>>> Sent: 10 May 2013 13:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Difference is Windows 7 - everything else the same and I see the >>>>>>> p >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative >>>>> of the Year 2009 and Herald Society's Education Initiative of the >>>>> Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e,6219,en.html >>>>> >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early >>>>> Career Researchers of the Year 2010, GCU as a lead with >>>>> Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e,15691,en.html >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>> -- >>>> -- >>>> >>>> Tom Reijnders >>>> TOR Informatica >>>> Chopinlaan 27 >>>> 5242HM Rosmalen >>>> Tel: 073 5226191 >>>> Fax: 073 5226196 >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education's Widening Participation Initiative >>>> of the Year 2009 and Herald Society's Education Initiative of the >>>> Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e >>>> ,6219,en.html >>>> >>>> >>>> Winner: Times Higher Education's Outstanding Support for Early >>>> Career Researchers of the Year 2010, GCU as a lead with >>>> Universities Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e >>>> ,15691,en.html >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> This message and any attachment are intended solely for the >>>> addressee and may contain confidential information. If you have >>>> received this message in error, please send it back to me, and immediately delete >>>> it. Please do not use, copy or disclose the information contained >>>> in this message or in any attachment. Any views or opinions >>>> expressed by the author of this email do not necessarily reflect >>>> the views of the University of Nottingham. >>>> >>>> This message has been checked for viruses but the contents of an >>>> attachment may still contain software viruses which could damage >>>> your computer >>>> system: >>>> you are advised to perform your own checks. Email communications >>>> with the University of Nottingham may be monitored as permitted by >>>> UK legislation. >>>> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. >> >> Glasgow Caledonian University is a registered Scottish charity, >> number >> SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6 >> 219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 1 >> 5691,en.html >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. >> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Mon May 13 15:48:22 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 13 May 2013 15:48:22 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A498DA@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51180B3F@EXCHANGE1.ad.nottingham.ac.uk> <519087DA.4000509@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A495D1@EXCHANGE1.ad.nottingham.ac.uk> <5190B7D1.2090600@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A497D4@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497D8@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A498DA@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: I used to just blame Bill Gates for these things but who do we blame now? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 3:41 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I've commited a fix for that now. If you commit your fixes too Tom. That's ben a right nightmare that one, I'm glad they don't come along like that very often. And we still don't really know why. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 May 2013 13:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules But it still fails in the bootstrap template on our server... -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 May 2013 13:45 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Yeah, it works. Brilliant, thanks for everyone's help -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 13 May 2013 10:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I committed it to trunk: modules\xerte\js\xttracking_noop.js modules\xerte\parent_templates\Nottingham\common_html5\js\xttracking_noop.js If it works for you, I'll commit to 2.0 as well. Op 13-5-2013 10:58, Julian Tenney schreef: > Which file? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom > Reijnders > Sent: 13 May 2013 07:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > Could you please verify it works for you too? > Then I'll commit this. > > This file belongs in modules/xerte/parent_templates/common_html5/js > and in modules/xerte/js > > And yes it would be better not to duplicate... > > Tom > > Op 12-5-2013 22:49, Julian Tenney schreef: >> Fellas! Nice one. I was just thinking about all this - magic, cheers. >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John >> [J.J.Smith at gcu.ac.uk] >> Sent: 12 May 2013 21:33 >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Took a while but we got there :-) >> >> Hopefully its a temporary measure anyway until the new html5 editor can take over. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> >> Tom Reijnders wrote: >> >> >> And this works for Flash preview as well... >> >> Op 12-5-2013 18:58, Tom Reijnders schreef: >>> I tried putting it in the XTInitialise/XTTerminate >>> >>> But that didn't work! >>> >>> What did worl was putting this in XTTerminate() >>> >>> window.opener.innerWidth+=2 >>> window.opener.innerWidth-=2 >>> >>> Op 12-5-2013 17:05, Smith, John schreef: >>>> I like your idea although it still doesn't quite explain why it >>>> happens. I've narrowed it down to these lines in SWFObject >>>> >>>> var b = doc.getElementsByTagName("body")[0]; >>>> var o = createElement(OBJECT); >>>> o.setAttribute("type", FLASH_MIME_TYPE); >>>> var t = b.appendChild(o); >>>> >>>> Commenting out the last line { var t = b.appendChild(o); } stops >>>> the problem but i'm not sure how modifying that function will >>>> affect other browsers etc... seems to be similar to this issue >>>> http://stackoverflow.com/questions/14007062/mysterious-type-error-n >>>> o >>>> n-native-scope-object-in-firebug >>>> >>>> Anyway, I think you were looking for window.opener and not >>>> window.parent though. Try changing the rloObject.htm tag to >>>> this... seems to work for me >>>> >>>> >>>> >>> onbeforeunload = "XTTerminate();" onunload = >>>> "XTTerminate();window.opener.innerWidth+=2;"> >>>> >>>> >>>> More of a hack than a fix but it seems to work. You might want to >>>> hide the extra code in your XTInitialise/XTTerminate functions... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>> | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>> Reijnders [reijnders at tor.nl] >>>> Sent: 12 May 2013 14:13 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I tried a different approach to see what happens (I tried to resize >>>> the parent window from beforeunload) >>>> >>>> But what I see is that in the preview window, window.parent is >>>> recursive, i.e. window = window.parent = window.parent.parent = >>>> window.parent.parent.parent.... >>>> >>>> Is that normal? (Not only in firefox, but also in Chrome). >>>> >>>> Does that tell us something? >>>> >>>> Tom >>>> >>>> Op 12-5-2013 14:00, Smith, John schreef: >>>>> I think Tom's right that its needed in the html player to render >>>>> flash objects... Definitely it that's causing the issue though... >>>>> Im trying to debug now... >>>>> >>>>> Regards >>>>> >>>>> John Smith >>>>> Learning Technologist >>>>> School of Health and Life Sciences >>>>> >>>>> Sent from Samsung Galaxy SII >>>>> >>>>> >>>>> "Pat @ Pgogy" wrote: >>>>> >>>>> >>>>> Do you still need swf object? >>>>> >>>>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>>>> >>>>>> I think we're running into a few version/library problems which >>>>>> is causing it... >>>>>> >>>>>> So Fay's code is using v2.2 of SWFObject but the editor is using >>>>>> v1.5 >>>>>> >>>>>> Also, the flash preview isn't using either, it appears to be >>>>>> using rloObject.js to create the Flash... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building >>>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>> Reijnders [reijnders at tor.nl] >>>>>> Sent: 12 May 2013 11:27 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> I don't know. I thought it is needed to display swf's inside the >>>>>> content. >>>>>> Fay should know the definitive answer to that. >>>>>> >>>>>> But that doesn't help when the preview is flash... >>>>>> >>>>>> Tom >>>>>> >>>>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>>>> Ok i've partly solved it... >>>>>>> >>>>>>> Is this line needed in preview.php? >>>>>>> >>>>>>> >>>>>>> >>>>>>> Taking it out solves the issue for me... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>>> Reijnders [reijnders at tor.nl] >>>>>>> Sent: 12 May 2013 10:52 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>>>> >>>>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>>>> >>>>>>> so now if you replace preview.php with the attached file which >>>>>>> does nothing but is valid XHTML then I don't see the problem any >>>>>>> more so it must be the preview page... there are a lot of XHTML >>>>>>> Transitional errors in edit.php and a couple on preview but i've >>>>>>> fixed these now and still not working... >>>>>>> >>>>>>> Can either of you confirm that using this preview.php file >>>>>>> remeve the issue from the editor? >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk> >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> e >>>>>>> s at lists.nottingham.ac.uk>] >>>>>>> On Behalf Of Pat @ Pgogy >>>>>>> [xerte at pgogywebstuff.com] >>>>>>> Sent: 12 May 2013 10:25 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Has this mostly happened post the upload successful button was added? >>>>>>> >>>>>>> I think the button click event isn't firing properly in flash? >>>>>>> >>>>>>> When I last did a lot of flash stuff, Firefox always went wrong >>>>>>> on the object's depth properties >>>>>>> >>>>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>>>> Friday and it seems that it was because of what I was doing... >>>>>>> >>>>>>> When the editor window was opening I was MOVING the window so >>>>>>> that I could see the workspace too and it seems that this change >>>>>>> of focus from the Flash to the actual window was in some way >>>>>>> doing something to the problem but this morning I was able to >>>>>>> reproduce the problem this morning though because I wasn't doing >>>>>>> anything to the window after clicking preview... >>>>>>> >>>>>>> Please watch this screencast ( >>>>>>> http://screencast.com/t/38tpOLopLs >>>>>>> ) and you'll see the button not working in exactly the same way >>>>>>> that you all described but then simply resizing the window >>>>>>> slightly makes it work again... now it's not a focus issue >>>>>>> because simply clicking on the window border or the window >>>>>>> header which would change focus away from the Flash wizard doesn't fix it... >>>>>>> but resizing does. But only until you preview again and then you >>>>>>> need to resize again... >>>>>>> >>>>>>> I have no idea why this is happening but will continue to have a >>>>>>> play around with various things to see if I can come up with a fix... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk> >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> e >>>>>>> s at lists.nottingham.ac.uk>] >>>>>>> On Behalf Of Tom Reijnders >>>>>>> [reijnders at tor.nl] >>>>>>> Sent: 11 May 2013 12:01 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I looked into this further as well, and I've got it working >>>>>>> (sort of). The original problem is beyond our control. Something >>>>>>> gets changed by showing and closing the preview. I concentrated >>>>>>> on the call to popup preview: >>>>>>> >>>>>>> Where url is 'preview.php&template_id=4' >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> What I did: >>>>>>> 1. I changed the code to do exactly the same but in a different way: >>>>>>> >>>>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>>>> this.template_height, this.template_width); >>>>>>> - Supply javascript function in edit.php that does: >>>>>>> >>>>>>> function openPreview(url, height, width) >>>>>>> { >>>>>>> NewWindow = window.open(url, 'previewwindow', 'height=' >>>>>>> + height, ',width=' + width); >>>>>>> NewWindow.focus(); >>>>>>> } >>>>>>> >>>>>>> This behaves exactly the same, as in, it doesn't work. After >>>>>>> closing preview, the file browser doesn't pop up any more. >>>>>>> >>>>>>> 2. So, different approach, without using javascript: >>>>>>> >>>>>>> - From flash call: getURL(url, "_blank") >>>>>>> >>>>>>> This has as a drawback (or advantage) that the preview is shown >>>>>>> in a new window/tab in stead of a popup, and so it >>>>>>> ignores/doesn't use the sizes of the window. >>>>>>> >>>>>>> BUT it does work! >>>>>>> >>>>>>> Is that a viable solution? For firefox only? >>>>>>> >>>>>>> Tom >>>>>>> >>>>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>>>> Tested the file button, and debugged the FileRef.browse and got >>>>>>> Function, so it does exist, before FileRef.browse is called. >>>>>>> >>>>>>> Took out all but the void(0) and still failing. Have stripped >>>>>>> down the function to this. >>>>>>> >>>>>>> I don't think it is our code. Going for beer. >>>>>>> >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com>>>>>> e rte at pgogywebstuff.com> >>>>>>> Sent: 10 May 2013 14:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>>>> button? >>>>>>> >>>>>>> try not setting focus? that seems a possible route? >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>> of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers >>>>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> Cc: >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> It boils down to this: >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: Tenney Julian >>>>>>> Sent: 10 May 2013 14:51 >>>>>>> To: 'For Xerte technical developers' >>>>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Here be function preview() (I'm guessing you can't see it? Can >>>>>>> you see anything obvious / or anything I can try commenting out >>>>>>> / testing to test your theory?) Probably next week though, I >>>>>>> have to go soon, >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> if (xerte){ >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> //post the xml data into the url specified >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> } else {//play it in Xerte >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID >>>>>>> == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>> Date().getTime(); >>>>>>> } >>>>>>> //set the linkID in _level0 of the >>>>>>> runtime (it is deleted after onInit is fired) >>>>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>>>> tree.selectedNode.attributes.linkID, "|"); >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> this.mode = 'preview'; >>>>>>> >>>>>>> >>>>>>> //show the preview form >>>>>>> mdm.form_show("preview"); >>>>>>> mdm.form_restore("preview"); >>>>>>> >>>>>>> //fire up the piece >>>>>>> mdm.form_callfunction("preview", "setMode", >>>>>>> mode, "|"); >>>>>>> mdm.form_callfunction("preview", "jumpFile", >>>>>>> wizard.rloFile, "|"); >>>>>>> } >>>>>>> >>>>>>> >>>>>>> } else { //this is toolkits - play or post? >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> >>>>>>> //hardcoded in here for now - this is a bit >>>>>>> messy, needa better way of handling multiple runtimes with all >>>>>>> the security etc >>>>>>> if (wizard.nfoObject.wizard.runtime == >>>>>>> 'preview_site.php'){ >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>>>> wizard.getURLHelper.data = >>>>>>> KOData.format(); >>>>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>>>> "_blank", "POST"); >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if (Key.isDown(Key.CONTROL)){ //play the >>>>>>> html5 version >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id >>>>>>> + "&engine=other"; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id + "&engine=other"; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID >>>>>>> == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>> Date().getTime(); >>>>>>> } >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url += '_' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url += '&linkID=' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com>>>>>> e rte at pgogywebstuff.com> >>>>>>> Sent: 10 May 2013 14:38 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Windows 7 >>>>>>> Firefox 20.1.0 >>>>>>> Preview button doesn't work for anything once you've previewed >>>>>>> Flash Player 11.7 >>>>>>> >>>>>>> Fine in Chrome >>>>>>> No Joy in FF >>>>>>> >>>>>>> have commented out all of the JS >>>>>>> >>>>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>>>> close event firing too soon? >>>>>>> >>>>>>> I'd put some fscommand("console.log") into the wizard. >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>> of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> m >>>>>>> .ac.uk>>>>>>> @ >>>>>>> listsnottingham.ac.uk>> >>>>>>> Cc: >>>>>>> >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules More specifically 64bit >>>>>>> Windows 7 >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Julian Tenney >>>>>>> Sent: 10 May 2013 13:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Difference is Windows 7 - everything else the same and I see the >>>>>>> p >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative >>>>> of the Year 2009 and Herald Society's Education Initiative of the >>>>> Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e,6219,en.html >>>>> >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early >>>>> Career Researchers of the Year 2010, GCU as a lead with >>>>> Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e,15691,en.html >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>> -- >>>> -- >>>> >>>> Tom Reijnders >>>> TOR Informatica >>>> Chopinlaan 27 >>>> 5242HM Rosmalen >>>> Tel: 073 5226191 >>>> Fax: 073 5226196 >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education's Widening Participation Initiative >>>> of the Year 2009 and Herald Society's Education Initiative of the >>>> Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e >>>> ,6219,en.html >>>> >>>> >>>> Winner: Times Higher Education's Outstanding Support for Early >>>> Career Researchers of the Year 2010, GCU as a lead with >>>> Universities Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e >>>> ,15691,en.html >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> This message and any attachment are intended solely for the >>>> addressee and may contain confidential information. If you have >>>> received this message in error, please send it back to me, and immediately delete >>>> it. Please do not use, copy or disclose the information contained >>>> in this message or in any attachment. Any views or opinions >>>> expressed by the author of this email do not necessarily reflect >>>> the views of the University of Nottingham. >>>> >>>> This message has been checked for viruses but the contents of an >>>> attachment may still contain software viruses which could damage >>>> your computer >>>> system: >>>> you are advised to perform your own checks. Email communications >>>> with the University of Nottingham may be monitored as permitted by >>>> UK legislation. >>>> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. >> >> Glasgow Caledonian University is a registered Scottish charity, >> number >> SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6 >> 219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 1 >> 5691,en.html >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. >> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Mon May 13 16:34:53 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 13 May 2013 16:34:53 +0100 Subject: [Xerte-dev] Re: FW: F4302881 in supportwork In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51572F8F@EXCHANGE1.ad.nottingham.ac.uk> <93BFCFA4D5019E4EAC9DD52B5E7BD7922950EE9FC5@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49603@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97430@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49668@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97432@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497BB@EXCHANGE1.ad.nottingham.ac.uk> <4B6965E54E385E419329B3AA1E1A46F04D29D97434@EXCHANGE3.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497F1@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A4984B@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A4988F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A498C0@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A4993F@EXCHANGE1.ad.nottingham.ac.uk> Spoke too soon. Deployment works, and 2004 works, but 1.2 and deploymewnt don't work. If I manually kludge the URLS they do work. So .htaccess, right? This is what we have in the file (I can't see anything different between the ones that work and rthe ones that don't) rewriteRule ^export_([0-9]+)?(.*)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false&$2 rewriteRule ^export_full_([0-9]+)?(.*)$ /toolkits/website_code/php/scorm/export.php?full=true&template_id=$1&scorm=false&$2 rewriteRule ^export_local_([0-9]+)?(.*)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&local=true&scorm=false&$2 rewriteRule ^scorm2004_([0-9]+)?(.*)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=2004&$2 rewriteRule ^scorm_([0-9]+)?(.*)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=true&$2 rewriteRule ^scorm_rich_([0-9]+)?(.*)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&data=rich&scorm=true&$2 -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 15:29 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Another one off the bug list that we don't have yet ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 3:24 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork S'ok, we swapped the current htaccess for the rules in setup/htaccessConf. There wasn't a reminder in Ron's upgrade guide about that! Seems to work now, thanks -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 15:15 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Is this rule rewriteRule ^export_([0-9]+)$ /toolkits/website_code/php/scorm/export.php?template_id=$1&scorm=false missing the extra parameters that pass through the &html5=true&flash=false how are they passed in the shortened version? Only looks to cater for export_NUMBER format... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 2:59 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork That works. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 14:55 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Try opening this url in a new tab, substituting the ID with whatever one you wish... /website_code/php/scorm/export.php?scorm=false&template_id=2&html5=true&flash=false Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 2:40 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork Nothing. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 13 May 2013 14:16 To: For Xerte technical developers Subject: [Xerte-dev] Re: FW: F4302881 in supportwork What happens when you click? Is it all learning objects? On 13 May 2013, at 13:59, Julian Tenney wrote: > Can someone help me troubleshoot this export issue please? I'm not really sure where to start... > > I can confirm it doesn't work. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 13:49 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > OK thanks. I think he was just a little concerned that students would soon be accessing his Xerte materials on Moodle. > > I noticed earlier that the XOT Export option wasn't working anymore. I couldn't retrieve a Zip Folder of my project (tried in all browsers/ cleared cache) when I clicked any of the four buttons available. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 13:35 > To: Reed Joel > Subject: RE: F4302881 in supportwork > >> I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > I'll lok at that. I still have his mail in my to do list, just haven't got onto it with an afternoon to investigate yet... sorry about that. > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 11:52 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > The Bootstrap templates are very useful. I actually demoed Bootstrap to the e-Learning department at Harper Adams University last week and they seemed very keen to implement an upgrade to Xerte 2.0 in the near future to make use of these. > > I understand that with this recent upgrade your team must have been very busy, but my colleague James has again mentioned the recurring bug with CSS files added via XOT, which remove the content from the first slide of a project file. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:43 > To: Reed Joel > Subject: RE: F4302881 in supportwork > > That's a bug, I'll ask Fay to have a look at it, thanks. If you notice > anything else, give me a shout - it's possible there are a few other > smaller glitches in there. All the testing I did seemed OK on all the > major stuff, but there might be a few things lurking in the details, > > The new bootstrap template is in there as well, I think you'll be able to make good use of that! > > Julian > > -----Original Message----- > From: Reed Joel > Sent: 13 May 2013 10:39 > To: Tenney Julian > Subject: RE: F4302881 in supportwork > > Hi Julian, > > No major issues; I just noticed that the way feedback is now distributed within XOT Quizzes has changed since the recent 2.0 upgrade, which might well be intentional. > > Previously when adding feedback to a Quiz (quiz-xot-screen.jpg attached), this text would appear only once at the end of the quiz after the user had answered all their questions; but now the feedback added into this field appears every time you answer one of the questions and is also displayed alongside the additional feedback you can assign to an individual question. > > Furthermore, if you don't add feedback to the main field in XOT, when using the Flash output player, a Null message is displayed at the end of the quiz (quiz-2.0.jpg attached). However I've noticed this doesn't occur if the project uses the HTML5 player. > > Regards, > > Joel > ________________________________________ > From: Tenney Julian > Sent: 13 May 2013 10:12 > To: Reed Joel > Subject: FW: F4302881 in supportwork > > Hi mate, what's the problem? > > From: Zhang Linda > Sent: 10 May 2013 15:26 > To: Tenney Julian > Subject: F4302881 in supportwork > > Hi Julian, > Joel Reed raises an issue with the new version of Xerte 2.0. I have assigned the call to you in the supportwork system. > Many Thanks > Linda > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Mon May 13 16:35:52 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 13 May 2013 16:35:52 +0100 Subject: [Xerte-dev] Messages and Order, time and stuff Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A49942@EXCHANGE1.ad.nottingham.ac.uk> I noticed my systems colleague had a change request the other day to do with mailman. Have you guys noticed the mailman traffic working as it should now? From J.J.Smith at gcu.ac.uk Mon May 13 16:44:42 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 13 May 2013 16:44:42 +0100 Subject: [Xerte-dev] Re: Messages and Order, time and stuff In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A49942@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51A49942@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: It's definitely more responsive at my side... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 4:36 PM To: For Xerte technical developers Subject: [Xerte-dev] Messages and Order, time and stuff I noticed my systems colleague had a change request the other day to do with mailman. Have you guys noticed the mailman traffic working as it should now? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Mon May 13 16:50:47 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 13 May 2013 16:50:47 +0100 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51180B3F@EXCHANGE1.ad.nottingham.ac.uk> <519087DA.4000509@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A495D1@EXCHANGE1.ad.nottingham.ac.uk> <5190B7D1.2090600@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A497D4@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497D8@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A498DA@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A49955@EXCHANGE1.ad.nottingham.ac.uk> Patent lawyers would be a good start. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 13 May 2013 15:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I used to just blame Bill Gates for these things but who do we blame now? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 13, 2013 3:41 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I've commited a fix for that now. If you commit your fixes too Tom. That's ben a right nightmare that one, I'm glad they don't come along like that very often. And we still don't really know why. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 May 2013 13:48 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules But it still fails in the bootstrap template on our server... -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 13 May 2013 13:45 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules Yeah, it works. Brilliant, thanks for everyone's help -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 13 May 2013 10:52 To: For Xerte technical developers Subject: [Xerte-dev] Re: wizard files and modules I committed it to trunk: modules\xerte\js\xttracking_noop.js modules\xerte\parent_templates\Nottingham\common_html5\js\xttracking_noop.js If it works for you, I'll commit to 2.0 as well. Op 13-5-2013 10:58, Julian Tenney schreef: > Which file? > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom > Reijnders > Sent: 13 May 2013 07:28 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > Could you please verify it works for you too? > Then I'll commit this. > > This file belongs in modules/xerte/parent_templates/common_html5/js > and in modules/xerte/js > > And yes it would be better not to duplicate... > > Tom > > Op 12-5-2013 22:49, Julian Tenney schreef: >> Fellas! Nice one. I was just thinking about all this - magic, cheers. >> ________________________________________ >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John >> [J.J.Smith at gcu.ac.uk] >> Sent: 12 May 2013 21:33 >> To: xerte-dev at lists.nottingham.ac.uk >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Took a while but we got there :-) >> >> Hopefully its a temporary measure anyway until the new html5 editor can take over. >> >> Regards >> >> John Smith >> Learning Technologist >> School of Health and Life Sciences >> >> Sent from Samsung Galaxy SII >> >> >> >> Tom Reijnders wrote: >> >> >> And this works for Flash preview as well... >> >> Op 12-5-2013 18:58, Tom Reijnders schreef: >>> I tried putting it in the XTInitialise/XTTerminate >>> >>> But that didn't work! >>> >>> What did worl was putting this in XTTerminate() >>> >>> window.opener.innerWidth+=2 >>> window.opener.innerWidth-=2 >>> >>> Op 12-5-2013 17:05, Smith, John schreef: >>>> I like your idea although it still doesn't quite explain why it >>>> happens. I've narrowed it down to these lines in SWFObject >>>> >>>> var b = doc.getElementsByTagName("body")[0]; >>>> var o = createElement(OBJECT); >>>> o.setAttribute("type", FLASH_MIME_TYPE); >>>> var t = b.appendChild(o); >>>> >>>> Commenting out the last line { var t = b.appendChild(o); } stops >>>> the problem but i'm not sure how modifying that function will >>>> affect other browsers etc... seems to be similar to this issue >>>> http://stackoverflow.com/questions/14007062/mysterious-type-error-n >>>> o >>>> n-native-scope-object-in-firebug >>>> >>>> Anyway, I think you were looking for window.opener and not >>>> window.parent though. Try changing the rloObject.htm tag to >>>> this... seems to work for me >>>> >>>> >>>> >>> onbeforeunload = "XTTerminate();" onunload = >>>> "XTTerminate();window.opener.innerWidth+=2;"> >>>> >>>> >>>> More of a hack than a fix but it seems to work. You might want to >>>> hide the extra code in your XTInitialise/XTTerminate functions... >>>> >>>> Regards, >>>> >>>> John Smith | Learning Technologist >>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>> | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>> ________________________________________ >>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>> Reijnders [reijnders at tor.nl] >>>> Sent: 12 May 2013 14:13 >>>> To: For Xerte technical developers >>>> Subject: [Xerte-dev] Re: wizard files and modules >>>> >>>> I tried a different approach to see what happens (I tried to resize >>>> the parent window from beforeunload) >>>> >>>> But what I see is that in the preview window, window.parent is >>>> recursive, i.e. window = window.parent = window.parent.parent = >>>> window.parent.parent.parent.... >>>> >>>> Is that normal? (Not only in firefox, but also in Chrome). >>>> >>>> Does that tell us something? >>>> >>>> Tom >>>> >>>> Op 12-5-2013 14:00, Smith, John schreef: >>>>> I think Tom's right that its needed in the html player to render >>>>> flash objects... Definitely it that's causing the issue though... >>>>> Im trying to debug now... >>>>> >>>>> Regards >>>>> >>>>> John Smith >>>>> Learning Technologist >>>>> School of Health and Life Sciences >>>>> >>>>> Sent from Samsung Galaxy SII >>>>> >>>>> >>>>> "Pat @ Pgogy" wrote: >>>>> >>>>> >>>>> Do you still need swf object? >>>>> >>>>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>>>> >>>>>> I think we're running into a few version/library problems which >>>>>> is causing it... >>>>>> >>>>>> So Fay's code is using v2.2 of SWFObject but the editor is using >>>>>> v1.5 >>>>>> >>>>>> Also, the flash preview isn't using either, it appears to be >>>>>> using rloObject.js to create the Flash... >>>>>> >>>>>> Regards, >>>>>> >>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>> Building >>>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>> ________________________________________ >>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>> Reijnders [reijnders at tor.nl] >>>>>> Sent: 12 May 2013 11:27 >>>>>> To: For Xerte technical developers >>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>> >>>>>> I don't know. I thought it is needed to display swf's inside the >>>>>> content. >>>>>> Fay should know the definitive answer to that. >>>>>> >>>>>> But that doesn't help when the preview is flash... >>>>>> >>>>>> Tom >>>>>> >>>>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>>>> Ok i've partly solved it... >>>>>>> >>>>>>> Is this line needed in preview.php? >>>>>>> >>>>>>> >>>>>>> >>>>>>> Taking it out solves the issue for me... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>>> Reijnders [reijnders at tor.nl] >>>>>>> Sent: 12 May 2013 10:52 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>>>> >>>>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>>>> >>>>>>> so now if you replace preview.php with the attached file which >>>>>>> does nothing but is valid XHTML then I don't see the problem any >>>>>>> more so it must be the preview page... there are a lot of XHTML >>>>>>> Transitional errors in edit.php and a couple on preview but i've >>>>>>> fixed these now and still not working... >>>>>>> >>>>>>> Can either of you confirm that using this preview.php file >>>>>>> remeve the issue from the editor? >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk> >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> e >>>>>>> s at lists.nottingham.ac.uk>] >>>>>>> On Behalf Of Pat @ Pgogy >>>>>>> [xerte at pgogywebstuff.com] >>>>>>> Sent: 12 May 2013 10:25 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> Has this mostly happened post the upload successful button was added? >>>>>>> >>>>>>> I think the button click event isn't firing properly in flash? >>>>>>> >>>>>>> When I last did a lot of flash stuff, Firefox always went wrong >>>>>>> on the object's depth properties >>>>>>> >>>>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>>>> wrote: >>>>>>> >>>>>>> >>>>>>> >>>>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>>>> Friday and it seems that it was because of what I was doing... >>>>>>> >>>>>>> When the editor window was opening I was MOVING the window so >>>>>>> that I could see the workspace too and it seems that this change >>>>>>> of focus from the Flash to the actual window was in some way >>>>>>> doing something to the problem but this morning I was able to >>>>>>> reproduce the problem this morning though because I wasn't doing >>>>>>> anything to the window after clicking preview... >>>>>>> >>>>>>> Please watch this screencast ( >>>>>>> http://screencast.com/t/38tpOLopLs >>>>>>> ) and you'll see the button not working in exactly the same way >>>>>>> that you all described but then simply resizing the window >>>>>>> slightly makes it work again... now it's not a focus issue >>>>>>> because simply clicking on the window border or the window >>>>>>> header which would change focus away from the Flash wizard doesn't fix it... >>>>>>> but resizing does. But only until you preview again and then you >>>>>>> need to resize again... >>>>>>> >>>>>>> I have no idea why this is happening but will continue to have a >>>>>>> play around with various things to see if I can come up with a fix... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building | School of Health & Life Sciences >>>>>>> | Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk> >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> e >>>>>>> s at lists.nottingham.ac.uk>] >>>>>>> On Behalf Of Tom Reijnders >>>>>>> [reijnders at tor.nl] >>>>>>> Sent: 11 May 2013 12:01 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I looked into this further as well, and I've got it working >>>>>>> (sort of). The original problem is beyond our control. Something >>>>>>> gets changed by showing and closing the preview. I concentrated >>>>>>> on the call to popup preview: >>>>>>> >>>>>>> Where url is 'preview.php&template_id=4' >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> What I did: >>>>>>> 1. I changed the code to do exactly the same but in a different way: >>>>>>> >>>>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>>>> this.template_height, this.template_width); >>>>>>> - Supply javascript function in edit.php that does: >>>>>>> >>>>>>> function openPreview(url, height, width) >>>>>>> { >>>>>>> NewWindow = window.open(url, 'previewwindow', 'height=' >>>>>>> + height, ',width=' + width); >>>>>>> NewWindow.focus(); >>>>>>> } >>>>>>> >>>>>>> This behaves exactly the same, as in, it doesn't work. After >>>>>>> closing preview, the file browser doesn't pop up any more. >>>>>>> >>>>>>> 2. So, different approach, without using javascript: >>>>>>> >>>>>>> - From flash call: getURL(url, "_blank") >>>>>>> >>>>>>> This has as a drawback (or advantage) that the preview is shown >>>>>>> in a new window/tab in stead of a popup, and so it >>>>>>> ignores/doesn't use the sizes of the window. >>>>>>> >>>>>>> BUT it does work! >>>>>>> >>>>>>> Is that a viable solution? For firefox only? >>>>>>> >>>>>>> Tom >>>>>>> >>>>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>>>> Tested the file button, and debugged the FileRef.browse and got >>>>>>> Function, so it does exist, before FileRef.browse is called. >>>>>>> >>>>>>> Took out all but the void(0) and still failing. Have stripped >>>>>>> down the function to this. >>>>>>> >>>>>>> I don't think it is our code. Going for beer. >>>>>>> >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com>>>>>> e rte at pgogywebstuff.com> >>>>>>> Sent: 10 May 2013 14:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>>>> button? >>>>>>> >>>>>>> try not setting focus? that seems a possible route? >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>> of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers >>>>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> Cc: >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> It boils down to this: >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: Tenney Julian >>>>>>> Sent: 10 May 2013 14:51 >>>>>>> To: 'For Xerte technical developers' >>>>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Here be function preview() (I'm guessing you can't see it? Can >>>>>>> you see anything obvious / or anything I can try commenting out >>>>>>> / testing to test your theory?) Probably next week though, I >>>>>>> have to go soon, >>>>>>> >>>>>>> >>>>>>> function preview(){ >>>>>>> >>>>>>> >>>>>>> if (xerte){ >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> //post the xml data into the url specified >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> } else {//play it in Xerte >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID >>>>>>> == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>> Date().getTime(); >>>>>>> } >>>>>>> //set the linkID in _level0 of the >>>>>>> runtime (it is deleted after onInit is fired) >>>>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>>>> tree.selectedNode.attributes.linkID, "|"); >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> this.mode = 'preview'; >>>>>>> >>>>>>> >>>>>>> //show the preview form >>>>>>> mdm.form_show("preview"); >>>>>>> mdm.form_restore("preview"); >>>>>>> >>>>>>> //fire up the piece >>>>>>> mdm.form_callfunction("preview", "setMode", >>>>>>> mode, "|"); >>>>>>> mdm.form_callfunction("preview", "jumpFile", >>>>>>> wizard.rloFile, "|"); >>>>>>> } >>>>>>> >>>>>>> >>>>>>> } else { //this is toolkits - play or post? >>>>>>> >>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>> >>>>>>> //hardcoded in here for now - this is a bit >>>>>>> messy, needa better way of handling multiple runtimes with all >>>>>>> the security etc >>>>>>> if (wizard.nfoObject.wizard.runtime == >>>>>>> 'preview_site.php'){ >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> saveFile(); >>>>>>> >>>>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>>>> wizard.getURLHelper.data = >>>>>>> KOData.format(); >>>>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>>>> "_blank", "POST"); >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if (Key.isDown(Key.CONTROL)){ //play the >>>>>>> html5 version >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id >>>>>>> + "&engine=other"; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id + "&engine=other"; >>>>>>> >>>>>>> } >>>>>>> >>>>>>> } else { >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url = "preview_" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url = "preview.php?template_id=" + >>>>>>> _root.template_id; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> //if shift is down, jump straight to this page >>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>> if (tree.selectedNode.attributes.linkID >>>>>>> == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>> Date().getTime(); >>>>>>> } >>>>>>> >>>>>>> if(_root.apache!="false"){ >>>>>>> >>>>>>> url += '_' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> }else{ >>>>>>> >>>>>>> url += '&linkID=' + >>>>>>> tree.selectedNode.attributes.linkID; >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> saveFile(); >>>>>>> >>>>>>> ExternalInterface.call("hideunload"); >>>>>>> >>>>>>> >>>>>>> getURL("javascript:NewWindow = >>>>>>> window.open('">>>>>> w Window=window.open('> >>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>> setunload(); void(0);"); >>>>>>> >>>>>>> } >>>>>>> } >>>>>>> } >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> xerte at pgogywebstuff.com>>>>>> e rte at pgogywebstuff.com> >>>>>>> Sent: 10 May 2013 14:38 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Windows 7 >>>>>>> Firefox 20.1.0 >>>>>>> Preview button doesn't work for anything once you've previewed >>>>>>> Flash Player 11.7 >>>>>>> >>>>>>> Fine in Chrome >>>>>>> No Joy in FF >>>>>>> >>>>>>> have commented out all of the JS >>>>>>> >>>>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>>>> close event firing too soon? >>>>>>> >>>>>>> I'd put some fscommand("console.log") into the wizard. >>>>>>> >>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>> of a fair to middling quality >>>>>>> >>>>>>> >>>>>>> >>>>>>> ----- Original Message ----- >>>>>>> From: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> h >>>>>>> am.ac.uk>>>>>>> d >>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>> >>>>>>> >>>>>>> To: >>>>>>> "For Xerte technical developers" >>>>>>> >>>>>> m >>>>>>> .ac.uk>>>>>>> @ >>>>>>> listsnottingham.ac.uk>> >>>>>>> Cc: >>>>>>> >>>>>>> >>>>>>> Sent: >>>>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>>>> Subject: >>>>>>> [Xerte-dev] Re: wizard files and modules More specifically 64bit >>>>>>> Windows 7 >>>>>>> >>>>>>> >>>>>>> From: >>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>> s >>>>>>> @lists.nottingham.ac.uk>>>>>>> a m.ac.uk> >>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>> Julian Tenney >>>>>>> Sent: 10 May 2013 13:58 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> >>>>>>> Difference is Windows 7 - everything else the same and I see the >>>>>>> p >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative >>>>> of the Year 2009 and Herald Society's Education Initiative of the >>>>> Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e,6219,en.html >>>>> >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early >>>>> Career Researchers of the Year 2010, GCU as a lead with >>>>> Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>> m >>>>> e,15691,en.html >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>> -- >>>> -- >>>> >>>> Tom Reijnders >>>> TOR Informatica >>>> Chopinlaan 27 >>>> 5242HM Rosmalen >>>> Tel: 073 5226191 >>>> Fax: 073 5226196 >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> >>>> Glasgow Caledonian University is a registered Scottish charity, >>>> number SC021474 >>>> >>>> Winner: Times Higher Education's Widening Participation Initiative >>>> of the Year 2009 and Herald Society's Education Initiative of the >>>> Year 2009. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e >>>> ,6219,en.html >>>> >>>> >>>> Winner: Times Higher Education's Outstanding Support for Early >>>> Career Researchers of the Year 2010, GCU as a lead with >>>> Universities Scotland partners. >>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>> e >>>> ,15691,en.html >>>> >>>> >>>> _______________________________________________ >>>> Xerte-dev mailing list >>>> Xerte-dev at lists.nottingham.ac.uk >>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>> This message and any attachment are intended solely for the >>>> addressee and may contain confidential information. If you have >>>> received this message in error, please send it back to me, and immediately delete >>>> it. Please do not use, copy or disclose the information contained >>>> in this message or in any attachment. Any views or opinions >>>> expressed by the author of this email do not necessarily reflect >>>> the views of the University of Nottingham. >>>> >>>> This message has been checked for viruses but the contents of an >>>> attachment may still contain software viruses which could damage >>>> your computer >>>> system: >>>> you are advised to perform your own checks. Email communications >>>> with the University of Nottingham may be monitored as permitted by >>>> UK legislation. >>>> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. >> >> Glasgow Caledonian University is a registered Scottish charity, >> number >> SC021474 >> >> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 6 >> 219,en.html >> >> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >> 1 >> 5691,en.html >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. >> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with > the University of Nottingham may be monitored as permitted by UK legislation. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From reijnders at tor.nl Mon May 13 17:07:07 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 13 May 2013 18:07:07 +0200 Subject: [Xerte-dev] Re: Messages and Order, time and stuff In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51A49942@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <51910FAB.4020902@tor.nl> Yes definitely better today than it was before.... Op 13-5-2013 17:44, Smith, John schreef: > It's definitely more responsive at my side... > > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Monday, May 13, 2013 4:36 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Messages and Order, time and stuff > > I noticed my systems colleague had a change request the other day to do with mailman. Have you guys noticed the mailman traffic working as it should now? > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From reijnders at tor.nl Mon May 13 17:54:50 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 13 May 2013 18:54:50 +0200 Subject: [Xerte-dev] Re: wizard files and modules In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A498DA@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51180B3F@EXCHANGE1.ad.nottingham.ac.uk> <519087DA.4000509@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A495D1@EXCHANGE1.ad.nottingham.ac.uk> <5190B7D1.2090600@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51A497D4@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A497D8@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A498DA@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <51911ADA.8090209@tor.nl> Committed in 2.0 as well. Op 13-5-2013 16:41, Julian Tenney schreef: > I've commited a fix for that now. If you commit your fixes too Tom. That's ben a right nightmare that one, I'm glad they don't come along like that very often. > > And we still don't really know why. > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 13 May 2013 13:48 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > But it still fails in the bootstrap template on our server... > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 13 May 2013 13:45 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > Yeah, it works. Brilliant, thanks for everyone's help > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 13 May 2013 10:52 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: wizard files and modules > > I committed it to trunk: > > modules\xerte\js\xttracking_noop.js > modules\xerte\parent_templates\Nottingham\common_html5\js\xttracking_noop.js > > If it works for you, I'll commit to 2.0 as well. > > > Op 13-5-2013 10:58, Julian Tenney schreef: >> Which file? >> >> -----Original Message----- >> From: xerte-dev-bounces at lists.nottingham.ac.uk >> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >> Reijnders >> Sent: 13 May 2013 07:28 >> To: For Xerte technical developers >> Subject: [Xerte-dev] Re: wizard files and modules >> >> Could you please verify it works for you too? >> Then I'll commit this. >> >> This file belongs in modules/xerte/parent_templates/common_html5/js >> and in modules/xerte/js >> >> And yes it would be better not to duplicate... >> >> Tom >> >> Op 12-5-2013 22:49, Julian Tenney schreef: >>> Fellas! Nice one. I was just thinking about all this - magic, cheers. >>> ________________________________________ >>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John >>> [J.J.Smith at gcu.ac.uk] >>> Sent: 12 May 2013 21:33 >>> To: xerte-dev at lists.nottingham.ac.uk >>> Subject: [Xerte-dev] Re: wizard files and modules >>> >>> Took a while but we got there :-) >>> >>> Hopefully its a temporary measure anyway until the new html5 editor can take over. >>> >>> Regards >>> >>> John Smith >>> Learning Technologist >>> School of Health and Life Sciences >>> >>> Sent from Samsung Galaxy SII >>> >>> >>> >>> Tom Reijnders wrote: >>> >>> >>> And this works for Flash preview as well... >>> >>> Op 12-5-2013 18:58, Tom Reijnders schreef: >>>> I tried putting it in the XTInitialise/XTTerminate >>>> >>>> But that didn't work! >>>> >>>> What did worl was putting this in XTTerminate() >>>> >>>> window.opener.innerWidth+=2 >>>> window.opener.innerWidth-=2 >>>> >>>> Op 12-5-2013 17:05, Smith, John schreef: >>>>> I like your idea although it still doesn't quite explain why it >>>>> happens. I've narrowed it down to these lines in SWFObject >>>>> >>>>> var b = doc.getElementsByTagName("body")[0]; >>>>> var o = createElement(OBJECT); >>>>> o.setAttribute("type", FLASH_MIME_TYPE); >>>>> var t = b.appendChild(o); >>>>> >>>>> Commenting out the last line { var t = b.appendChild(o); } stops >>>>> the problem but i'm not sure how modifying that function will >>>>> affect other browsers etc... seems to be similar to this issue >>>>> http://stackoverflow.com/questions/14007062/mysterious-type-error-n >>>>> o >>>>> n-native-scope-object-in-firebug >>>>> >>>>> Anyway, I think you were looking for window.opener and not >>>>> window.parent though. Try changing the rloObject.htm tag to >>>>> this... seems to work for me >>>>> >>>>> >>>>> >>>> onbeforeunload = "XTTerminate();" onunload = >>>>> "XTTerminate();window.opener.innerWidth+=2;"> >>>>> >>>>> >>>>> More of a hack than a fix but it seems to work. You might want to >>>>> hide the extra code in your XTInitialise/XTTerminate functions... >>>>> >>>>> Regards, >>>>> >>>>> John Smith | Learning Technologist >>>>> Room A251, Govan Mbeki Building | School of Health & Life Sciences >>>>> | Glasgow Caledonian University Cowcaddens Road | Glasgow | G4 0BA >>>>> ________________________________________ >>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>> Reijnders [reijnders at tor.nl] >>>>> Sent: 12 May 2013 14:13 >>>>> To: For Xerte technical developers >>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>> >>>>> I tried a different approach to see what happens (I tried to resize >>>>> the parent window from beforeunload) >>>>> >>>>> But what I see is that in the preview window, window.parent is >>>>> recursive, i.e. window = window.parent = window.parent.parent = >>>>> window.parent.parent.parent.... >>>>> >>>>> Is that normal? (Not only in firefox, but also in Chrome). >>>>> >>>>> Does that tell us something? >>>>> >>>>> Tom >>>>> >>>>> Op 12-5-2013 14:00, Smith, John schreef: >>>>>> I think Tom's right that its needed in the html player to render >>>>>> flash objects... Definitely it that's causing the issue though... >>>>>> Im trying to debug now... >>>>>> >>>>>> Regards >>>>>> >>>>>> John Smith >>>>>> Learning Technologist >>>>>> School of Health and Life Sciences >>>>>> >>>>>> Sent from Samsung Galaxy SII >>>>>> >>>>>> >>>>>> "Pat @ Pgogy" wrote: >>>>>> >>>>>> >>>>>> Do you still need swf object? >>>>>> >>>>>> On 12 May 2013, at 12:15, "Smith, John" wrote: >>>>>> >>>>>>> I think we're running into a few version/library problems which >>>>>>> is causing it... >>>>>>> >>>>>>> So Fay's code is using v2.2 of SWFObject but the editor is using >>>>>>> v1.5 >>>>>>> >>>>>>> Also, the flash preview isn't using either, it appears to be >>>>>>> using rloObject.js to create the Flash... >>>>>>> >>>>>>> Regards, >>>>>>> >>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>> Building >>>>>>> | School of Health & Life Sciences Glasgow Caledonian University >>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>> ________________________________________ >>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>>> Reijnders [reijnders at tor.nl] >>>>>>> Sent: 12 May 2013 11:27 >>>>>>> To: For Xerte technical developers >>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>> >>>>>>> I don't know. I thought it is needed to display swf's inside the >>>>>>> content. >>>>>>> Fay should know the definitive answer to that. >>>>>>> >>>>>>> But that doesn't help when the preview is flash... >>>>>>> >>>>>>> Tom >>>>>>> >>>>>>> Op 12-5-2013 12:04, Smith, John schreef: >>>>>>>> Ok i've partly solved it... >>>>>>>> >>>>>>>> Is this line needed in preview.php? >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Taking it out solves the issue for me... >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>>> Building | School of Health & Life Sciences >>>>>>>> | Glasgow Caledonian University >>>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>>> ________________________________________ >>>>>>>> From: xerte-dev-bounces at lists.nottingham.ac.uk >>>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom >>>>>>>> Reijnders [reijnders at tor.nl] >>>>>>>> Sent: 12 May 2013 10:52 >>>>>>>> To: For Xerte technical developers >>>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>>> >>>>>>>> Confirmed... ( I liked Zen of Blakes 7...:-) ) >>>>>>>> >>>>>>>> Op 12-5-2013 11:41, Smith, John schreef: >>>>>>>> >>>>>>>> so now if you replace preview.php with the attached file which >>>>>>>> does nothing but is valid XHTML then I don't see the problem any >>>>>>>> more so it must be the preview page... there are a lot of XHTML >>>>>>>> Transitional errors in edit.php and a couple on preview but i've >>>>>>>> fixed these now and still not working... >>>>>>>> >>>>>>>> Can either of you confirm that using this preview.php file >>>>>>>> remeve the issue from the editor? >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>>> Building | School of Health & Life Sciences >>>>>>>> | Glasgow Caledonian University >>>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>>> ________________________________________ >>>>>>>> From: >>>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>> s >>>>>>>> @lists.nottingham.ac.uk> >>>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>> e >>>>>>>> s at lists.nottingham.ac.uk>] >>>>>>>> On Behalf Of Pat @ Pgogy >>>>>>>> [xerte at pgogywebstuff.com] >>>>>>>> Sent: 12 May 2013 10:25 >>>>>>>> To: For Xerte technical developers >>>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>>> >>>>>>>> Has this mostly happened post the upload successful button was added? >>>>>>>> >>>>>>>> I think the button click event isn't firing properly in flash? >>>>>>>> >>>>>>>> When I last did a lot of flash stuff, Firefox always went wrong >>>>>>>> on the object's depth properties >>>>>>>> >>>>>>>> On 12 May 2013, at 09:52, "Smith, John" >>>>>>>> wrote: >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> So the plot thickens... As you know I couldn't reproduce this on >>>>>>>> Friday and it seems that it was because of what I was doing... >>>>>>>> >>>>>>>> When the editor window was opening I was MOVING the window so >>>>>>>> that I could see the workspace too and it seems that this change >>>>>>>> of focus from the Flash to the actual window was in some way >>>>>>>> doing something to the problem but this morning I was able to >>>>>>>> reproduce the problem this morning though because I wasn't doing >>>>>>>> anything to the window after clicking preview... >>>>>>>> >>>>>>>> Please watch this screencast ( >>>>>>>> http://screencast.com/t/38tpOLopLs >>>>>>>> ) and you'll see the button not working in exactly the same way >>>>>>>> that you all described but then simply resizing the window >>>>>>>> slightly makes it work again... now it's not a focus issue >>>>>>>> because simply clicking on the window border or the window >>>>>>>> header which would change focus away from the Flash wizard doesn't fix it... >>>>>>>> but resizing does. But only until you preview again and then you >>>>>>>> need to resize again... >>>>>>>> >>>>>>>> I have no idea why this is happening but will continue to have a >>>>>>>> play around with various things to see if I can come up with a fix... >>>>>>>> >>>>>>>> Regards, >>>>>>>> >>>>>>>> John Smith | Learning Technologist Room A251, Govan Mbeki >>>>>>>> Building | School of Health & Life Sciences >>>>>>>> | Glasgow Caledonian University >>>>>>>> Cowcaddens Road | Glasgow | G4 0BA >>>>>>>> ________________________________________ >>>>>>>> From: >>>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>> s >>>>>>>> @lists.nottingham.ac.uk> >>>>>>>> [xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>> e >>>>>>>> s at lists.nottingham.ac.uk>] >>>>>>>> On Behalf Of Tom Reijnders >>>>>>>> [reijnders at tor.nl] >>>>>>>> Sent: 11 May 2013 12:01 >>>>>>>> To: For Xerte technical developers >>>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>>> >>>>>>>> I looked into this further as well, and I've got it working >>>>>>>> (sort of). The original problem is beyond our control. Something >>>>>>>> gets changed by showing and closing the preview. I concentrated >>>>>>>> on the call to popup preview: >>>>>>>> >>>>>>>> Where url is 'preview.php&template_id=4' >>>>>>>> >>>>>>>> getURL("javascript:NewWindow = >>>>>>>> window.open('">>>>>>> w Window=window.open('> >>>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>>> setunload(); void(0);"); >>>>>>>> >>>>>>>> What I did: >>>>>>>> 1. I changed the code to do exactly the same but in a different way: >>>>>>>> >>>>>>>> - From flash call: ExternalInterface.call("openPreview", url, >>>>>>>> this.template_height, this.template_width); >>>>>>>> - Supply javascript function in edit.php that does: >>>>>>>> >>>>>>>> function openPreview(url, height, width) >>>>>>>> { >>>>>>>> NewWindow = window.open(url, 'previewwindow', 'height=' >>>>>>>> + height, ',width=' + width); >>>>>>>> NewWindow.focus(); >>>>>>>> } >>>>>>>> >>>>>>>> This behaves exactly the same, as in, it doesn't work. After >>>>>>>> closing preview, the file browser doesn't pop up any more. >>>>>>>> >>>>>>>> 2. So, different approach, without using javascript: >>>>>>>> >>>>>>>> - From flash call: getURL(url, "_blank") >>>>>>>> >>>>>>>> This has as a drawback (or advantage) that the preview is shown >>>>>>>> in a new window/tab in stead of a popup, and so it >>>>>>>> ignores/doesn't use the sizes of the window. >>>>>>>> >>>>>>>> BUT it does work! >>>>>>>> >>>>>>>> Is that a viable solution? For firefox only? >>>>>>>> >>>>>>>> Tom >>>>>>>> >>>>>>>> Op 10-5-2013 16:01, Julian Tenney schreef: >>>>>>>> Tested the file button, and debugged the FileRef.browse and got >>>>>>>> Function, so it does exist, before FileRef.browse is called. >>>>>>>> >>>>>>>> Took out all but the void(0) and still failing. Have stripped >>>>>>>> down the function to this. >>>>>>>> >>>>>>>> I don't think it is our code. Going for beer. >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> From: >>>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>> s >>>>>>>> @lists.nottingham.ac.uk>>>>>>>> a m.ac.uk> >>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>>> xerte at pgogywebstuff.com>>>>>>> e rte at pgogywebstuff.com> >>>>>>>> Sent: 10 May 2013 14:58 >>>>>>>> To: For Xerte technical developers >>>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>>> >>>>>>>> I'd be cautious of saying it is preview - perhaps it is the file >>>>>>>> button? >>>>>>>> >>>>>>>> try not setting focus? that seems a possible route? >>>>>>>> >>>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>>> of a fair to middling quality >>>>>>>> >>>>>>>> >>>>>>>> ----- Original Message ----- >>>>>>>> From: >>>>>>>> "For Xerte technical developers" >>>>>>>> >>>>>>> h >>>>>>>> am.ac.uk>>>>>>>> d >>>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>>> >>>>>>>> To: >>>>>>>> "For Xerte technical developers >>>>>>>> (xerte-dev at lists.nottingham.ac.uk)" >>>>>>>> >>>>>>> h >>>>>>>> am.ac.uk>>>>>>>> d >>>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>>> >>>>>>>> Cc: >>>>>>>> >>>>>>>> Sent: >>>>>>>> Fri, 10 May 2013 14:54:16 +0100 >>>>>>>> Subject: >>>>>>>> [Xerte-dev] Re: wizard files and modules >>>>>>>> >>>>>>>> It boils down to this: >>>>>>>> >>>>>>>> >>>>>>>> function preview(){ >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> if(_root.apache!="false"){ >>>>>>>> >>>>>>>> url = "preview_" + _root.template_id; >>>>>>>> >>>>>>>> }else{ >>>>>>>> >>>>>>>> url = "preview.php?template_id=" + >>>>>>>> _root.template_id; >>>>>>>> >>>>>>>> } >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> saveFile(); >>>>>>>> >>>>>>>> ExternalInterface.call("hideunload"); >>>>>>>> >>>>>>>> >>>>>>>> getURL("javascript:NewWindow = >>>>>>>> window.open('">>>>>>> w Window=window.open('> >>>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>>> setunload(); void(0);"); >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> } >>>>>>>> >>>>>>>> >>>>>>>> From: Tenney Julian >>>>>>>> Sent: 10 May 2013 14:51 >>>>>>>> To: 'For Xerte technical developers' >>>>>>>> Subject: RE: [Xerte-dev] Re: wizard files and modules >>>>>>>> >>>>>>>> >>>>>>>> Here be function preview() (I'm guessing you can't see it? Can >>>>>>>> you see anything obvious / or anything I can try commenting out >>>>>>>> / testing to test your theory?) Probably next week though, I >>>>>>>> have to go soon, >>>>>>>> >>>>>>>> >>>>>>>> function preview(){ >>>>>>>> >>>>>>>> >>>>>>>> if (xerte){ >>>>>>>> >>>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>>> //post the xml data into the url specified >>>>>>>> >>>>>>>> saveFile(); >>>>>>>> >>>>>>>> } else {//play it in Xerte >>>>>>>> >>>>>>>> //if shift is down, jump straight to this page >>>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>>> if (tree.selectedNode.attributes.linkID >>>>>>>> == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>>> Date().getTime(); >>>>>>>> } >>>>>>>> //set the linkID in _level0 of the >>>>>>>> runtime (it is deleted after onInit is fired) >>>>>>>> mdm.Forms.preview.callFunction("setLinkID", >>>>>>>> tree.selectedNode.attributes.linkID, "|"); >>>>>>>> } >>>>>>>> saveFile(); >>>>>>>> >>>>>>>> this.mode = 'preview'; >>>>>>>> >>>>>>>> >>>>>>>> //show the preview form >>>>>>>> mdm.form_show("preview"); >>>>>>>> mdm.form_restore("preview"); >>>>>>>> >>>>>>>> //fire up the piece >>>>>>>> mdm.form_callfunction("preview", "setMode", >>>>>>>> mode, "|"); >>>>>>>> mdm.form_callfunction("preview", "jumpFile", >>>>>>>> wizard.rloFile, "|"); >>>>>>>> } >>>>>>>> >>>>>>>> >>>>>>>> } else { //this is toolkits - play or post? >>>>>>>> >>>>>>>> if (wizard.nfoObject.wizard.runtime != undefined){ >>>>>>>> >>>>>>>> //hardcoded in here for now - this is a bit >>>>>>>> messy, needa better way of handling multiple runtimes with all >>>>>>>> the security etc >>>>>>>> if (wizard.nfoObject.wizard.runtime == >>>>>>>> 'preview_site.php'){ >>>>>>>> >>>>>>>> if(_root.apache!="false"){ >>>>>>>> >>>>>>>> url = "preview_" + >>>>>>>> _root.template_id; >>>>>>>> >>>>>>>> }else{ >>>>>>>> >>>>>>>> url = "preview.php?template_id=" + >>>>>>>> _root.template_id; >>>>>>>> >>>>>>>> } >>>>>>>> >>>>>>>> saveFile(); >>>>>>>> >>>>>>>> ExternalInterface.call("hideunload"); >>>>>>>> >>>>>>>> >>>>>>>> getURL("javascript:NewWindow = >>>>>>>> window.open('">>>>>>> w Window=window.open('> >>>>>>>> + url + "','previewwindow','scrollbars=yes'); NewWindow.focus(); >>>>>>>> setunload(); void(0);"); >>>>>>>> >>>>>>>> } else { >>>>>>>> >>>>>>>> saveFile(); >>>>>>>> >>>>>>>> wizard.createEmptyMovieClip('getURLHelper', 9999); >>>>>>>> wizard.getURLHelper.data = >>>>>>>> KOData.format(); >>>>>>>> wizard.getURLHelper.getURL(wizard.nfoObject.wizard.runtime, >>>>>>>> "_blank", "POST"); >>>>>>>> >>>>>>>> } >>>>>>>> >>>>>>>> } else { >>>>>>>> >>>>>>>> if (Key.isDown(Key.CONTROL)){ //play the >>>>>>>> html5 version >>>>>>>> >>>>>>>> if(_root.apache!="false"){ >>>>>>>> >>>>>>>> url = "preview_" + >>>>>>>> _root.template_id >>>>>>>> + "&engine=other"; >>>>>>>> >>>>>>>> }else{ >>>>>>>> >>>>>>>> url = "preview.php?template_id=" + >>>>>>>> _root.template_id + "&engine=other"; >>>>>>>> >>>>>>>> } >>>>>>>> >>>>>>>> } else { >>>>>>>> >>>>>>>> if(_root.apache!="false"){ >>>>>>>> >>>>>>>> url = "preview_" + >>>>>>>> _root.template_id; >>>>>>>> >>>>>>>> }else{ >>>>>>>> >>>>>>>> url = "preview.php?template_id=" + >>>>>>>> _root.template_id; >>>>>>>> >>>>>>>> } >>>>>>>> } >>>>>>>> >>>>>>>> >>>>>>>> //if shift is down, jump straight to this page >>>>>>>> if (Key.isDown(Key.SHIFT)){ >>>>>>>> if (tree.selectedNode.attributes.linkID >>>>>>>> == undefined){ tree.selectedNode.attributes.linkID = 'PG' + new >>>>>>>> Date().getTime(); >>>>>>>> } >>>>>>>> >>>>>>>> if(_root.apache!="false"){ >>>>>>>> >>>>>>>> url += '_' + >>>>>>>> tree.selectedNode.attributes.linkID; >>>>>>>> >>>>>>>> }else{ >>>>>>>> >>>>>>>> url += '&linkID=' + >>>>>>>> tree.selectedNode.attributes.linkID; >>>>>>>> >>>>>>>> } >>>>>>>> } >>>>>>>> saveFile(); >>>>>>>> >>>>>>>> ExternalInterface.call("hideunload"); >>>>>>>> >>>>>>>> >>>>>>>> getURL("javascript:NewWindow = >>>>>>>> window.open('">>>>>>> w Window=window.open('> >>>>>>>> + url + "','previewwindow','height=" + this.template_height+ >>>>>>>> ",width=" + this.template_width+ ",linkID=" + >>>>>>>> tree.selectedNode.attributes.linkID+ "'); NewWindow.focus(); >>>>>>>> setunload(); void(0);"); >>>>>>>> >>>>>>>> } >>>>>>>> } >>>>>>>> } >>>>>>>> >>>>>>>> >>>>>>>> From: >>>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>> s >>>>>>>> @lists.nottingham.ac.uk>>>>>>>> a m.ac.uk> >>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>>> xerte at pgogywebstuff.com>>>>>>> e rte at pgogywebstuff.com> >>>>>>>> Sent: 10 May 2013 14:38 >>>>>>>> To: For Xerte technical developers >>>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>>> >>>>>>>> >>>>>>>> Windows 7 >>>>>>>> Firefox 20.1.0 >>>>>>>> Preview button doesn't work for anything once you've previewed >>>>>>>> Flash Player 11.7 >>>>>>>> >>>>>>>> Fine in Chrome >>>>>>>> No Joy in FF >>>>>>>> >>>>>>>> have commented out all of the JS >>>>>>>> >>>>>>>> So I'm guessing it is in the engine somewhere for FF - possible >>>>>>>> close event firing too soon? >>>>>>>> >>>>>>>> I'd put some fscommand("console.log") into the wizard. >>>>>>>> >>>>>>>> Pgogy Webstuff http://www.pgogywebstuff.com Makers of Web things >>>>>>>> of a fair to middling quality >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ----- Original Message ----- >>>>>>>> From: >>>>>>>> "For Xerte technical developers" >>>>>>>> >>>>>>> h >>>>>>>> am.ac.uk>>>>>>>> d >>>>>>>> ev at lists.nottingham.ac.uk>> >>>>>>>> >>>>>>>> >>>>>>>> To: >>>>>>>> "For Xerte technical developers" >>>>>>>> >>>>>>> m >>>>>>>> .ac.uk>>>>>>>> @ >>>>>>>> listsnottingham.ac.uk>> >>>>>>>> Cc: >>>>>>>> >>>>>>>> >>>>>>>> Sent: >>>>>>>> Fri, 10 May 2013 14:00:36 +0100 >>>>>>>> Subject: >>>>>>>> [Xerte-dev] Re: wizard files and modules More specifically 64bit >>>>>>>> Windows 7 >>>>>>>> >>>>>>>> >>>>>>>> From: >>>>>>>> xerte-dev-bounces at lists.nottingham.ac.uk>>>>>>> s >>>>>>>> @lists.nottingham.ac.uk>>>>>>>> a m.ac.uk> >>>>>>>> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of >>>>>>>> Julian Tenney >>>>>>>> Sent: 10 May 2013 13:58 >>>>>>>> To: For Xerte technical developers >>>>>>>> Subject: [Xerte-dev] Re: wizard files and modules >>>>>>>> >>>>>>>> >>>>>>>> Difference is Windows 7 - everything else the same and I see the >>>>>>>> p >>>>>> _______________________________________________ >>>>>> Xerte-dev mailing list >>>>>> Xerte-dev at lists.nottingham.ac.uk >>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>> >>>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>>> number SC021474 >>>>>> >>>>>> Winner: Times Higher Education's Widening Participation Initiative >>>>>> of the Year 2009 and Herald Society's Education Initiative of the >>>>>> Year 2009. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>>> m >>>>>> e,6219,en.html >>>>>> >>>>>> >>>>>> Winner: Times Higher Education's Outstanding Support for Early >>>>>> Career Researchers of the Year 2010, GCU as a lead with >>>>>> Universities Scotland partners. >>>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/na >>>>>> m >>>>>> e,15691,en.html >>>>>> >>>>>> _______________________________________________ >>>>>> Xerte-dev mailing list >>>>>> Xerte-dev at lists.nottingham.ac.uk >>>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>>> >>>>> -- >>>>> -- >>>>> >>>>> Tom Reijnders >>>>> TOR Informatica >>>>> Chopinlaan 27 >>>>> 5242HM Rosmalen >>>>> Tel: 073 5226191 >>>>> Fax: 073 5226196 >>>>> >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> >>>>> Glasgow Caledonian University is a registered Scottish charity, >>>>> number SC021474 >>>>> >>>>> Winner: Times Higher Education's Widening Participation Initiative >>>>> of the Year 2009 and Herald Society's Education Initiative of the >>>>> Year 2009. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>>> e >>>>> ,6219,en.html >>>>> >>>>> >>>>> Winner: Times Higher Education's Outstanding Support for Early >>>>> Career Researchers of the Year 2010, GCU as a lead with >>>>> Universities Scotland partners. >>>>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/nam >>>>> e >>>>> ,15691,en.html >>>>> >>>>> >>>>> _______________________________________________ >>>>> Xerte-dev mailing list >>>>> Xerte-dev at lists.nottingham.ac.uk >>>>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>>>> This message and any attachment are intended solely for the >>>>> addressee and may contain confidential information. If you have >>>>> received this message in error, please send it back to me, and immediately delete >>>>> it. Please do not use, copy or disclose the information contained >>>>> in this message or in any attachment. Any views or opinions >>>>> expressed by the author of this email do not necessarily reflect >>>>> the views of the University of Nottingham. >>>>> >>>>> This message has been checked for viruses but the contents of an >>>>> attachment may still contain software viruses which could damage >>>>> your computer >>>>> system: >>>>> you are advised to perform your own checks. Email communications >>>>> with the University of Nottingham may be monitored as permitted by >>>>> UK legislation. >>>>> >>> -- >>> -- >>> >>> Tom Reijnders >>> TOR Informatica >>> Chopinlaan 27 >>> 5242HM Rosmalen >>> Tel: 073 5226191 >>> Fax: 073 5226196 >>> >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >>> >>> This message has been checked for viruses but the contents of an >>> attachment may still contain software viruses which could damage your computer system: >>> you are advised to perform your own checks. Email communications with >>> the University of Nottingham may be monitored as permitted by UK legislation. >>> >>> Glasgow Caledonian University is a registered Scottish charity, >>> number >>> SC021474 >>> >>> Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>> 6 >>> 219,en.html >>> >>> Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. >>> http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name, >>> 1 >>> 5691,en.html >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> >>> _______________________________________________ >>> Xerte-dev mailing list >>> Xerte-dev at lists.nottingham.ac.uk >>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >>> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >>> >>> This message has been checked for viruses but the contents of an >>> attachment may still contain software viruses which could damage your computer system: >>> you are advised to perform your own checks. Email communications with >>> the University of Nottingham may be monitored as permitted by UK legislation. >>> >> -- >> -- >> >> Tom Reijnders >> TOR Informatica >> Chopinlaan 27 >> 5242HM Rosmalen >> Tel: 073 5226191 >> Fax: 073 5226196 >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev >> This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. >> >> This message has been checked for viruses but the contents of an >> attachment may still contain software viruses which could damage your computer system: >> you are advised to perform your own checks. Email communications with >> the University of Nottingham may be monitored as permitted by UK legislation. > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the > University of Nottingham may be monitored as permitted by UK legislation. -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From thomas.rochford at jiscadvance.ac.uk Mon May 13 21:45:13 2013 From: thomas.rochford at jiscadvance.ac.uk (Thomas Rochford) Date: Mon, 13 May 2013 21:45:13 +0100 Subject: [Xerte-dev] IE 10 and Xerte Session Cookies (workaround) Message-ID: <152d01ce501a$c55d7050$501850f0$@jiscadvance.ac.uk> Hi, I've been having a lot of difficulty getting my internet website to work correctly with XoT 2.0 when using IE 10, although it works fine with Chrome and works fine when running the same version from 'localhost' using a MAXOS stick (i.e. xampp on a USB stick). When running it from my web server I get an error when I try to edit an LO saying 'Session ID not set'. I do not get the same error when using Firefox or Chrome and obviously not with the MAXOS version as this has no authentication and therefore does not try to set a session cookie. It seems that telling IE 10 to allow cookies from a particular site may not be enough you also have to turn off 'protected' mode. An alternative method is to add the site to your 'trusted' zones. For those who prefer an illustration of the problem (and the solution) please view the attached image which shows five sessions with the same Learning Object. These are numbered 1-5 as below 1) (localhost) no problems (because no authentication and/or trusted?) 2) (tcrochford) error message because 'protected mode' enabled and site is in 'internet'/'untrusted' zone) 3) Firefox - no problems 4) Chrome - no problems 5) (tcrochford) disabled protected mode - no problems. Would also have worked if I made my site 'trusted' I have documented this in case it causes problems in another context. I no longer have easy access to an earlier version of IE although I recently saw the problem on a University laptop at ARU when attempting to demo the new version to a colleague. I can confirm however that the problem is the same with W7; it's not specific to W8. Maybe we should consider giving a different error message in future versions (e.g. 'Unable to write Session Cookie - please adjust your browser settings to allow this') if there is a problem writing the cookie and reserve the current message for server-based errors. Kindest Regards, Thomas ========================================================== Thomas Rochford | e-Learning Advisor | Jisc RSC Eastern Tel: 01223 564749 | Mobile: 07500 669002 | Skype: cambridge.serendipity Email: thomas.rochford at jiscadvance.ac.uk | Web: http://www.jiscrsc.ac.uk/eastern Cambridge Serendipity, 35 Gough Way, Cambridge, CB3 9LN For the full range of RSC UK events, resources and blog, visit http://www.jiscrsc.ac.uk -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Clipboard02.gif Type: image/gif Size: 143977 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Mon May 13 22:18:49 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 13 May 2013 22:18:49 +0100 Subject: [Xerte-dev] Re: Messages and Order, time and stuff In-Reply-To: <51910FAB.4020902@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C51A49942@EXCHANGE1.ad.nottingham.ac.uk> , <51910FAB.4020902@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51180B42@EXCHANGE1.ad.nottingham.ac.uk> Good. A round of drinks for Dave Osborne then! ________________________________________ From: xerte-dev-bounces at lists.nottingham.ac.uk [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders [reijnders at tor.nl] Sent: 13 May 2013 17:07 To: For Xerte technical developers Subject: [Xerte-dev] Re: Messages and Order, time and stuff Yes definitely better today than it was before.... Op 13-5-2013 17:44, Smith, John schreef: > It's definitely more responsive at my side... > > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Monday, May 13, 2013 4:36 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Messages and Order, time and stuff > > I noticed my systems colleague had a change request the other day to do with mailman. Have you guys noticed the mailman traffic working as it should now? > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Tue May 14 10:15:23 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 14 May 2013 10:15:23 +0100 Subject: [Xerte-dev] Wizard and Browse Thing Again Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A49A90@EXCHANGE1.ad.nottingham.ac.uk> Don't panic, it still works, but with repeated edits / previews, the margin down the side of the page is growing... [cid:image001.png at 01CE508B.F284D1B0] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 114511 bytes Desc: image001.png URL: From J.J.Smith at gcu.ac.uk Tue May 14 10:30:07 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Tue, 14 May 2013 10:30:07 +0100 Subject: [Xerte-dev] Re: Wizard and Browse Thing Again Message-ID: Hmm... We added 2 and subtracted 2 for the fix but then Tom shuffled the code. Perhaps it isn't working from within the tracking functions.... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Julian Tenney wrote: Don?t panic, it still works, but with repeated edits / previews, the margin down the side of the page is growing? [cid:image001.png at 01CE508B.F284D1B0] Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 114511 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 114511 bytes Desc: image001.png URL: From Julian.Tenney at nottingham.ac.uk Tue May 14 10:33:35 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 14 May 2013 10:33:35 +0100 Subject: [Xerte-dev] Re: Wizard and Browse Thing Again In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A49AC1@EXCHANGE1.ad.nottingham.ac.uk> I fixed it. +=3 -=2 Was making it grow. I moved the + bit to the terminate function, as in the other file. This doesn't need to be in play, only preview, so in the bootstrap one I did it directly on the body onunload event of preview.php -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 May 2013 10:30 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Wizard and Browse Thing Again Hmm... We added 2 and subtracted 2 for the fix but then Tom shuffled the code. Perhaps it isn't working from within the tracking functions.... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Julian Tenney wrote: Don't panic, it still works, but with repeated edits / previews, the margin down the side of the page is growing... [cid:image001.png at 01CE508B.F284D1B0] Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From J.J.Smith at gcu.ac.uk Tue May 14 11:05:52 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Tue, 14 May 2013 11:05:52 +0100 Subject: [Xerte-dev] Re: Wizard and Browse Thing Again Message-ID: Ah... Must've been a typo. Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Julian Tenney wrote: I fixed it. +=3 -=2 Was making it grow. I moved the + bit to the terminate function, as in the other file. This doesn't need to be in play, only preview, so in the bootstrap one I did it directly on the body onunload event of preview.php -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 14 May 2013 10:30 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Wizard and Browse Thing Again Hmm... We added 2 and subtracted 2 for the fix but then Tom shuffled the code. Perhaps it isn't working from within the tracking functions.... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII Julian Tenney wrote: Don't panic, it still works, but with repeated edits / previews, the margin down the side of the page is growing... [cid:image001.png at 01CE508B.F284D1B0] Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From ronm at mitchellmedia.co.uk Tue May 14 19:55:56 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Tue, 14 May 2013 19:55:56 +0100 Subject: [Xerte-dev] enquiry about LDAP error and mailing list email change from Vicky Greaves... Message-ID: <004c01ce50d4$ab61b840$022528c0$@co.uk> Forwarded on behalf of Vicky Greaves along with my direct responses. Read from 1st message up. Is anyone able to sort the list email issue? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 13 May 2013 19:22 To: 'Vicky Greaves' Subject: RE: Ron - I was on your 1st May Xerte 2.0 course... Hi Vicky I'll forward your request for email change to someone at Nottingham. I think they normally expect users to do this themselves but I can see why that wouldn't work for you at the moment. In the meantime I would respond as follows: 1. Does your colleague have direct access to the database and if so I would suggest checking the LDAP table directly to see if the values are being saved/stored. 2. Does the install work ok apart from this e.g. if you switch to guest or static authentication? 3. Near the top of config.php set development to true e.g. $development = true; Does that show any more useful error messages? 4. Is this a local install or an install meant for organisation wide use? XAMPP really isn't the right solution for a production server - ideally Apache, PHP and MySQL should be installed separately. Sorry I can't offer to provide further direct support on this even though it might be me who responds on the mailing list anyway. I'll post your original question to the list but you mention xerte-dev and xerteforteachers neither of which are the correct location for this - are you also a member of http://lists.nottingham.ac.uk/mailman/listinfo/xerte because that's where the question should be posted? HTH Ron From: Vicky Greaves [mailto:Vicky.Greaves at scope.org.uk] Sent: 13 May 2013 13:11 To: 'ronm at mitchellmedia.co.uk' Subject: Ron - I was on your 1st May Xerte 2.0 course... Hi Ron Apologies for contacting you directly. I was on your first xerte 2.0 course in London on 1st May. I mentioned we'd been having problems with the Xerte2 installation - we still are. I tried mailing the issue to the Xerte-dev list (see below) but our institution has just swapped all our email addresses so I'm no longer recognised on the Xerte lists database. I have contacted 'xerte-owner at lists.nottingham.ac.uk' re this last week but not had a response as yet. Could you possibly do me a favour and pass on our technical question (below), or forward my email address change request (below that) to the appropriate person?? I'm being a bit held up.. Apologies yet again, and very many thanks Vicky Greaves e-Learning Technologist From: Vicky Greaves Sent: 09 May 2013 11:59 To: xerte-dev at lists.nottingham.ac.uk Subject: Xerte 2.0 installation problem Please can you offer any suggestions re. the issue my networks colleague is having with LDAP in our new installation. I am experiencing the following error message whilst trying to use the LDAP function in XOT. The error message is: "LDAP servers not configured in DB" The Xampp install has had the LDAP feature enabled and the correct values have been entered into the Site Administration location. Any ideas? We are running the latest version of both Xampp and XOT Thanks very much Vicky Greaves e-Learning Technologist From: Vicky Greaves Sent: 09 May 2013 14:13 To: 'xerte-owner at lists.nottingham.ac.uk' Subject: email change Please can you help. My institution is in the process of changing everybody's email address. I am currently registered on some of the Xerte mailing lists (xerte-dev and XERTEFORTEACHERS) with the following address: greavesv at beaumontcollege.org The above email address is still active and I receive these emails, but when I send emails, they go out from this address: Vicky.Greaves at SCOPE.ORG.UK Is there any way I can change my email address on the XERTE database? Many thanks Vicky Greaves Learning Technologist _____ Beaumont College is part of Scope Scope is a registered charity (number 208231) and a company limited by guarantee (number 520866). Our registered office is at 6 Market Road, London N7 9PW, England. Our VAT number is 805156939. Visit our website at http://www.beaumontcollege.ac.uk and via Scope at http://www.scope.org.uk/services/beaumont-college This message, and any file(s) transmitted with it are confidential and are intended only for the person(s) to whom they have been addressed by the sender. This message may contain confidential and/or privileged material. If you are not the intended recipient of this message, or if you believe it was transmitted to you in error, you are required to delete the message and any copies of it, and to notify the sender immediately. Any unauthorised disclosure, copying, distribution, or printing of this message or accompanying files, or unauthorised use of any information contained therein, by anyone other than the intended recipient(s) is prohibited and may be unlawful. Any views expressed in this message or in any file(s) transmitted with it are those of the author, and may not necessarily represent the views of Beaumont College or Scope -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Tue May 14 20:12:54 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Tue, 14 May 2013 20:12:54 +0100 Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... In-Reply-To: <004c01ce50d4$ab61b840$022528c0$@co.uk> References: <004c01ce50d4$ab61b840$022528c0$@co.uk> Message-ID: 1) don't put xampp on a server unless its protected and you follow the xampp security guidance 2) if you search the code for that error where does it appear? On 14 May 2013, at 19:55, "Ron Mitchell" wrote: > Forwarded on behalf of Vicky Greaves along with my direct responses. Read from 1st message up. > Is anyone able to sort the list email issue? > > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 13 May 2013 19:22 > To: 'Vicky Greaves' > Subject: RE: Ron - I was on your 1st May Xerte 2.0 course... > > Hi Vicky > I'll forward your request for email change to someone at Nottingham. I think they normally expect users to do this themselves but I can see why that wouldn't work for you at the moment. > > In the meantime I would respond as follows: > > 1. Does your colleague have direct access to the database and if so I would suggest checking the LDAP table directly to see if the values are being saved/stored. > > 2. Does the install work ok apart from this e.g. if you switch to guest or static authentication? > > 3. Near the top of config.php set development to true e.g. $development = true; Does that show any more useful error messages? > > 4. Is this a local install or an install meant for organisation wide use? XAMPP really isn't the right solution for a production server - ideally Apache, PHP and MySQL should be installed separately. > > Sorry I can't offer to provide further direct support on this even though it might be me who responds on the mailing list anyway. I'll post your original question to the list but you mention xerte-dev and xerteforteachers neither of which are the correct location for this - are you also a member of http://lists.nottingham.ac.uk/mailman/listinfo/xerte because that's where the question should be posted? > > HTH > Ron > > > From: Vicky Greaves [mailto:Vicky.Greaves at scope.org.uk] > Sent: 13 May 2013 13:11 > To: 'ronm at mitchellmedia.co.uk' > Subject: Ron - I was on your 1st May Xerte 2.0 course... > > Hi Ron > > Apologies for contacting you directly? > I was on your first xerte 2.0 course in London on 1st May. I mentioned we?d been having problems with the Xerte2 installation - we still are. > I tried mailing the issue to the Xerte-dev list (see below) but our institution has just swapped all our email addresses so I?m no longer recognised on the Xerte lists database. I have contacted 'xerte-owner at lists.nottingham.ac.uk' re this last week but not had a response as yet. > Could you possibly do me a favour and pass on our technical question (below), or forward my email address change request (below that) to the appropriate person?? I?m being a bit held up.. > > Apologies yet again, and very many thanks > > Vicky Greaves > > e-Learning Technologist > > From: Vicky Greaves > Sent: 09 May 2013 11:59 > To: xerte-dev at lists.nottingham.ac.uk > Subject: Xerte 2.0 installation problem > > Please can you offer any suggestions re. the issue my networks colleague is having with LDAP in our new installation? > > > I am experiencing the following error message whilst trying to use the LDAP function in XOT. The error message is: > ?LDAP servers not configured in DB? > > The Xampp install has had the LDAP feature enabled and the correct values have been entered into the Site Administration location. > Any ideas? > > We are running the latest version of both Xampp and XOT > > > Thanks very much > Vicky Greaves > > e-Learning Technologist > > > From: Vicky Greaves > Sent: 09 May 2013 14:13 > To: 'xerte-owner at lists.nottingham.ac.uk' > Subject: email change > > Please can you help. > > My institution is in the process of changing everybody?s email address. I am currently registered on some of the Xerte mailing lists (xerte-dev and XERTEFORTEACHERS) with the following address: > > greavesv at beaumontcollege.org > > The above email address is still active and I receive these emails, but when I send emails, they go out from this address: > > Vicky.Greaves at SCOPE.ORG.UK > > Is there any way I can change my email address on the XERTE database? > > Many thanks > Vicky Greaves > > Learning Technologist > > > > Beaumont College is part of Scope > > Scope is a registered charity (number 208231) and a company limited by > guarantee (number 520866). > Our registered office is at 6 Market Road, London N7 9PW, England. > Our VAT number is 805156939. > > Visit our website at http://www.beaumontcollege.ac.uk > > and via Scope at http://www.scope.org.uk/services/beaumont-college > > This message, and any file(s) transmitted with it are confidential > and are intended only for the person(s) to whom they have been > addressed by the sender. This message may contain confidential and/or > privileged material. If you are not the intended recipient of this > message, or if you believe it was transmitted to you in error, you are > required to delete the message and any copies of it, and to notify the > sender immediately. Any unauthorised disclosure, copying, distribution, > or printing of this message or accompanying files, or unauthorised use > of any information contained therein, by anyone other than the > intended recipient(s) is prohibited and may be unlawful. > > Any views expressed in this message or in any file(s) transmitted with > it are those of the author, and may not necessarily represent the > views of Beaumont College or Scope > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Wed May 15 00:01:00 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 15 May 2013 00:01:00 +0100 Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... In-Reply-To: References: <004c01ce50d4$ab61b840$022528c0$@co.uk> Message-ID: <007401ce50f6$e776e9f0$b664bdd0$@co.uk> 1. I already said that in my reply ;-) 2. That line is only in one place: $ldap_config = db_query("SELECT * FROM {$xerte_toolkits_site->database_table_prefix}ldap"); if(empty($ldap_config)) { $this->addError("LDAP servers not configured in DB"); return false; } I already suggested they check the ldap table directly so I guess Vicky has relayed that. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 14 May 2013 20:13 To: For Xerte technical developers Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... 1) don't put xampp on a server unless its protected and you follow the xampp security guidance 2) if you search the code for that error where does it appear? On 14 May 2013, at 19:55, "Ron Mitchell" wrote: Forwarded on behalf of Vicky Greaves along with my direct responses. Read from 1st message up. Is anyone able to sort the list email issue? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 13 May 2013 19:22 To: 'Vicky Greaves' Subject: RE: Ron - I was on your 1st May Xerte 2.0 course... Hi Vicky I'll forward your request for email change to someone at Nottingham. I think they normally expect users to do this themselves but I can see why that wouldn't work for you at the moment. In the meantime I would respond as follows: 1. Does your colleague have direct access to the database and if so I would suggest checking the LDAP table directly to see if the values are being saved/stored. 2. Does the install work ok apart from this e.g. if you switch to guest or static authentication? 3. Near the top of config.php set development to true e.g. $development = true; Does that show any more useful error messages? 4. Is this a local install or an install meant for organisation wide use? XAMPP really isn't the right solution for a production server - ideally Apache, PHP and MySQL should be installed separately. Sorry I can't offer to provide further direct support on this even though it might be me who responds on the mailing list anyway. I'll post your original question to the list but you mention xerte-dev and xerteforteachers neither of which are the correct location for this - are you also a member of http://lists.nottingham.ac.uk/mailman/listinfo/xerte because that's where the question should be posted? HTH Ron From: Vicky Greaves [mailto:Vicky.Greaves at scope.org.uk] Sent: 13 May 2013 13:11 To: 'ronm at mitchellmedia.co.uk' Subject: Ron - I was on your 1st May Xerte 2.0 course... Hi Ron Apologies for contacting you directly? I was on your first xerte 2.0 course in London on 1st May. I mentioned we?d been having problems with the Xerte2 installation - we still are. I tried mailing the issue to the Xerte-dev list (see below) but our institution has just swapped all our email addresses so I?m no longer recognised on the Xerte lists database. I have contacted 'xerte-owner at lists.nottingham.ac.uk' re this last week but not had a response as yet. Could you possibly do me a favour and pass on our technical question (below), or forward my email address change request (below that) to the appropriate person?? I?m being a bit held up.. Apologies yet again, and very many thanks Vicky Greaves e-Learning Technologist From: Vicky Greaves Sent: 09 May 2013 11:59 To: xerte-dev at lists.nottingham.ac.uk Subject: Xerte 2.0 installation problem Please can you offer any suggestions re. the issue my networks colleague is having with LDAP in our new installation? I am experiencing the following error message whilst trying to use the LDAP function in XOT. The error message is: ?LDAP servers not configured in DB? The Xampp install has had the LDAP feature enabled and the correct values have been entered into the Site Administration location. Any ideas? We are running the latest version of both Xampp and XOT Thanks very much Vicky Greaves e-Learning Technologist From: Vicky Greaves Sent: 09 May 2013 14:13 To: 'xerte-owner at lists.nottingham.ac.uk' Subject: email change Please can you help. My institution is in the process of changing everybody?s email address. I am currently registered on some of the Xerte mailing lists (xerte-dev and XERTEFORTEACHERS) with the following address: greavesv at beaumontcollege.org The above email address is still active and I receive these emails, but when I send emails, they go out from this address: Vicky.Greaves at SCOPE.ORG.UK Is there any way I can change my email address on the XERTE database? Many thanks Vicky Greaves Learning Technologist _____ Beaumont College is part of Scope Scope is a registered charity (number 208231) and a company limited by guarantee (number 520866). Our registered office is at 6 Market Road, London N7 9PW, England. Our VAT number is 805156939. Visit our website at http://www.beaumontcollege.ac.uk and via Scope at http://www.scope.org.uk/services/beaumont-college This message, and any file(s) transmitted with it are confidential and are intended only for the person(s) to whom they have been addressed by the sender. This message may contain confidential and/or privileged material. If you are not the intended recipient of this message, or if you believe it was transmitted to you in error, you are required to delete the message and any copies of it, and to notify the sender immediately. Any unauthorised disclosure, copying, distribution, or printing of this message or accompanying files, or unauthorised use of any information contained therein, by anyone other than the intended recipient(s) is prohibited and may be unlawful. Any views expressed in this message or in any file(s) transmitted with it are those of the author, and may not necessarily represent the views of Beaumont College or Scope _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Wed May 15 00:11:37 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 15 May 2013 00:11:37 +0100 Subject: [Xerte-dev] Problem with IE10 and properties panel that didn't exist before Message-ID: <007f01ce50f8$63758240$2a6086c0$@co.uk> Hi all sorry not had time to participate much recently but in anticipation of Alistair's further exploration of the Aria developments I just updated the Techdis /xot install and there's a problem with the properties panel when using IE10 that didn't exist before the update and doesn't exist with Chrome, FF or Safari. Basicallt half the tabs are missing so for instance no export tab or options: Not sure if it's specific to IE10 will try to test that tomorrow. HTH Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19454 bytes Desc: not available URL: From ronm at mitchellmedia.co.uk Wed May 15 09:16:10 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 15 May 2013 09:16:10 +0100 Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before In-Reply-To: <007f01ce50f8$63758240$2a6086c0$@co.uk> References: <007f01ce50f8$63758240$2a6086c0$@co.uk> Message-ID: <009d01ce5144$763ae400$62b0ac00$@co.uk> Hi again I tested this with IE9 this morning on a different machine and with IE9 it's fine. So questions in my mind: 1. Is it just a problem with my IE10 on Windows 7 laptop on does it happen for you too with IE10? 2. Is it just the Techdis /xot installation? It was fine before this update but I'll test a local xampp install too and feed back once I have. You all have access to that install to test. 3. If it's not just my laptop and/or the /xot install what's the cause/solution? Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 00:12 To: 'For Xerte technical developers' Subject: [Xerte-dev] Problem with IE10 and properties panel that didn't exist before Hi all sorry not had time to participate much recently but in anticipation of Alistair's further exploration of the Aria developments I just updated the Techdis /xot install and there's a problem with the properties panel when using IE10 that didn't exist before the update and doesn't exist with Chrome, FF or Safari. Basicallt half the tabs are missing so for instance no export tab or options: Not sure if it's specific to IE10 will try to test that tomorrow. HTH Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19454 bytes Desc: not available URL: From ronm at mitchellmedia.co.uk Wed May 15 09:26:17 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 15 May 2013 09:26:17 +0100 Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before In-Reply-To: <007f01ce50f8$63758240$2a6086c0$@co.uk> References: <007f01ce50f8$63758240$2a6086c0$@co.uk> Message-ID: <00a901ce5145$dff71bb0$9fe55310$@co.uk> ok talking to myself here but just tested via an updated xampp install and same problem with that with IE10. :-( Can anyone else replicate? Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 00:12 To: 'For Xerte technical developers' Subject: [Xerte-dev] Problem with IE10 and properties panel that didn't exist before Hi all sorry not had time to participate much recently but in anticipation of Alistair's further exploration of the Aria developments I just updated the Techdis /xot install and there's a problem with the properties panel when using IE10 that didn't exist before the update and doesn't exist with Chrome, FF or Safari. Basicallt half the tabs are missing so for instance no export tab or options: Not sure if it's specific to IE10 will try to test that tomorrow. HTH Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19454 bytes Desc: not available URL: From xerte at pgogywebstuff.com Wed May 15 09:14:48 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Wed, 15 May 2013 09:14:48 +0100 Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... In-Reply-To: <007401ce50f6$e776e9f0$b664bdd0$@co.uk> References: <004c01ce50d4$ab61b840$022528c0$@co.uk> <007401ce50f6$e776e9f0$b664bdd0$@co.uk> Message-ID: <6AA9DB3C-6683-4B00-89EE-4913A76C82D2@pgogywebstuff.com> Well I would have read all the email but it lacked plot twists If they are using one ldap then truncating all the ldap table might be a good first step On 15 May 2013, at 00:01, "Ron Mitchell" wrote: > 1. I already said that in my reply ;-) > > 2. That line is only in one place: > $ldap_config = db_query("SELECT * FROM {$xerte_toolkits_site->database_table_prefix}ldap"); > if(empty($ldap_config)) { > $this->addError("LDAP servers not configured in DB"); > return false; > } > > I already suggested they check the ldap table directly so I guess Vicky has relayed that. > > Cheers > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 14 May 2013 20:13 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... > > 1) don't put xampp on a server unless its protected and you follow the xampp security guidance > > 2) if you search the code for that error where does it appear? > > On 14 May 2013, at 19:55, "Ron Mitchell" wrote: > > Forwarded on behalf of Vicky Greaves along with my direct responses. Read from 1st message up. > Is anyone able to sort the list email issue? > > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 13 May 2013 19:22 > To: 'Vicky Greaves' > Subject: RE: Ron - I was on your 1st May Xerte 2.0 course... > > Hi Vicky > I'll forward your request for email change to someone at Nottingham. I think they normally expect users to do this themselves but I can see why that wouldn't work for you at the moment. > > In the meantime I would respond as follows: > > 1. Does your colleague have direct access to the database and if so I would suggest checking the LDAP table directly to see if the values are being saved/stored. > > 2. Does the install work ok apart from this e.g. if you switch to guest or static authentication? > > 3. Near the top of config.php set development to true e.g. $development = true; Does that show any more useful error messages? > > 4. Is this a local install or an install meant for organisation wide use? XAMPP really isn't the right solution for a production server - ideally Apache, PHP and MySQL should be installed separately. > > Sorry I can't offer to provide further direct support on this even though it might be me who responds on the mailing list anyway. I'll post your original question to the list but you mention xerte-dev and xerteforteachers neither of which are the correct location for this - are you also a member of http://lists.nottingham.ac.uk/mailman/listinfo/xerte because that's where the question should be posted? > > HTH > Ron > > > From: Vicky Greaves [mailto:Vicky.Greaves at scope.org.uk] > Sent: 13 May 2013 13:11 > To: 'ronm at mitchellmedia.co.uk' > Subject: Ron - I was on your 1st May Xerte 2.0 course... > > Hi Ron > > Apologies for contacting you directly? > I was on your first xerte 2.0 course in London on 1st May. I mentioned we?d been having problems with the Xerte2 installation - we still are. > I tried mailing the issue to the Xerte-dev list (see below) but our institution has just swapped all our email addresses so I?m no longer recognised on the Xerte lists database. I have contacted 'xerte-owner at lists.nottingham.ac.uk' re this last week but not had a response as yet. > Could you possibly do me a favour and pass on our technical question (below), or forward my email address change request (below that) to the appropriate person?? I?m being a bit held up.. > > Apologies yet again, and very many thanks > > Vicky Greaves > > e-Learning Technologist > > From: Vicky Greaves > Sent: 09 May 2013 11:59 > To: xerte-dev at lists.nottingham.ac.uk > Subject: Xerte 2.0 installation problem > > Please can you offer any suggestions re. the issue my networks colleague is having with LDAP in our new installation? > > > I am experiencing the following error message whilst trying to use the LDAP function in XOT. The error message is: > ?LDAP servers not configured in DB? > > The Xampp install has had the LDAP feature enabled and the correct values have been entered into the Site Administration location. > Any ideas? > > We are running the latest version of both Xampp and XOT > > > Thanks very much > Vicky Greaves > > e-Learning Technologist > > > From: Vicky Greaves > Sent: 09 May 2013 14:13 > To: 'xerte-owner at lists.nottingham.ac.uk' > Subject: email change > > Please can you help. > > My institution is in the process of changing everybody?s email address. I am currently registered on some of the Xerte mailing lists (xerte-dev and XERTEFORTEACHERS) with the following address: > > greavesv at beaumontcollege.org > > The above email address is still active and I receive these emails, but when I send emails, they go out from this address: > > Vicky.Greaves at SCOPE.ORG.UK > > Is there any way I can change my email address on the XERTE database? > > Many thanks > Vicky Greaves > > Learning Technologist > > > > Beaumont College is part of Scope > > Scope is a registered charity (number 208231) and a company limited by > guarantee (number 520866). > Our registered office is at 6 Market Road, London N7 9PW, England. > Our VAT number is 805156939. > > Visit our website at http://www.beaumontcollege.ac.uk > > and via Scope at http://www.scope.org.uk/services/beaumont-college > > This message, and any file(s) transmitted with it are confidential > and are intended only for the person(s) to whom they have been > addressed by the sender. This message may contain confidential and/or > privileged material. If you are not the intended recipient of this > message, or if you believe it was transmitted to you in error, you are > required to delete the message and any copies of it, and to notify the > sender immediately. Any unauthorised disclosure, copying, distribution, > or printing of this message or accompanying files, or unauthorised use > of any information contained therein, by anyone other than the > intended recipient(s) is prohibited and may be unlawful. > > Any views expressed in this message or in any file(s) transmitted with > it are those of the author, and may not necessarily represent the > views of Beaumont College or Scope > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Wed May 15 10:10:17 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 15 May 2013 10:10:17 +0100 Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before In-Reply-To: <00a901ce5145$dff71bb0$9fe55310$@co.uk> References: <007f01ce50f8$63758240$2a6086c0$@co.uk> <00a901ce5145$dff71bb0$9fe55310$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A49F95@EXCHANGE1.ad.nottingham.ac.uk> No, it works here on my xampp, which I installed, maybe, Friday? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 09:26 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before ok talking to myself here but just tested via an updated xampp install and same problem with that with IE10. :-( Can anyone else replicate? Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 00:12 To: 'For Xerte technical developers' Subject: [Xerte-dev] Problem with IE10 and properties panel that didn't exist before Hi all sorry not had time to participate much recently but in anticipation of Alistair's further exploration of the Aria developments I just updated the Techdis /xot install and there's a problem with the properties panel when using IE10 that didn't exist before the update and doesn't exist with Chrome, FF or Safari. Basicallt half the tabs are missing so for instance no export tab or options: [cid:image001.jpg at 01CE5154.66261E80] Not sure if it's specific to IE10 will try to test that tomorrow. HTH Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19454 bytes Desc: image001.jpg URL: From ronm at mitchellmedia.co.uk Wed May 15 10:18:48 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 15 May 2013 10:18:48 +0100 Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A49F95@EXCHANGE1.ad.nottingham.ac.uk> References: <007f01ce50f8$63758240$2a6086c0$@co.uk> <00a901ce5145$dff71bb0$9fe55310$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49F95@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <00d401ce514d$3591ead0$a0b5c070$@co.uk> It may not be relevant but mine is rev 899 are you able to try that? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before No, it works here on my xampp, which I installed, maybe, Friday? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 09:26 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before ok talking to myself here but just tested via an updated xampp install and same problem with that with IE10. :-( Can anyone else replicate? Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 00:12 To: 'For Xerte technical developers' Subject: [Xerte-dev] Problem with IE10 and properties panel that didn't exist before Hi all sorry not had time to participate much recently but in anticipation of Alistair's further exploration of the Aria developments I just updated the Techdis /xot install and there's a problem with the properties panel when using IE10 that didn't exist before the update and doesn't exist with Chrome, FF or Safari. Basicallt half the tabs are missing so for instance no export tab or options: Not sure if it's specific to IE10 will try to test that tomorrow. HTH Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19454 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Wed May 15 10:25:46 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 15 May 2013 10:25:46 +0100 Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before In-Reply-To: <00d401ce514d$3591ead0$a0b5c070$@co.uk> References: <007f01ce50f8$63758240$2a6086c0$@co.uk> <00a901ce5145$dff71bb0$9fe55310$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49F95@EXCHANGE1.ad.nottingham.ac.uk> <00d401ce514d$3591ead0$a0b5c070$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A49FBD@EXCHANGE1.ad.nottingham.ac.uk> Just rebuilt the xampp - it's fine. Win 7 64bit IE 10.0.9200.16540 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 10:19 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before It may not be relevant but mine is rev 899 are you able to try that? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before No, it works here on my xampp, which I installed, maybe, Friday? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 09:26 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before ok talking to myself here but just tested via an updated xampp install and same problem with that with IE10. :-( Can anyone else replicate? Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 00:12 To: 'For Xerte technical developers' Subject: [Xerte-dev] Problem with IE10 and properties panel that didn't exist before Hi all sorry not had time to participate much recently but in anticipation of Alistair's further exploration of the Aria developments I just updated the Techdis /xot install and there's a problem with the properties panel when using IE10 that didn't exist before the update and doesn't exist with Chrome, FF or Safari. Basicallt half the tabs are missing so for instance no export tab or options: [cid:image001.jpg at 01CE5156.8FB69CF0] Not sure if it's specific to IE10 will try to test that tomorrow. HTH Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19454 bytes Desc: image001.jpg URL: From Julian.Tenney at nottingham.ac.uk Wed May 15 10:31:12 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 15 May 2013 10:31:12 +0100 Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... In-Reply-To: <004c01ce50d4$ab61b840$022528c0$@co.uk> References: <004c01ce50d4$ab61b840$022528c0$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A49FCC@EXCHANGE1.ad.nottingham.ac.uk> > Is anyone able to sort the list email issue? Re-subscribe on the new email address. Thanks, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 14 May 2013 19:56 To: 'For Xerte technical developers' Subject: [Xerte-dev] enquiry about LDAP error and mailing list email change from Vicky Greaves... Forwarded on behalf of Vicky Greaves along with my direct responses. Read from 1st message up. From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 13 May 2013 19:22 To: 'Vicky Greaves' Subject: RE: Ron - I was on your 1st May Xerte 2.0 course... Hi Vicky I'll forward your request for email change to someone at Nottingham. I think they normally expect users to do this themselves but I can see why that wouldn't work for you at the moment. In the meantime I would respond as follows: 1. Does your colleague have direct access to the database and if so I would suggest checking the LDAP table directly to see if the values are being saved/stored. 2. Does the install work ok apart from this e.g. if you switch to guest or static authentication? 3. Near the top of config.php set development to true e.g. $development = true; Does that show any more useful error messages? 4. Is this a local install or an install meant for organisation wide use? XAMPP really isn't the right solution for a production server - ideally Apache, PHP and MySQL should be installed separately. Sorry I can't offer to provide further direct support on this even though it might be me who responds on the mailing list anyway. I'll post your original question to the list but you mention xerte-dev and xerteforteachers neither of which are the correct location for this - are you also a member of http://lists.nottingham.ac.uk/mailman/listinfo/xerte because that's where the question should be posted? HTH Ron From: Vicky Greaves [mailto:Vicky.Greaves at scope.org.uk] Sent: 13 May 2013 13:11 To: 'ronm at mitchellmedia.co.uk' Subject: Ron - I was on your 1st May Xerte 2.0 course... Hi Ron Apologies for contacting you directly... I was on your first xerte 2.0 course in London on 1st May. I mentioned we'd been having problems with the Xerte2 installation - we still are. I tried mailing the issue to the Xerte-dev list (see below) but our institution has just swapped all our email addresses so I'm no longer recognised on the Xerte lists database. I have contacted 'xerte-owner at lists.nottingham.ac.uk' re this last week but not had a response as yet. Could you possibly do me a favour and pass on our technical question (below), or forward my email address change request (below that) to the appropriate person?? I'm being a bit held up.. Apologies yet again, and very many thanks Vicky Greaves e-Learning Technologist From: Vicky Greaves Sent: 09 May 2013 11:59 To: xerte-dev at lists.nottingham.ac.uk Subject: Xerte 2.0 installation problem Please can you offer any suggestions re. the issue my networks colleague is having with LDAP in our new installation... I am experiencing the following error message whilst trying to use the LDAP function in XOT. The error message is: "LDAP servers not configured in DB" The Xampp install has had the LDAP feature enabled and the correct values have been entered into the Site Administration location. Any ideas? We are running the latest version of both Xampp and XOT Thanks very much Vicky Greaves e-Learning Technologist From: Vicky Greaves Sent: 09 May 2013 14:13 To: 'xerte-owner at lists.nottingham.ac.uk' Subject: email change Please can you help. My institution is in the process of changing everybody's email address. I am currently registered on some of the Xerte mailing lists (xerte-dev and XERTEFORTEACHERS) with the following address: greavesv at beaumontcollege.org The above email address is still active and I receive these emails, but when I send emails, they go out from this address: Vicky.Greaves at SCOPE.ORG.UK Is there any way I can change my email address on the XERTE database? Many thanks Vicky Greaves Learning Technologist ________________________________ Beaumont College is part of Scope Scope is a registered charity (number 208231) and a company limited by guarantee (number 520866). Our registered office is at 6 Market Road, London N7 9PW, England. Our VAT number is 805156939. Visit our website at http://www.beaumontcollege.ac.uk and via Scope at http://www.scope.org.uk/services/beaumont-college This message, and any file(s) transmitted with it are confidential and are intended only for the person(s) to whom they have been addressed by the sender. This message may contain confidential and/or privileged material. If you are not the intended recipient of this message, or if you believe it was transmitted to you in error, you are required to delete the message and any copies of it, and to notify the sender immediately. Any unauthorised disclosure, copying, distribution, or printing of this message or accompanying files, or unauthorised use of any information contained therein, by anyone other than the intended recipient(s) is prohibited and may be unlawful. Any views expressed in this message or in any file(s) transmitted with it are those of the author, and may not necessarily represent the views of Beaumont College or Scope -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Wed May 15 10:44:46 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 15 May 2013 10:44:46 +0100 Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A49FBD@EXCHANGE1.ad.nottingham.ac.uk> References: <007f01ce50f8$63758240$2a6086c0$@co.uk> <00a901ce5145$dff71bb0$9fe55310$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49F95@EXCHANGE1.ad.nottingham.ac.uk> <00d401ce514d$3591ead0$a0b5c070$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49FBD@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <00f701ce5150$d6c48540$844d8fc0$@co.uk> Can you quickly test the /xot install? That would tell us if it's the install or my browser/config. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:26 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Just rebuilt the xampp - it's fine. Win 7 64bit IE 10.0.9200.16540 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 10:19 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before It may not be relevant but mine is rev 899 are you able to try that? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before No, it works here on my xampp, which I installed, maybe, Friday? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 09:26 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before ok talking to myself here but just tested via an updated xampp install and same problem with that with IE10. :-( Can anyone else replicate? Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 00:12 To: 'For Xerte technical developers' Subject: [Xerte-dev] Problem with IE10 and properties panel that didn't exist before Hi all sorry not had time to participate much recently but in anticipation of Alistair's further exploration of the Aria developments I just updated the Techdis /xot install and there's a problem with the properties panel when using IE10 that didn't exist before the update and doesn't exist with Chrome, FF or Safari. Basicallt half the tabs are missing so for instance no export tab or options: Not sure if it's specific to IE10 will try to test that tomorrow. HTH Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19454 bytes Desc: not available URL: From Julian.Tenney at nottingham.ac.uk Wed May 15 10:45:32 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 15 May 2013 10:45:32 +0100 Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before In-Reply-To: <00f701ce5150$d6c48540$844d8fc0$@co.uk> References: <007f01ce50f8$63758240$2a6086c0$@co.uk> <00a901ce5145$dff71bb0$9fe55310$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49F95@EXCHANGE1.ad.nottingham.ac.uk> <00d401ce514d$3591ead0$a0b5c070$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49FBD@EXCHANGE1.ad.nottingham.ac.uk> <00f701ce5150$d6c48540$844d8fc0$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A49FEB@EXCHANGE1.ad.nottingham.ac.uk> Whats the url? I don't have it handy From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 10:45 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Can you quickly test the /xot install? That would tell us if it's the install or my browser/config. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:26 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Just rebuilt the xampp - it's fine. Win 7 64bit IE 10.0.9200.16540 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 10:19 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before It may not be relevant but mine is rev 899 are you able to try that? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before No, it works here on my xampp, which I installed, maybe, Friday? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 09:26 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before ok talking to myself here but just tested via an updated xampp install and same problem with that with IE10. :-( Can anyone else replicate? Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 00:12 To: 'For Xerte technical developers' Subject: [Xerte-dev] Problem with IE10 and properties panel that didn't exist before Hi all sorry not had time to participate much recently but in anticipation of Alistair's further exploration of the Aria developments I just updated the Techdis /xot install and there's a problem with the properties panel when using IE10 that didn't exist before the update and doesn't exist with Chrome, FF or Safari. Basicallt half the tabs are missing so for instance no export tab or options: [cid:image001.jpg at 01CE5159.52DF2CE0] Not sure if it's specific to IE10 will try to test that tomorrow. HTH Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19454 bytes Desc: image001.jpg URL: From ronm at mitchellmedia.co.uk Wed May 15 11:01:47 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 15 May 2013 11:01:47 +0100 Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A49FEB@EXCHANGE1.ad.nottingham.ac.uk> References: <007f01ce50f8$63758240$2a6086c0$@co.uk> <00a901ce5145$dff71bb0$9fe55310$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49F95@EXCHANGE1.ad.nottingham.ac.uk> <00d401ce514d$3591ead0$a0b5c070$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49FBD@EXCHANGE1.ad.nottingham.ac.uk> <00f701ce5150$d6c48540$844d8fc0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49FEB@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <012201ce5153$43d96860$cb8c3920$@co.uk> Sent you credentials offlist. Have just been testing further and noticed that if I use the IE10 zoom out option it is all there just not positioned correctly: From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:46 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Whats the url? I don't have it handy From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 10:45 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Can you quickly test the /xot install? That would tell us if it's the install or my browser/config. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:26 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Just rebuilt the xampp - it's fine. Win 7 64bit IE 10.0.9200.16540 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 10:19 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before It may not be relevant but mine is rev 899 are you able to try that? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before No, it works here on my xampp, which I installed, maybe, Friday? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 09:26 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before ok talking to myself here but just tested via an updated xampp install and same problem with that with IE10. :-( Can anyone else replicate? Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 00:12 To: 'For Xerte technical developers' Subject: [Xerte-dev] Problem with IE10 and properties panel that didn't exist before Hi all sorry not had time to participate much recently but in anticipation of Alistair's further exploration of the Aria developments I just updated the Techdis /xot install and there's a problem with the properties panel when using IE10 that didn't exist before the update and doesn't exist with Chrome, FF or Safari. Basicallt half the tabs are missing so for instance no export tab or options: Not sure if it's specific to IE10 will try to test that tomorrow. HTH Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 11388 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 19454 bytes Desc: not available URL: From thomas.rochford at jiscadvance.ac.uk Wed May 15 11:03:55 2013 From: thomas.rochford at jiscadvance.ac.uk (Thomas Rochford) Date: Wed, 15 May 2013 11:03:55 +0100 Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A49FBD@EXCHANGE1.ad.nottingham.ac.uk> References: <007f01ce50f8$63758240$2a6086c0$@co.uk> <00a901ce5145$dff71bb0$9fe55310$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49F95@EXCHANGE1.ad.nottingham.ac.uk> <00d401ce514d$3591ead0$a0b5c070$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49FBD@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <004f01ce5153$8356ead0$8a04c070$@jiscadvance.ac.uk> Hi, I use xampp with the MAXOS sticks and am able to run IE10 on W7 and see all the properties as shown in the attached. I'm using rev 887 I did try earlier and clicked on the Folder rather than the LO, and that did show a reduced set of tabs. Hope this helps Kindest regards, Thomas From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:26 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Just rebuilt the xampp - it's fine. Win 7 64bit IE 10.0.9200.16540 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 10:19 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before It may not be relevant but mine is rev 899 are you able to try that? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before No, it works here on my xampp, which I installed, maybe, Friday? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 09:26 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before ok talking to myself here but just tested via an updated xampp install and same problem with that with IE10. :-( Can anyone else replicate? Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 00:12 To: 'For Xerte technical developers' Subject: [Xerte-dev] Problem with IE10 and properties panel that didn't exist before Hi all sorry not had time to participate much recently but in anticipation of Alistair's further exploration of the Aria developments I just updated the Techdis /xot install and there's a problem with the properties panel when using IE10 that didn't exist before the update and doesn't exist with Chrome, FF or Safari. Basicallt half the tabs are missing so for instance no export tab or options: Not sure if it's specific to IE10 will try to test that tomorrow. HTH Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19454 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: Clipboard02.gif Type: image/gif Size: 69758 bytes Desc: not available URL: From J.J.Smith at gcu.ac.uk Wed May 15 11:12:51 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 15 May 2013 11:12:51 +0100 Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before In-Reply-To: <012201ce5153$43d96860$cb8c3920$@co.uk> References: <007f01ce50f8$63758240$2a6086c0$@co.uk> <00a901ce5145$dff71bb0$9fe55310$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49F95@EXCHANGE1.ad.nottingham.ac.uk> <00d401ce514d$3591ead0$a0b5c070$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49FBD@EXCHANGE1.ad.nottingham.ac.uk> <00f701ce5150$d6c48540$844d8fc0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49FEB@EXCHANGE1.ad.nottingham.ac.uk> <012201ce5153$43d96860$cb8c3920$@co.uk> Message-ID: Just tested Techdis and it's working for me also on IE10.0.9200 [cid:image001.png at 01CE515D.24052B50] Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Wednesday, May 15, 2013 11:02 AM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Sent you credentials offlist. Have just been testing further and noticed that if I use the IE10 zoom out option it is all there just not positioned correctly: [cid:image002.jpg at 01CE515D.24052B50] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:46 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Whats the url? I don't have it handy From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 10:45 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Can you quickly test the /xot install? That would tell us if it's the install or my browser/config. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:26 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Just rebuilt the xampp - it's fine. Win 7 64bit IE 10.0.9200.16540 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 10:19 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before It may not be relevant but mine is rev 899 are you able to try that? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before No, it works here on my xampp, which I installed, maybe, Friday? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 09:26 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before ok talking to myself here but just tested via an updated xampp install and same problem with that with IE10. :-( Can anyone else replicate? Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 00:12 To: 'For Xerte technical developers' Subject: [Xerte-dev] Problem with IE10 and properties panel that didn't exist before Hi all sorry not had time to participate much recently but in anticipation of Alistair's further exploration of the Aria developments I just updated the Techdis /xot install and there's a problem with the properties panel when using IE10 that didn't exist before the update and doesn't exist with Chrome, FF or Safari. Basicallt half the tabs are missing so for instance no export tab or options: [cid:image003.jpg at 01CE515D.24052B50] Not sure if it's specific to IE10 will try to test that tomorrow. HTH Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 62002 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 11388 bytes Desc: image002.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.jpg Type: image/jpeg Size: 19454 bytes Desc: image003.jpg URL: From J.J.Smith at gcu.ac.uk Wed May 15 11:18:01 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 15 May 2013 11:18:01 +0100 Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before In-Reply-To: <012201ce5153$43d96860$cb8c3920$@co.uk> References: <007f01ce50f8$63758240$2a6086c0$@co.uk> <00a901ce5145$dff71bb0$9fe55310$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49F95@EXCHANGE1.ad.nottingham.ac.uk> <00d401ce514d$3591ead0$a0b5c070$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49FBD@EXCHANGE1.ad.nottingham.ac.uk> <00f701ce5150$d6c48540$844d8fc0$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49FEB@EXCHANGE1.ad.nottingham.ac.uk> <012201ce5153$43d96860$cb8c3920$@co.uk> Message-ID: Hi Ron, Have you tried flushing your cache? Looks like a css issue but not sure any css has really changed recently... do you have any "new" features of IE10 turned on that would make your install different from stock? Are there no console errors? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Wednesday, May 15, 2013 11:02 AM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Sent you credentials offlist. Have just been testing further and noticed that if I use the IE10 zoom out option it is all there just not positioned correctly: [cid:image001.jpg at 01CE515D.DCD3CEC0] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:46 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Whats the url? I don't have it handy From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 10:45 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Can you quickly test the /xot install? That would tell us if it's the install or my browser/config. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:26 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Just rebuilt the xampp - it's fine. Win 7 64bit IE 10.0.9200.16540 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 10:19 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before It may not be relevant but mine is rev 899 are you able to try that? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before No, it works here on my xampp, which I installed, maybe, Friday? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 09:26 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before ok talking to myself here but just tested via an updated xampp install and same problem with that with IE10. :-( Can anyone else replicate? Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 00:12 To: 'For Xerte technical developers' Subject: [Xerte-dev] Problem with IE10 and properties panel that didn't exist before Hi all sorry not had time to participate much recently but in anticipation of Alistair's further exploration of the Aria developments I just updated the Techdis /xot install and there's a problem with the properties panel when using IE10 that didn't exist before the update and doesn't exist with Chrome, FF or Safari. Basicallt half the tabs are missing so for instance no export tab or options: [cid:image002.jpg at 01CE515D.DCD3CEC0] Not sure if it's specific to IE10 will try to test that tomorrow. HTH Ron Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 11388 bytes Desc: image001.jpg URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.jpg Type: image/jpeg Size: 19454 bytes Desc: image002.jpg URL: From J.J.Smith at gcu.ac.uk Wed May 15 11:15:28 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 15 May 2013 11:15:28 +0100 Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... In-Reply-To: <6AA9DB3C-6683-4B00-89EE-4913A76C82D2@pgogywebstuff.com> References: <004c01ce50d4$ab61b840$022528c0$@co.uk> <007401ce50f6$e776e9f0$b664bdd0$@co.uk> <6AA9DB3C-6683-4B00-89EE-4913A76C82D2@pgogywebstuff.com> Message-ID: Hi, Just did a brand new install of the Stable 2.0 zip from Community, on a proper server and got this warning at the end (all default values on final page). The ldap query has failed (query: {{INSERT INTO ldap (ldap_filter,ldap_filter_attr,ldap_host,ldap_port,ldap_password,ldap_basedn,ldap_username) VALUES (?,?,?,?,?,?,?)}}) due to Field 'ldap_knownname' doesn't have a default value These failures may affect your site, please see if they can be rectified using the management tools or altering the database directly. Not sure if it?s related but we should probably ignore that error with the default values? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Wednesday, May 15, 2013 9:15 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... Well I would have read all the email but it lacked plot twists If they are using one ldap then truncating all the ldap table might be a good first step On 15 May 2013, at 00:01, "Ron Mitchell" > wrote: 1. I already said that in my reply ;-) 2. That line is only in one place: $ldap_config = db_query("SELECT * FROM {$xerte_toolkits_site->database_table_prefix}ldap"); if(empty($ldap_config)) { $this->addError("LDAP servers not configured in DB"); return false; } I already suggested they check the ldap table directly so I guess Vicky has relayed that. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 14 May 2013 20:13 To: For Xerte technical developers Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... 1) don't put xampp on a server unless its protected and you follow the xampp security guidance 2) if you search the code for that error where does it appear? On 14 May 2013, at 19:55, "Ron Mitchell" > wrote: Forwarded on behalf of Vicky Greaves along with my direct responses. Read from 1st message up. Is anyone able to sort the list email issue? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 13 May 2013 19:22 To: 'Vicky Greaves' Subject: RE: Ron - I was on your 1st May Xerte 2.0 course... Hi Vicky I'll forward your request for email change to someone at Nottingham. I think they normally expect users to do this themselves but I can see why that wouldn't work for you at the moment. In the meantime I would respond as follows: 1. Does your colleague have direct access to the database and if so I would suggest checking the LDAP table directly to see if the values are being saved/stored. 2. Does the install work ok apart from this e.g. if you switch to guest or static authentication? 3. Near the top of config.php set development to true e.g. $development = true; Does that show any more useful error messages? 4. Is this a local install or an install meant for organisation wide use? XAMPP really isn't the right solution for a production server - ideally Apache, PHP and MySQL should be installed separately. Sorry I can't offer to provide further direct support on this even though it might be me who responds on the mailing list anyway. I'll post your original question to the list but you mention xerte-dev and xerteforteachers neither of which are the correct location for this - are you also a member of http://lists.nottingham.ac.uk/mailman/listinfo/xerte because that's where the question should be posted? HTH Ron From: Vicky Greaves [mailto:Vicky.Greaves at scope.org.uk] Sent: 13 May 2013 13:11 To: 'ronm at mitchellmedia.co.uk' Subject: Ron - I was on your 1st May Xerte 2.0 course... Hi Ron Apologies for contacting you directly? I was on your first xerte 2.0 course in London on 1st May. I mentioned we?d been having problems with the Xerte2 installation - we still are. I tried mailing the issue to the Xerte-dev list (see below) but our institution has just swapped all our email addresses so I?m no longer recognised on the Xerte lists database. I have contacted 'xerte-owner at lists.nottingham.ac.uk' re this last week but not had a response as yet. Could you possibly do me a favour and pass on our technical question (below), or forward my email address change request (below that) to the appropriate person?? I?m being a bit held up.. Apologies yet again, and very many thanks Vicky Greaves e-Learning Technologist From: Vicky Greaves Sent: 09 May 2013 11:59 To: xerte-dev at lists.nottingham.ac.uk Subject: Xerte 2.0 installation problem Please can you offer any suggestions re. the issue my networks colleague is having with LDAP in our new installation? I am experiencing the following error message whilst trying to use the LDAP function in XOT. The error message is: ?LDAP servers not configured in DB? The Xampp install has had the LDAP feature enabled and the correct values have been entered into the Site Administration location. Any ideas? We are running the latest version of both Xampp and XOT Thanks very much Vicky Greaves e-Learning Technologist From: Vicky Greaves Sent: 09 May 2013 14:13 To: 'xerte-owner at lists.nottingham.ac.uk' Subject: email change Please can you help. My institution is in the process of changing everybody?s email address. I am currently registered on some of the Xerte mailing lists (xerte-dev and XERTEFORTEACHERS) with the following address: greavesv at beaumontcollege.org The above email address is still active and I receive these emails, but when I send emails, they go out from this address: Vicky.Greaves at SCOPE.ORG.UK Is there any way I can change my email address on the XERTE database? Many thanks Vicky Greaves Learning Technologist ________________________________ Beaumont College is part of Scope Scope is a registered charity (number 208231) and a company limited by guarantee (number 520866). Our registered office is at 6 Market Road, London N7 9PW, England. Our VAT number is 805156939. Visit our website at http://www.beaumontcollege.ac.uk and via Scope at http://www.scope.org.uk/services/beaumont-college This message, and any file(s) transmitted with it are confidential and are intended only for the person(s) to whom they have been addressed by the sender. This message may contain confidential and/or privileged material. If you are not the intended recipient of this message, or if you believe it was transmitted to you in error, you are required to delete the message and any copies of it, and to notify the sender immediately. Any unauthorised disclosure, copying, distribution, or printing of this message or accompanying files, or unauthorised use of any information contained therein, by anyone other than the intended recipient(s) is prohibited and may be unlawful. Any views expressed in this message or in any file(s) transmitted with it are those of the author, and may not necessarily represent the views of Beaumont College or Scope _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Wed May 15 11:28:19 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 15 May 2013 11:28:19 +0100 Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before In-Reply-To: <004f01ce5153$8356ead0$8a04c070$@jiscadvance.ac.uk> References: <007f01ce50f8$63758240$2a6086c0$@co.uk> <00a901ce5145$dff71bb0$9fe55310$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49F95@EXCHANGE1.ad.nottingham.ac.uk> <00d401ce514d$3591ead0$a0b5c070$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49FBD@EXCHANGE1.ad.nottingham.ac.uk> <004f01ce5153$8356ead0$8a04c070$@jiscadvance.ac.uk> Message-ID: <015901ce5156$ec5d5520$c517ff60$@co.uk> Thanks Thomas. Julian has confirmed the same too and on the Techdis install too, so not sure what the conflict is with my IE10 but there must be one! Will post back if and when I find it... Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Thomas Rochford Sent: 15 May 2013 11:04 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Hi, I use xampp with the MAXOS sticks and am able to run IE10 on W7 and see all the properties as shown in the attached. I'm using rev 887 I did try earlier and clicked on the Folder rather than the LO, and that did show a reduced set of tabs. Hope this helps Kindest regards, Thomas From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:26 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Just rebuilt the xampp - it's fine. Win 7 64bit IE 10.0.9200.16540 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 10:19 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before It may not be relevant but mine is rev 899 are you able to try that? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before No, it works here on my xampp, which I installed, maybe, Friday? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 09:26 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before ok talking to myself here but just tested via an updated xampp install and same problem with that with IE10. :-( Can anyone else replicate? Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 00:12 To: 'For Xerte technical developers' Subject: [Xerte-dev] Problem with IE10 and properties panel that didn't exist before Hi all sorry not had time to participate much recently but in anticipation of Alistair's further exploration of the Aria developments I just updated the Techdis /xot install and there's a problem with the properties panel when using IE10 that didn't exist before the update and doesn't exist with Chrome, FF or Safari. Basicallt half the tabs are missing so for instance no export tab or options: Not sure if it's specific to IE10 will try to test that tomorrow. HTH Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19454 bytes Desc: not available URL: From xerte at pgogywebstuff.com Wed May 15 12:12:38 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Wed, 15 May 2013 12:12:38 +0100 Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before In-Reply-To: <015901ce5156$ec5d5520$c517ff60$@co.uk> References: <007f01ce50f8$63758240$2a6086c0$@co.uk> <00a901ce5145$dff71bb0$9fe55310$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49F95@EXCHANGE1.ad.nottingham.ac.uk> <00d401ce514d$3591ead0$a0b5c070$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49FBD@EXCHANGE1.ad.nottingham.ac.uk> <004f01ce5153$8356ead0$8a04c070$@jiscadvance.ac.uk> <015901ce5156$ec5d5520$c517ff60$@co.uk> Message-ID: <830A9CF2-38A5-478E-A7BF-E3241396E63F@pgogywebstuff.com> The modularisation changed the CSS I think to allow for properties panel changes. Check your CSS is up to date On 15 May 2013, at 11:28, "Ron Mitchell" wrote: > Thanks Thomas. > Julian has confirmed the same too and on the Techdis install too, so not sure what the conflict is with my IE10 but there must be one! Will post back if and when I find it... > Cheers > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Thomas Rochford > Sent: 15 May 2013 11:04 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before > > Hi, > > I use xampp with the MAXOS sticks and am able to run IE10 on W7 and see all the properties as shown in the attached. I?m using rev 887 > > I did try earlier and clicked on the Folder rather than the LO, and that did show a reduced set of tabs. > > Hope this helps > > Kindest regards, Thomas > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 15 May 2013 10:26 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before > > Just rebuilt the xampp ? it?s fine. > > Win 7 64bit IE 10.0.9200.16540 > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 15 May 2013 10:19 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before > > It may not be relevant but mine is rev 899 are you able to try that? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: 15 May 2013 10:10 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before > > No, it works here on my xampp, which I installed, maybe, Friday? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 15 May 2013 09:26 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before > > ok talking to myself here but just tested via an updated xampp install and same problem with that with IE10. :-( > > Can anyone else replicate? > > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell > Sent: 15 May 2013 00:12 > To: 'For Xerte technical developers' > Subject: [Xerte-dev] Problem with IE10 and properties panel that didn't exist before > > Hi all > sorry not had time to participate much recently but in anticipation of Alistair's further exploration of the Aria developments I just updated the Techdis /xot install and there's a problem with the properties panel when using IE10 that didn't exist before the update and doesn't exist with Chrome, FF or Safari. Basicallt half the tabs are missing so for instance no export tab or options: > > > > Not sure if it's specific to IE10 will try to test that tomorrow. > HTH > Ron > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Wed May 15 12:10:52 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Wed, 15 May 2013 12:10:52 +0100 Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... In-Reply-To: References: <004c01ce50d4$ab61b840$022528c0$@co.uk> <007401ce50f6$e776e9f0$b664bdd0$@co.uk> <6AA9DB3C-6683-4B00-89EE-4913A76C82D2@pgogywebstuff.com> Message-ID: <1D68256B-F70E-4174-B9A8-65973F9C920D@pgogywebstuff.com> Erm...... It should only install ldap settings if entered? On 15 May 2013, at 11:15, "Smith, John" wrote: > Hi, > > Just did a brand new install of the Stable 2.0 zip from Community, on a proper server and got this warning at the end (all default values on final page). > The ldap query has failed (query: {{INSERT INTO ldap (ldap_filter,ldap_filter_attr,ldap_host,ldap_port,ldap_password,ldap_basedn,ldap_username) VALUES (?,?,?,?,?,?,?)}}) due to Field 'ldap_knownname' doesn't have a default value > > These failures may affect your site, please see if they can be rectified using the management tools or altering the database directly. > > Not sure if it?s related but we should probably ignore that error with the default values? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Wednesday, May 15, 2013 9:15 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... > > Well I would have read all the email but it lacked plot twists > > If they are using one ldap then truncating all the ldap table might be a good first step > > On 15 May 2013, at 00:01, "Ron Mitchell" wrote: > > 1. I already said that in my reply ;-) > > 2. That line is only in one place: > $ldap_config = db_query("SELECT * FROM {$xerte_toolkits_site->database_table_prefix}ldap"); > if(empty($ldap_config)) { > $this->addError("LDAP servers not configured in DB"); > return false; > } > > I already suggested they check the ldap table directly so I guess Vicky has relayed that. > > Cheers > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 14 May 2013 20:13 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... > > 1) don't put xampp on a server unless its protected and you follow the xampp security guidance > > 2) if you search the code for that error where does it appear? > > On 14 May 2013, at 19:55, "Ron Mitchell" wrote: > > Forwarded on behalf of Vicky Greaves along with my direct responses. Read from 1st message up. > Is anyone able to sort the list email issue? > > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 13 May 2013 19:22 > To: 'Vicky Greaves' > Subject: RE: Ron - I was on your 1st May Xerte 2.0 course... > > Hi Vicky > I'll forward your request for email change to someone at Nottingham. I think they normally expect users to do this themselves but I can see why that wouldn't work for you at the moment. > > In the meantime I would respond as follows: > > 1. Does your colleague have direct access to the database and if so I would suggest checking the LDAP table directly to see if the values are being saved/stored. > > 2. Does the install work ok apart from this e.g. if you switch to guest or static authentication? > > 3. Near the top of config.php set development to true e.g. $development = true; Does that show any more useful error messages? > > 4. Is this a local install or an install meant for organisation wide use? XAMPP really isn't the right solution for a production server - ideally Apache, PHP and MySQL should be installed separately. > > Sorry I can't offer to provide further direct support on this even though it might be me who responds on the mailing list anyway. I'll post your original question to the list but you mention xerte-dev and xerteforteachers neither of which are the correct location for this - are you also a member of http://lists.nottingham.ac.uk/mailman/listinfo/xerte because that's where the question should be posted? > > HTH > Ron > > > From: Vicky Greaves [mailto:Vicky.Greaves at scope.org.uk] > Sent: 13 May 2013 13:11 > To: 'ronm at mitchellmedia.co.uk' > Subject: Ron - I was on your 1st May Xerte 2.0 course... > > Hi Ron > > Apologies for contacting you directly? > I was on your first xerte 2.0 course in London on 1st May. I mentioned we?d been having problems with the Xerte2 installation - we still are. > I tried mailing the issue to the Xerte-dev list (see below) but our institution has just swapped all our email addresses so I?m no longer recognised on the Xerte lists database. I have contacted 'xerte-owner at lists.nottingham.ac.uk' re this last week but not had a response as yet. > Could you possibly do me a favour and pass on our technical question (below), or forward my email address change request (below that) to the appropriate person?? I?m being a bit held up.. > > Apologies yet again, and very many thanks > > Vicky Greaves > > e-Learning Technologist > > From: Vicky Greaves > Sent: 09 May 2013 11:59 > To: xerte-dev at lists.nottingham.ac.uk > Subject: Xerte 2.0 installation problem > > Please can you offer any suggestions re. the issue my networks colleague is having with LDAP in our new installation? > > > I am experiencing the following error message whilst trying to use the LDAP function in XOT. The error message is: > ?LDAP servers not configured in DB? > > The Xampp install has had the LDAP feature enabled and the correct values have been entered into the Site Administration location. > Any ideas? > > We are running the latest version of both Xampp and XOT > > > Thanks very much > Vicky Greaves > > e-Learning Technologist > > > From: Vicky Greaves > Sent: 09 May 2013 14:13 > To: 'xerte-owner at lists.nottingham.ac.uk' > Subject: email change > > Please can you help. > > My institution is in the process of changing everybody?s email address. I am currently registered on some of the Xerte mailing lists (xerte-dev and XERTEFORTEACHERS) with the following address: > > greavesv at beaumontcollege.org > > The above email address is still active and I receive these emails, but when I send emails, they go out from this address: > > Vicky.Greaves at SCOPE.ORG.UK > > Is there any way I can change my email address on the XERTE database? > > Many thanks > Vicky Greaves > > Learning Technologist > > > > Beaumont College is part of Scope > > Scope is a registered charity (number 208231) and a company limited by > guarantee (number 520866). > Our registered office is at 6 Market Road, London N7 9PW, England. > Our VAT number is 805156939. > > Visit our website at http://www.beaumontcollege.ac.uk > > and via Scope at http://www.scope.org.uk/services/beaumont-college > > This message, and any file(s) transmitted with it are confidential > and are intended only for the person(s) to whom they have been > addressed by the sender. This message may contain confidential and/or > privileged material. If you are not the intended recipient of this > message, or if you believe it was transmitted to you in error, you are > required to delete the message and any copies of it, and to notify the > sender immediately. Any unauthorised disclosure, copying, distribution, > or printing of this message or accompanying files, or unauthorised use > of any information contained therein, by anyone other than the > intended recipient(s) is prohibited and may be unlawful. > > Any views expressed in this message or in any file(s) transmitted with > it are those of the author, and may not necessarily represent the > views of Beaumont College or Scope > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fay.Cross at nottingham.ac.uk Wed May 15 12:53:23 2013 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Wed, 15 May 2013 12:53:23 +0100 Subject: [Xerte-dev] Re: Fixes for Xenith? In-Reply-To: <5190B813.5040808@tor.nl> References: <5190B813.5040808@tor.nl> Message-ID: Yes I should have - it's all there now. Thanks -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 13 May 2013 10:53 To: For Xerte technical developers Subject: [Xerte-dev] Fixes for Xenith? Fay, You apperently committed some fixes for Xenith last friday? Shouldn't those fixes be in 2.0 as well? Tom -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From ronm at mitchellmedia.co.uk Wed May 15 11:49:12 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Wed, 15 May 2013 11:49:12 +0100 Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before In-Reply-To: <015901ce5156$ec5d5520$c517ff60$@co.uk> References: <007f01ce50f8$63758240$2a6086c0$@co.uk> <00a901ce5145$dff71bb0$9fe55310$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49F95@EXCHANGE1.ad.nottingham.ac.uk> <00d401ce514d$3591ead0$a0b5c070$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51A49FBD@EXCHANGE1.ad.nottingham.ac.uk> <004f01ce5153$8356ead0$8a04c070$@jiscadvance.ac.uk> <015901ce5156$ec5d5520$c517ff60$@co.uk> Message-ID: <016501ce5159$d6f14b80$84d3e280$@co.uk> Ok that was weird!... Spent ages disabling add-ons one by one - none of which resolved the issue. I had already deleted cache numerous times and check browser zoom settings were at 100%. But then after add-ons didn't make a difference zoomed in the workspace 150% and clicked properties and all the tabs were showing. Zoomed the workspace back out to 100% and checked properties now all the tabs are showing at 100% too. So all is fine. I'm not going to even attempt to replicate or think through how to reproduce this just going to be happy it's resolved and proceed with updating the other installs! Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 11:28 To: thomas.rochford at jiscadvance.ac.uk; 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Thanks Thomas. Julian has confirmed the same too and on the Techdis install too, so not sure what the conflict is with my IE10 but there must be one! Will post back if and when I find it... Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Thomas Rochford Sent: 15 May 2013 11:04 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Hi, I use xampp with the MAXOS sticks and am able to run IE10 on W7 and see all the properties as shown in the attached. I'm using rev 887 I did try earlier and clicked on the Folder rather than the LO, and that did show a reduced set of tabs. Hope this helps Kindest regards, Thomas From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:26 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before Just rebuilt the xampp - it's fine. Win 7 64bit IE 10.0.9200.16540 From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 10:19 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before It may not be relevant but mine is rev 899 are you able to try that? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 15 May 2013 10:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before No, it works here on my xampp, which I installed, maybe, Friday? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 09:26 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Problem with IE10 and properties panel that didn't exist before ok talking to myself here but just tested via an updated xampp install and same problem with that with IE10. :-( Can anyone else replicate? Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 15 May 2013 00:12 To: 'For Xerte technical developers' Subject: [Xerte-dev] Problem with IE10 and properties panel that didn't exist before Hi all sorry not had time to participate much recently but in anticipation of Alistair's further exploration of the Aria developments I just updated the Techdis /xot install and there's a problem with the properties panel when using IE10 that didn't exist before the update and doesn't exist with Chrome, FF or Safari. Basicallt half the tabs are missing so for instance no export tab or options: Not sure if it's specific to IE10 will try to test that tomorrow. HTH Ron -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.jpg Type: image/jpeg Size: 19454 bytes Desc: not available URL: From J.J.Smith at gcu.ac.uk Wed May 15 13:02:36 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 15 May 2013 13:02:36 +0100 Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... In-Reply-To: <1D68256B-F70E-4174-B9A8-65973F9C920D@pgogywebstuff.com> References: <004c01ce50d4$ab61b840$022528c0$@co.uk> <007401ce50f6$e776e9f0$b664bdd0$@co.uk> <6AA9DB3C-6683-4B00-89EE-4913A76C82D2@pgogywebstuff.com> <1D68256B-F70E-4174-B9A8-65973F9C920D@pgogywebstuff.com> Message-ID: Yeah but there are a few default value in there that seem to be allowing it to try to build the ldap table now? I?m sure they didn?t before? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Wednesday, May 15, 2013 12:11 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... Erm...... It should only install ldap settings if entered? On 15 May 2013, at 11:15, "Smith, John" > wrote: Hi, Just did a brand new install of the Stable 2.0 zip from Community, on a proper server and got this warning at the end (all default values on final page). The ldap query has failed (query: {{INSERT INTO ldap (ldap_filter,ldap_filter_attr,ldap_host,ldap_port,ldap_password,ldap_basedn,ldap_username) VALUES (?,?,?,?,?,?,?)}}) due to Field 'ldap_knownname' doesn't have a default value These failures may affect your site, please see if they can be rectified using the management tools or altering the database directly. Not sure if it?s related but we should probably ignore that error with the default values? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Wednesday, May 15, 2013 9:15 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... Well I would have read all the email but it lacked plot twists If they are using one ldap then truncating all the ldap table might be a good first step On 15 May 2013, at 00:01, "Ron Mitchell" > wrote: 1. I already said that in my reply ;-) 2. That line is only in one place: $ldap_config = db_query("SELECT * FROM {$xerte_toolkits_site->database_table_prefix}ldap"); if(empty($ldap_config)) { $this->addError("LDAP servers not configured in DB"); return false; } I already suggested they check the ldap table directly so I guess Vicky has relayed that. Cheers Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 14 May 2013 20:13 To: For Xerte technical developers Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... 1) don't put xampp on a server unless its protected and you follow the xampp security guidance 2) if you search the code for that error where does it appear? On 14 May 2013, at 19:55, "Ron Mitchell" > wrote: Forwarded on behalf of Vicky Greaves along with my direct responses. Read from 1st message up. Is anyone able to sort the list email issue? From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 13 May 2013 19:22 To: 'Vicky Greaves' Subject: RE: Ron - I was on your 1st May Xerte 2.0 course... Hi Vicky I'll forward your request for email change to someone at Nottingham. I think they normally expect users to do this themselves but I can see why that wouldn't work for you at the moment. In the meantime I would respond as follows: 1. Does your colleague have direct access to the database and if so I would suggest checking the LDAP table directly to see if the values are being saved/stored. 2. Does the install work ok apart from this e.g. if you switch to guest or static authentication? 3. Near the top of config.php set development to true e.g. $development = true; Does that show any more useful error messages? 4. Is this a local install or an install meant for organisation wide use? XAMPP really isn't the right solution for a production server - ideally Apache, PHP and MySQL should be installed separately. Sorry I can't offer to provide further direct support on this even though it might be me who responds on the mailing list anyway. I'll post your original question to the list but you mention xerte-dev and xerteforteachers neither of which are the correct location for this - are you also a member of http://lists.nottingham.ac.uk/mailman/listinfo/xerte because that's where the question should be posted? HTH Ron From: Vicky Greaves [mailto:Vicky.Greaves at scope.org.uk] Sent: 13 May 2013 13:11 To: 'ronm at mitchellmedia.co.uk' Subject: Ron - I was on your 1st May Xerte 2.0 course... Hi Ron Apologies for contacting you directly? I was on your first xerte 2.0 course in London on 1st May. I mentioned we?d been having problems with the Xerte2 installation - we still are. I tried mailing the issue to the Xerte-dev list (see below) but our institution has just swapped all our email addresses so I?m no longer recognised on the Xerte lists database. I have contacted 'xerte-owner at lists.nottingham.ac.uk' re this last week but not had a response as yet. Could you possibly do me a favour and pass on our technical question (below), or forward my email address change request (below that) to the appropriate person?? I?m being a bit held up.. Apologies yet again, and very many thanks Vicky Greaves e-Learning Technologist From: Vicky Greaves Sent: 09 May 2013 11:59 To: xerte-dev at lists.nottingham.ac.uk Subject: Xerte 2.0 installation problem Please can you offer any suggestions re. the issue my networks colleague is having with LDAP in our new installation? I am experiencing the following error message whilst trying to use the LDAP function in XOT. The error message is: ?LDAP servers not configured in DB? The Xampp install has had the LDAP feature enabled and the correct values have been entered into the Site Administration location. Any ideas? We are running the latest version of both Xampp and XOT Thanks very much Vicky Greaves e-Learning Technologist From: Vicky Greaves Sent: 09 May 2013 14:13 To: 'xerte-owner at lists.nottingham.ac.uk' Subject: email change Please can you help. My institution is in the process of changing everybody?s email address. I am currently registered on some of the Xerte mailing lists (xerte-dev and XERTEFORTEACHERS) with the following address: greavesv at beaumontcollege.org The above email address is still active and I receive these emails, but when I send emails, they go out from this address: Vicky.Greaves at SCOPE.ORG.UK Is there any way I can change my email address on the XERTE database? Many thanks Vicky Greaves Learning Technologist ________________________________ Beaumont College is part of Scope Scope is a registered charity (number 208231) and a company limited by guarantee (number 520866). Our registered office is at 6 Market Road, London N7 9PW, England. Our VAT number is 805156939. Visit our website at http://www.beaumontcollege.ac.uk and via Scope at http://www.scope.org.uk/services/beaumont-college This message, and any file(s) transmitted with it are confidential and are intended only for the person(s) to whom they have been addressed by the sender. This message may contain confidential and/or privileged material. If you are not the intended recipient of this message, or if you believe it was transmitted to you in error, you are required to delete the message and any copies of it, and to notify the sender immediately. Any unauthorised disclosure, copying, distribution, or printing of this message or accompanying files, or unauthorised use of any information contained therein, by anyone other than the intended recipient(s) is prohibited and may be unlawful. Any views expressed in this message or in any file(s) transmitted with it are those of the author, and may not necessarily represent the views of Beaumont College or Scope _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Fay.Cross at nottingham.ac.uk Wed May 15 13:11:08 2013 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Wed, 15 May 2013 13:11:08 +0100 Subject: [Xerte-dev] Work for the next few weeks Message-ID: Hello As you may already know, I will shortly be going on maternity leave. My last day is 21st June and I am only at work for 15 more days before then. There are a few things I know I want to finish before I leave but if anyone has anything else to add I'll do my best to get it done by then. - Documentation on the HTML5 stuff e.g. how to go about creating a new page type, what you need to include, the css/code I've used for some of the common page layouts... - More work on accessibility e.g. ARIA landmarks, further testing - Scenario page type This is the one page that doesn't have a HTML equivalent so far - Bug fixes in a number of page types. I don't know of any big problems with them but there are a few minor things to fix. So, if you know of anything you'd like to add to this let me know. I'll obviously look at any bugs that come up on the lists in the next few weeks too. Fay -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Wed May 15 15:17:08 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 15 May 2013 15:17:08 +0100 Subject: [Xerte-dev] Charting Library Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51A4A2E2@EXCHANGE1.ad.nottingham.ac.uk> The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. Does anyone have any recommendations? -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Wed May 15 15:33:09 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Wed, 15 May 2013 15:33:09 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51A4A2E2@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51A4A2E2@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: D3 is pretty standard and jquery like On 15 May 2013, at 15:17, Julian Tenney wrote: > The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. > > Does anyone have any recommendations? > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Wed May 15 15:35:52 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Wed, 15 May 2013 15:35:52 +0100 Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... In-Reply-To: References: <004c01ce50d4$ab61b840$022528c0$@co.uk> <007401ce50f6$e776e9f0$b664bdd0$@co.uk> <6AA9DB3C-6683-4B00-89EE-4913A76C82D2@pgogywebstuff.com> <1D68256B-F70E-4174-B9A8-65973F9C920D@pgogywebstuff.com> Message-ID: <066E117B-B22A-4697-947D-D6FA97929038@pgogywebstuff.com> Someone be changing stuff.... The ldap stuff could do with sorting, but I has no ldap to test against On 15 May 2013, at 13:02, "Smith, John" wrote: > Yeah but there are a few default value in there that seem to be allowing it to try to build the ldap table now? > > I?m sure they didn?t before? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Wednesday, May 15, 2013 12:11 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... > > Erm...... > > It should only install ldap settings if entered? > > On 15 May 2013, at 11:15, "Smith, John" wrote: > > Hi, > > Just did a brand new install of the Stable 2.0 zip from Community, on a proper server and got this warning at the end (all default values on final page). > The ldap query has failed (query: {{INSERT INTO ldap (ldap_filter,ldap_filter_attr,ldap_host,ldap_port,ldap_password,ldap_basedn,ldap_username) VALUES (?,?,?,?,?,?,?)}}) due to Field 'ldap_knownname' doesn't have a default value > > These failures may affect your site, please see if they can be rectified using the management tools or altering the database directly. > > Not sure if it?s related but we should probably ignore that error with the default values? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Wednesday, May 15, 2013 9:15 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... > > Well I would have read all the email but it lacked plot twists > > If they are using one ldap then truncating all the ldap table might be a good first step > > On 15 May 2013, at 00:01, "Ron Mitchell" wrote: > > 1. I already said that in my reply ;-) > > 2. That line is only in one place: > $ldap_config = db_query("SELECT * FROM {$xerte_toolkits_site->database_table_prefix}ldap"); > if(empty($ldap_config)) { > $this->addError("LDAP servers not configured in DB"); > return false; > } > > I already suggested they check the ldap table directly so I guess Vicky has relayed that. > > Cheers > Ron > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 14 May 2013 20:13 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: enquiry about LDAP error and mailing list email change from Vicky Greaves... > > 1) don't put xampp on a server unless its protected and you follow the xampp security guidance > > 2) if you search the code for that error where does it appear? > > On 14 May 2013, at 19:55, "Ron Mitchell" wrote: > > Forwarded on behalf of Vicky Greaves along with my direct responses. Read from 1st message up. > Is anyone able to sort the list email issue? > > > From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] > Sent: 13 May 2013 19:22 > To: 'Vicky Greaves' > Subject: RE: Ron - I was on your 1st May Xerte 2.0 course... > > Hi Vicky > I'll forward your request for email change to someone at Nottingham. I think they normally expect users to do this themselves but I can see why that wouldn't work for you at the moment. > > In the meantime I would respond as follows: > > 1. Does your colleague have direct access to the database and if so I would suggest checking the LDAP table directly to see if the values are being saved/stored. > > 2. Does the install work ok apart from this e.g. if you switch to guest or static authentication? > > 3. Near the top of config.php set development to true e.g. $development = true; Does that show any more useful error messages? > > 4. Is this a local install or an install meant for organisation wide use? XAMPP really isn't the right solution for a production server - ideally Apache, PHP and MySQL should be installed separately. > > Sorry I can't offer to provide further direct support on this even though it might be me who responds on the mailing list anyway. I'll post your original question to the list but you mention xerte-dev and xerteforteachers neither of which are the correct location for this - are you also a member of http://lists.nottingham.ac.uk/mailman/listinfo/xerte because that's where the question should be posted? > > HTH > Ron > > > From: Vicky Greaves [mailto:Vicky.Greaves at scope.org.uk] > Sent: 13 May 2013 13:11 > To: 'ronm at mitchellmedia.co.uk' > Subject: Ron - I was on your 1st May Xerte 2.0 course... > > Hi Ron > > Apologies for contacting you directly? > I was on your first xerte 2.0 course in London on 1st May. I mentioned we?d been having problems with the Xerte2 installation - we still are. > I tried mailing the issue to the Xerte-dev list (see below) but our institution has just swapped all our email addresses so I?m no longer recognised on the Xerte lists database. I have contacted 'xerte-owner at lists.nottingham.ac.uk' re this last week but not had a response as yet. > Could you possibly do me a favour and pass on our technical question (below), or forward my email address change request (below that) to the appropriate person?? I?m being a bit held up.. > > Apologies yet again, and very many thanks > > Vicky Greaves > > e-Learning Technologist > > From: Vicky Greaves > Sent: 09 May 2013 11:59 > To: xerte-dev at lists.nottingham.ac.uk > Subject: Xerte 2.0 installation problem > > Please can you offer any suggestions re. the issue my networks colleague is having with LDAP in our new installation? > > > I am experiencing the following error message whilst trying to use the LDAP function in XOT. The error message is: > ?LDAP servers not configured in DB? > > The Xampp install has had the LDAP feature enabled and the correct values have been entered into the Site Administration location. > Any ideas? > > We are running the latest version of both Xampp and XOT > > > Thanks very much > Vicky Greaves > > e-Learning Technologist > > > From: Vicky Greaves > Sent: 09 May 2013 14:13 > To: 'xerte-owner at lists.nottingham.ac.uk' > Subject: email change > > Please can you help. > > My institution is in the process of changing everybody?s email address. I am currently registered on some of the Xerte mailing lists (xerte-dev and XERTEFORTEACHERS) with the following address: > > greavesv at beaumontcollege.org > > The above email address is still active and I receive these emails, but when I send emails, they go out from this address: > > Vicky.Greaves at SCOPE.ORG.UK > > Is there any way I can change my email address on the XERTE database? > > Many thanks > Vicky Greaves > > Learning Technologist > > > > Beaumont College is part of Scope > > Scope is a registered charity (number 208231) and a company limited by > guarantee (number 520866). > Our registered office is at 6 Market Road, London N7 9PW, England. > Our VAT number is 805156939. > > Visit our website at http://www.beaumontcollege.ac.uk > > and via Scope at http://www.scope.org.uk/services/beaumont-college > > This message, and any file(s) transmitted with it are confidential > and are intended only for the person(s) to whom they have been > addressed by the sender. This message may contain confidential and/or > privileged material. If you are not the intended recipient of this > message, or if you believe it was transmitted to you in error, you are > required to delete the message and any copies of it, and to notify the > sender immediately. Any unauthorised disclosure, copying, distribution, > or printing of this message or accompanying files, or unauthorised use > of any information contained therein, by anyone other than the > intended recipient(s) is prohibited and may be unlawful. > > Any views expressed in this message or in any file(s) transmitted with > it are those of the author, and may not necessarily represent the > views of Beaumont College or Scope > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Wed May 15 15:44:53 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 15 May 2013 15:44:53 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51A4A2E2@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AD3D@EXCHANGE1.ad.nottingham.ac.uk> There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 15 May 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library D3 is pretty standard and jquery like On 15 May 2013, at 15:17, Julian Tenney > wrote: The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. Does anyone have any recommendations? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Wed May 15 17:53:53 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Wed, 15 May 2013 17:53:53 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AD3D@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51A4A2E2@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5AD3D@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <578039D6-F426-46CB-B749-76A794763AB7@pgogywebstuff.com> It is a plugin, but you could link the raw GitHub stuff to save space. I think the jquery in XOT could be moved into a library into which D3 could be added I've got two D3 plugins half developed, but I've just bundled the JS in On 15 May 2013, at 15:44, Julian Tenney wrote: > There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. > > This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. > > After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 15 May 2013 15:33 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > D3 is pretty standard and jquery like > > On 15 May 2013, at 15:17, Julian Tenney wrote: > > The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. > > Does anyone have any recommendations? > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu May 16 07:28:15 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 16 May 2013 07:28:15 +0100 Subject: [Xerte-dev] Re: Charting Library Message-ID: D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc Easy to do, maintain and read... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" wrote: It is a plugin, but you could link the raw GitHub stuff to save space. I think the jquery in XOT could be moved into a library into which D3 could be added I've got two D3 plugins half developed, but I've just bundled the JS in On 15 May 2013, at 15:44, Julian Tenney > wrote: There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 15 May 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library D3 is pretty standard and jquery like On 15 May 2013, at 15:17, Julian Tenney > wrote: The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. Does anyone have any recommendations? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Thu May 16 09:13:56 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 16 May 2013 09:13:56 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AEBC@EXCHANGE1.ad.nottingham.ac.uk> Maybe this takes us back to the security thing again, but you can do this (now) and it will load the script. There is a timing issue in that you need to wait for the script to load before you can use it, but I can solve that I think. You?d still consider this a security hole? [cid:image001.png at 01CE5215.B1244C60] -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 07:28 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Charting Library D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc Easy to do, maintain and read... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" > wrote: It is a plugin, but you could link the raw GitHub stuff to save space. I think the jquery in XOT could be moved into a library into which D3 could be added I've got two D3 plugins half developed, but I've just bundled the JS in On 15 May 2013, at 15:44, Julian Tenney >> wrote: There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. From: xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 15 May 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library D3 is pretty standard and jquery like On 15 May 2013, at 15:17, Julian Tenney >> wrote: The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. Does anyone have any recommendations? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 81323 bytes Desc: image001.png URL: From Julian.Tenney at nottingham.ac.uk Thu May 16 09:24:42 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 16 May 2013 09:24:42 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> You can also do it this way and execute the callback when the script has loaded to use it. [cid:image001.png at 01CE5217.32471DD0] -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 07:28 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Charting Library D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc Easy to do, maintain and read... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" > wrote: It is a plugin, but you could link the raw GitHub stuff to save space. I think the jquery in XOT could be moved into a library into which D3 could be added I've got two D3 plugins half developed, but I've just bundled the JS in On 15 May 2013, at 15:44, Julian Tenney >> wrote: There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. From: xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 15 May 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library D3 is pretty standard and jquery like On 15 May 2013, at 15:17, Julian Tenney >> wrote: The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. Does anyone have any recommendations? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 81988 bytes Desc: image001.png URL: From xerte at pgogywebstuff.com Thu May 16 09:45:36 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Thu, 16 May 2013 09:45:36 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Gonna start a new thread on new topic On 16 May 2013, at 09:24, Julian Tenney wrote: > You can also do it this way and execute the callback when the script has loaded to use it. > > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 16 May 2013 07:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Charting Library > > D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? > > Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... > > Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... > > See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ > > I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: > > $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc > > Easy to do, maintain and read... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > "Pat @ Pgogy" wrote: > > > It is a plugin, but you could link the raw GitHub stuff to save space. > > I think the jquery in XOT could be moved into a library into which D3 could be added > > I've got two D3 plugins half developed, but I've just bundled the JS in > > On 15 May 2013, at 15:44, Julian Tenney > wrote: > > There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. > > This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. > > After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 15 May 2013 15:33 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > D3 is pretty standard and jquery like > > On 15 May 2013, at 15:17, Julian Tenney > wrote: > The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. > > Does anyone have any recommendations? > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu May 16 09:53:53 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 16 May 2013 09:53:53 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Yeah that would work ? I was thinking more that you were going to create a separate page model (does that work in a similar way to the xerte/xenith stuff for adding page types?) Allowing users to add scripts is mostly a security issue within the same site. For example, I could create a LO relatively easy with some javascript that posts some data to the script in management.php that changes the admin password. I then say ?Hey Julian please take a look at this LO for me?, you open it and ?IF? you happen to have a valid management.php session within the same browser then the password is changed and I am alerted to the fact. If no session then it just does what it was supposed to do? Cross-domain you ?might? be able to make that work too but maybe not ? this is why forms have scripts that generate OTO keys etc? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 9:25 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library You can also do it this way and execute the callback when the script has loaded to use it. [cid:image001.png at 01CE521B.2D7D8B00] -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 07:28 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Charting Library D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc Easy to do, maintain and read... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" > wrote: It is a plugin, but you could link the raw GitHub stuff to save space. I think the jquery in XOT could be moved into a library into which D3 could be added I've got two D3 plugins half developed, but I've just bundled the JS in On 15 May 2013, at 15:44, Julian Tenney >> wrote: There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. From: xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 15 May 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library D3 is pretty standard and jquery like On 15 May 2013, at 15:17, Julian Tenney >> wrote: The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. Does anyone have any recommendations? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 81988 bytes Desc: image001.png URL: From J.J.Smith at gcu.ac.uk Thu May 16 09:56:19 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 16 May 2013 09:56:19 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: I believe in tenuous links ;-) Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Thursday, May 16, 2013 9:46 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library Gonna start a new thread on new topic On 16 May 2013, at 09:24, Julian Tenney > wrote: You can also do it this way and execute the callback when the script has loaded to use it. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 07:28 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Charting Library D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc Easy to do, maintain and read... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" > wrote: It is a plugin, but you could link the raw GitHub stuff to save space. I think the jquery in XOT could be moved into a library into which D3 could be added I've got two D3 plugins half developed, but I've just bundled the JS in On 15 May 2013, at 15:44, Julian Tenney >> wrote: There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. From: xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 15 May 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library D3 is pretty standard and jquery like On 15 May 2013, at 15:17, Julian Tenney >> wrote: The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. Does anyone have any recommendations? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Thu May 16 09:59:09 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Thu, 16 May 2013 09:59:09 +0100 Subject: [Xerte-dev] JS libraries Message-ID: <3D272D57-F434-4639-AE30-766AFF826CC2@pgogywebstuff.com> Hello, Would it be possible to add to page models a parameter which could tell the preview and play script which js to load? 1) noticed I get a few by default I don't need - media et al 2) have noticed on localhost maths Ajax can take ages (over 20 seconds) Thoughts? From Julian.Tenney at nottingham.ac.uk Thu May 16 10:02:57 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 16 May 2013 10:02:57 +0100 Subject: [Xerte-dev] Re: JS libraries In-Reply-To: <3D272D57-F434-4639-AE30-766AFF826CC2@pgogywebstuff.com> References: <3D272D57-F434-4639-AE30-766AFF826CC2@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AF2F@EXCHANGE1.ad.nottingham.ac.uk> > have noticed on localhost maths Ajax can take ages (over 20 seconds) Have not seen that. This is perhaps related to the other discussion on scripts, in that whilst you can load them directly from within the LO, it would be neater to configure the scripts loaded in the either automatically for the ones we include and user defined, for others. Then all scripts are ready once the document loads. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 16 May 2013 09:59 To: For Xerte technical developers Subject: [Xerte-dev] JS libraries Hello, Would it be possible to add to page models a parameter which could tell the preview and play script which js to load? 1) noticed I get a few by default I don't need - media et al 2) have noticed on localhost maths Ajax can take ages (over 20 seconds) Thoughts? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Thu May 16 10:21:42 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 16 May 2013 10:21:42 +0100 Subject: [Xerte-dev] Re: JS libraries In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AF2F@EXCHANGE1.ad.nottingham.ac.uk> References: <3D272D57-F434-4639-AE30-766AFF826CC2@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C51B5AF2F@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AF4F@EXCHANGE1.ad.nottingham.ac.uk> Or load them before parsing the content... So I could add a datagrid type control to the wizard where you can make a lit of libraries you want to load, and then load them all before parsing the content into the page. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 16 May 2013 10:03 To: For Xerte technical developers Subject: [Xerte-dev] Re: JS libraries > have noticed on localhost maths Ajax can take ages (over 20 seconds) Have not seen that. This is perhaps related to the other discussion on scripts, in that whilst you can load them directly from within the LO, it would be neater to configure the scripts loaded in the either automatically for the ones we include and user defined, for others. Then all scripts are ready once the document loads. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 16 May 2013 09:59 To: For Xerte technical developers Subject: [Xerte-dev] JS libraries Hello, Would it be possible to add to page models a parameter which could tell the preview and play script which js to load? 1) noticed I get a few by default I don't need - media et al 2) have noticed on localhost maths Ajax can take ages (over 20 seconds) Thoughts? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Thu May 16 10:28:05 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 16 May 2013 10:28:05 +0100 Subject: [Xerte-dev] Re: JS libraries In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AF4F@EXCHANGE1.ad.nottingham.ac.uk> References: <3D272D57-F434-4639-AE30-766AFF826CC2@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C51B5AF2F@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5AF4F@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AF7A@EXCHANGE1.ad.nottingham.ac.uk> Like this? [cid:image001.png at 01CE5220.0D5023B0] -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 16 May 2013 10:22 To: For Xerte technical developers Subject: [Xerte-dev] Re: JS libraries Or load them before parsing the content... So I could add a datagrid type control to the wizard where you can make a lit of libraries you want to load, and then load them all before parsing the content into the page. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 16 May 2013 10:03 To: For Xerte technical developers Subject: [Xerte-dev] Re: JS libraries > have noticed on localhost maths Ajax can take ages (over 20 seconds) Have not seen that. This is perhaps related to the other discussion on scripts, in that whilst you can load them directly from within the LO, it would be neater to configure the scripts loaded in the either automatically for the ones we include and user defined, for others. Then all scripts are ready once the document loads. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 16 May 2013 09:59 To: For Xerte technical developers Subject: [Xerte-dev] JS libraries Hello, Would it be possible to add to page models a parameter which could tell the preview and play script which js to load? 1) noticed I get a few by default I don't need - media et al 2) have noticed on localhost maths Ajax can take ages (over 20 seconds) Thoughts? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 81340 bytes Desc: image001.png URL: From J.J.Smith at gcu.ac.uk Thu May 16 11:24:17 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 16 May 2013 11:24:17 +0100 Subject: [Xerte-dev] Re: JS libraries In-Reply-To: <3D272D57-F434-4639-AE30-766AFF826CC2@pgogywebstuff.com> References: <3D272D57-F434-4639-AE30-766AFF826CC2@pgogywebstuff.com> Message-ID: It would be relatively easy to do or while parsing the xml at the start we could prefetch the ones that will be needed for all the models... Doesn't the maths one do something clever server side... is it significantly slower on localhost? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Thursday, May 16, 2013 9:59 AM To: For Xerte technical developers Subject: [Xerte-dev] JS libraries Hello, Would it be possible to add to page models a parameter which could tell the preview and play script which js to load? 1) noticed I get a few by default I don't need - media et al 2) have noticed on localhost maths Ajax can take ages (over 20 seconds) Thoughts? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Fay.Cross at nottingham.ac.uk Thu May 16 11:38:08 2013 From: Fay.Cross at nottingham.ac.uk (Fay Cross) Date: Thu, 16 May 2013 11:38:08 +0100 Subject: [Xerte-dev] Duplicating projects In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: If I duplicate a project set to use HTML5, the duplicate project uses the Flash engine instead. In the properties panel the duplicate does say it should use HTML5 but the only way to get it publish correctly is to change the option to Flash and then back to HTML. -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Thu May 16 11:44:53 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 16 May 2013 12:44:53 +0200 Subject: [Xerte-dev] Re: Duplicating projects In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <5194B8A5.7070604@tor.nl> I'll have a look. Op 16-5-2013 12:38, Fay Cross schreef: > > If I duplicate a project set to use HTML5, the duplicate project uses > the Flash engine instead. > > In the properties panel the duplicate does say it should use HTML5 but > the only way to get it publish correctly is to change the option to > Flash and then back to HTML. > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Thu May 16 11:44:53 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 16 May 2013 12:44:53 +0200 Subject: [Xerte-dev] Re: Duplicating projects In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <5194B8A5.7070604@tor.nl> I'll have a look. Op 16-5-2013 12:38, Fay Cross schreef: > > If I duplicate a project set to use HTML5, the duplicate project uses > the Flash engine instead. > > In the properties panel the duplicate does say it should use HTML5 but > the only way to get it publish correctly is to change the option to > Flash and then back to HTML. > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu May 16 12:01:34 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 16 May 2013 12:01:34 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: That would be fine ? I thought this was more for end users Have a dropdown with the libraries prepopulated and for each supported one, an array or sources for fallback. If you get a 200 you move on, if you get something else you try the next in the array? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 9:25 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library You can also do it this way and execute the callback when the script has loaded to use it. [cid:image001.png at 01CE522D.1C4C9530] -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 07:28 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Charting Library D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc Easy to do, maintain and read... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" > wrote: It is a plugin, but you could link the raw GitHub stuff to save space. I think the jquery in XOT could be moved into a library into which D3 could be added I've got two D3 plugins half developed, but I've just bundled the JS in On 15 May 2013, at 15:44, Julian Tenney >> wrote: There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. From: xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 15 May 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library D3 is pretty standard and jquery like On 15 May 2013, at 15:17, Julian Tenney >> wrote: The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. Does anyone have any recommendations? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 81988 bytes Desc: image001.png URL: From Julian.Tenney at nottingham.ac.uk Thu May 16 12:39:09 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 16 May 2013 12:39:09 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B098@EXCHANGE1.ad.nottingham.ac.uk> I?ve added a list on the LO icon where you can add the libraries you want, also a stylesheet, so then you can easily define
            in the piece by hand, and use script to set it up: [cid:image002.png at 01CE5232.5CB9DC90] [cid:image003.png at 01CE5232.5CB9DC90] [cid:image004.png at 01CE5232.5CB9DC90] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 12:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library That would be fine ? I thought this was more for end users Have a dropdown with the libraries prepopulated and for each supported one, an array or sources for fallback. If you get a 200 you move on, if you get something else you try the next in the array? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 9:25 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library You can also do it this way and execute the callback when the script has loaded to use it. [cid:image005.png at 01CE5232.5CB9DC90] -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 07:28 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Charting Library D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc Easy to do, maintain and read... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" > wrote: It is a plugin, but you could link the raw GitHub stuff to save space. I think the jquery in XOT could be moved into a library into which D3 could be added I've got two D3 plugins half developed, but I've just bundled the JS in On 15 May 2013, at 15:44, Julian Tenney >> wrote: There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. From: xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 15 May 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library D3 is pretty standard and jquery like On 15 May 2013, at 15:17, Julian Tenney >> wrote: The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. Does anyone have any recommendations? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 84341 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 80864 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 72623 bytes Desc: image004.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image005.png Type: image/png Size: 81988 bytes Desc: image005.png URL: From J.J.Smith at gcu.ac.uk Thu May 16 12:47:25 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 16 May 2013 12:47:25 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B098@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B098@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Looks good? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 12:39 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library I?ve added a list on the LO icon where you can add the libraries you want, also a stylesheet, so then you can easily define
            in the piece by hand, and use script to set it up: [cid:image001.png at 01CE5233.83FDEF70] [cid:image002.png at 01CE5233.83FDEF70] [cid:image003.png at 01CE5233.83FDEF70] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 12:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library That would be fine ? I thought this was more for end users Have a dropdown with the libraries prepopulated and for each supported one, an array or sources for fallback. If you get a 200 you move on, if you get something else you try the next in the array? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 9:25 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library You can also do it this way and execute the callback when the script has loaded to use it. [cid:image004.png at 01CE5233.83FDEF70] -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 07:28 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Charting Library D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc Easy to do, maintain and read... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" > wrote: It is a plugin, but you could link the raw GitHub stuff to save space. I think the jquery in XOT could be moved into a library into which D3 could be added I've got two D3 plugins half developed, but I've just bundled the JS in On 15 May 2013, at 15:44, Julian Tenney >> wrote: There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. From: xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 15 May 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library D3 is pretty standard and jquery like On 15 May 2013, at 15:17, Julian Tenney >> wrote: The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. Does anyone have any recommendations? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 84341 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 80864 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 72623 bytes Desc: image003.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image004.png Type: image/png Size: 81988 bytes Desc: image004.png URL: From xerte at pgogywebstuff.com Thu May 16 13:29:25 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Thu, 16 May 2013 13:29:25 +0100 Subject: [Xerte-dev] Re: Duplicating projects In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <72B494C0-01EB-40DF-AD50-5F09C72C9B5D@pgogywebstuff.com> I imagine the duplicate code isn't duplicating the value on insert Can you look in the modules/xerte/duplicate script for an insert statement? On 16 May 2013, at 11:38, Fay Cross wrote: > If I duplicate a project set to use HTML5, the duplicate project uses the Flash engine instead. > > In the properties panel the duplicate does say it should use HTML5 but the only way to get it publish correctly is to change the option to Flash and then back to HTML. > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu May 16 14:28:20 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 16 May 2013 14:28:20 +0100 Subject: [Xerte-dev] Using Two Authentication Methods Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B174@EXCHANGE1.ad.nottingham.ac.uk> Hi, I need a bit of help from someone who knows the authentication stuff better than me: We have some cases where, in the past, we've kept a few usernames / passwords in the auth code, and have checked against those before checking against LDAP. There are some collective efforts here where content is passed to a central admin account - one that has static authentication. Lots of people create content in their own accounts, and then pass it to the admin account when it is finished, and that sets up a lot of content for feeds, etc. Downstream, a website reads the folder feeds and displays the content. When we upgraded, we lost this capability. Now that user can't login. So I need to be able to either hardcode a username / password in somewhere (I know, I don't like it either) or have two auth methods, static, and then LDAP (or the other way around) if the first one fails, and I need a solution that won't break in the future when we upgrade again, because this is a real pain. What's the best solution? Thanks, Julian -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Thu May 16 13:30:56 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Thu, 16 May 2013 13:30:56 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B098@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <57328514-A917-4B71-B947-E9A11432A335@pgogywebstuff.com> Kinda prefer the dynamic loading option in terms of expansion and development On 16 May 2013, at 12:47, "Smith, John" wrote: > Looks good? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Thursday, May 16, 2013 12:39 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > I?ve added a list on the LO icon where you can add the libraries you want, also a stylesheet, so then you can easily define
            in the piece by hand, and use script to set it up: > > > > > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 16 May 2013 12:02 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > That would be fine ? I thought this was more for end users > > Have a dropdown with the libraries prepopulated and for each supported one, an array or sources for fallback. If you get a 200 you move on, if you get something else you try the next in the array? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Thursday, May 16, 2013 9:25 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > You can also do it this way and execute the callback when the script has loaded to use it. > > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 16 May 2013 07:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Charting Library > > D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? > > Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... > > Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... > > See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ > > I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: > > $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc > > Easy to do, maintain and read... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > "Pat @ Pgogy" wrote: > > > It is a plugin, but you could link the raw GitHub stuff to save space. > > I think the jquery in XOT could be moved into a library into which D3 could be added > > I've got two D3 plugins half developed, but I've just bundled the JS in > > On 15 May 2013, at 15:44, Julian Tenney > wrote: > > There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. > > This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. > > After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 15 May 2013 15:33 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > D3 is pretty standard and jquery like > > On 15 May 2013, at 15:17, Julian Tenney > wrote: > The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. > > Does anyone have any recommendations? > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Thu May 16 13:35:48 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Thu, 16 May 2013 13:35:48 +0100 Subject: [Xerte-dev] Re: JS libraries In-Reply-To: References: <3D272D57-F434-4639-AE30-766AFF826CC2@pgogywebstuff.com> Message-ID: The maths one is harder - because it must vet all content but you could Greg the XML for a string It's the script loading - a few times it has never loaded and I think the JS gets confused But this is an argument for minimising the files included - so we're only loading the js we need - no more, no less On 16 May 2013, at 11:24, "Smith, John" wrote: > It would be relatively easy to do or while parsing the xml at the start we could prefetch the ones that will be needed for all the models... > > Doesn't the maths one do something clever server side... is it significantly slower on localhost? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Thursday, May 16, 2013 9:59 AM > To: For Xerte technical developers > Subject: [Xerte-dev] JS libraries > > Hello, > > Would it be possible to add to page models a parameter which could tell the preview and play script which js to load? > > 1) noticed I get a few by default I don't need - media et al > > 2) have noticed on localhost maths Ajax can take ages (over 20 seconds) > > Thoughts? > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: > you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From reijnders at tor.nl Thu May 16 15:02:25 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 16 May 2013 16:02:25 +0200 Subject: [Xerte-dev] Re: Using Two Authentication Methods In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B174@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B174@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <5194E6F1.506@tor.nl> - Static will never be upgrade friendly, or we need to do some serious work on the installer. Three options I see. 1. Add the 1 user to ldap, but I am sure you considered that already. (upgrade safe) 2. Add static accounts to the Ldap method (NOT upgrade safe) 3. Make two authentication methods possible, and use Db for the 'static'user, but this requires the most work, I don't know if it can be done, but this one is also upgrade safe. Tom Op 16-5-2013 15:28, Julian Tenney schreef: > > Hi, > > I need a bit of help from someone who knows the authentication stuff > better than me: > > We have some cases where, in the past, we've kept a few usernames / > passwords in the auth code, and have checked against those before > checking against LDAP. There are some collective efforts here where > content is passed to a central admin account -- one that has static > authentication. Lots of people create content in their own accounts, > and then pass it to the admin account when it is finished, and that > sets up a lot of content for feeds, etc. Downstream, a website reads > the folder feeds and displays the content. > > When we upgraded, we lost this capability. Now that user can't login. > > So I need to be able to either hardcode a username / password in > somewhere (I know, I don't like it either) or have two auth methods, > static, and then LDAP (or the other way around) if the first one > fails, and I need a solution that won't break in the future when we > upgrade again, because this is a real pain. > > What's the best solution? > > Thanks, > > Julian > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Thu May 16 15:15:38 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 16 May 2013 15:15:38 +0100 Subject: [Xerte-dev] Re: Using Two Authentication Methods In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B174@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B174@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <013d01ce523f$d81623f0$88426bd0$@co.uk> Thinking out loud but this should work... create a new very basic php page which the static login people should go to e.g. static.php this would be unique to your install and therefore not broken by upgrades set a session variable in there e.g. set static to true and then redirect to index.php edit auth_config.php and check for that session and switch to static authentication if that session is set So the only page you would have to protect from upgrades is auth_config.php which to be honest if you're upgrading regularly you need to do anyway. This is theory but I think should work. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 16 May 2013 14:28 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Using Two Authentication Methods Hi, I need a bit of help from someone who knows the authentication stuff better than me: We have some cases where, in the past, we've kept a few usernames / passwords in the auth code, and have checked against those before checking against LDAP. There are some collective efforts here where content is passed to a central admin account - one that has static authentication. Lots of people create content in their own accounts, and then pass it to the admin account when it is finished, and that sets up a lot of content for feeds, etc. Downstream, a website reads the folder feeds and displays the content. When we upgraded, we lost this capability. Now that user can't login. So I need to be able to either hardcode a username / password in somewhere (I know, I don't like it either) or have two auth methods, static, and then LDAP (or the other way around) if the first one fails, and I need a solution that won't break in the future when we upgrade again, because this is a real pain. What's the best solution? Thanks, Julian -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu May 16 15:45:32 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 16 May 2013 15:45:32 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: <57328514-A917-4B71-B947-E9A11432A335@pgogywebstuff.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B098@EXCHANGE1.ad.nottingham.ac.uk> <57328514-A917-4B71-B947-E9A11432A335@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B227@EXCHANGE1.ad.nottingham.ac.uk> What do you mean? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 16 May 2013 13:31 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library Kinda prefer the dynamic loading option in terms of expansion and development On 16 May 2013, at 12:47, "Smith, John" > wrote: Looks good? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 12:39 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library I?ve added a list on the LO icon where you can add the libraries you want, also a stylesheet, so then you can easily define
            in the piece by hand, and use script to set it up: From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 12:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library That would be fine ? I thought this was more for end users Have a dropdown with the libraries prepopulated and for each supported one, an array or sources for fallback. If you get a 200 you move on, if you get something else you try the next in the array? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 9:25 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library You can also do it this way and execute the callback when the script has loaded to use it. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 07:28 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Charting Library D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc Easy to do, maintain and read... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" > wrote: It is a plugin, but you could link the raw GitHub stuff to save space. I think the jquery in XOT could be moved into a library into which D3 could be added I've got two D3 plugins half developed, but I've just bundled the JS in On 15 May 2013, at 15:44, Julian Tenney >> wrote: There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. From: xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 15 May 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library D3 is pretty standard and jquery like On 15 May 2013, at 15:17, Julian Tenney >> wrote: The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. Does anyone have any recommendations? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Thu May 16 15:47:06 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 16 May 2013 15:47:06 +0100 Subject: [Xerte-dev] Re: Using Two Authentication Methods In-Reply-To: <013d01ce523f$d81623f0$88426bd0$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B174@EXCHANGE1.ad.nottingham.ac.uk> <013d01ce523f$d81623f0$88426bd0$@co.uk> Message-ID: <015001ce5244$3d8bf800$b8a3e800$@co.uk> works for me... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:16 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods Thinking out loud but this should work... create a new very basic php page which the static login people should go to e.g. static.php this would be unique to your install and therefore not broken by upgrades set a session variable in there e.g. set static to true and then redirect to index.php edit auth_config.php and check for that session and switch to static authentication if that session is set So the only page you would have to protect from upgrades is auth_config.php which to be honest if you're upgrading regularly you need to do anyway. This is theory but I think should work. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 16 May 2013 14:28 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Using Two Authentication Methods Hi, I need a bit of help from someone who knows the authentication stuff better than me: We have some cases where, in the past, we've kept a few usernames / passwords in the auth code, and have checked against those before checking against LDAP. There are some collective efforts here where content is passed to a central admin account - one that has static authentication. Lots of people create content in their own accounts, and then pass it to the admin account when it is finished, and that sets up a lot of content for feeds, etc. Downstream, a website reads the folder feeds and displays the content. When we upgraded, we lost this capability. Now that user can't login. So I need to be able to either hardcode a username / password in somewhere (I know, I don't like it either) or have two auth methods, static, and then LDAP (or the other way around) if the first one fails, and I need a solution that won't break in the future when we upgrade again, because this is a real pain. What's the best solution? Thanks, Julian -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: static.php Type: application/octet-stream Size: 61 bytes Desc: not available URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: auth_config.php Type: application/octet-stream Size: 1974 bytes Desc: not available URL: From ronm at mitchellmedia.co.uk Thu May 16 15:48:43 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 16 May 2013 15:48:43 +0100 Subject: [Xerte-dev] Re: Using Two Authentication Methods References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B174@EXCHANGE1.ad.nottingham.ac.uk> <013d01ce523f$d81623f0$88426bd0$@co.uk> Message-ID: <015c01ce5244$77723430$66569c90$@co.uk> sorry meant to say you'll have to change guest to ldap and you could change static to db From: Ron Mitchell [mailto:ronm at mitchellmedia.co.uk] Sent: 16 May 2013 15:47 To: 'For Xerte technical developers' Subject: RE: [Xerte-dev] Re: Using Two Authentication Methods works for me... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:16 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods Thinking out loud but this should work... create a new very basic php page which the static login people should go to e.g. static.php this would be unique to your install and therefore not broken by upgrades set a session variable in there e.g. set static to true and then redirect to index.php edit auth_config.php and check for that session and switch to static authentication if that session is set So the only page you would have to protect from upgrades is auth_config.php which to be honest if you're upgrading regularly you need to do anyway. This is theory but I think should work. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 16 May 2013 14:28 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Using Two Authentication Methods Hi, I need a bit of help from someone who knows the authentication stuff better than me: We have some cases where, in the past, we've kept a few usernames / passwords in the auth code, and have checked against those before checking against LDAP. There are some collective efforts here where content is passed to a central admin account - one that has static authentication. Lots of people create content in their own accounts, and then pass it to the admin account when it is finished, and that sets up a lot of content for feeds, etc. Downstream, a website reads the folder feeds and displays the content. When we upgraded, we lost this capability. Now that user can't login. So I need to be able to either hardcode a username / password in somewhere (I know, I don't like it either) or have two auth methods, static, and then LDAP (or the other way around) if the first one fails, and I need a solution that won't break in the future when we upgrade again, because this is a real pain. What's the best solution? Thanks, Julian -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Thu May 16 15:51:50 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 16 May 2013 16:51:50 +0200 Subject: [Xerte-dev] Re: Duplicating projects In-Reply-To: <5194B8A5.7070604@tor.nl> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> <5194B8A5.7070604@tor.nl> Message-ID: <5194F286.4020302@tor.nl> Fixed. Op 16-5-2013 12:44, Tom Reijnders schreef: > I'll have a look. > > Op 16-5-2013 12:38, Fay Cross schreef: >> >> If I duplicate a project set to use HTML5, the duplicate project uses >> the Flash engine instead. >> >> In the properties panel the duplicate does say it should use HTML5 >> but the only way to get it publish correctly is to change the option >> to Flash and then back to HTML. >> >> >> >> _______________________________________________ >> Xerte-dev mailing list >> Xerte-dev at lists.nottingham.ac.uk >> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Thu May 16 15:57:21 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Thu, 16 May 2013 15:57:21 +0100 Subject: [Xerte-dev] Re: Using Two Authentication Methods In-Reply-To: <015001ce5244$3d8bf800$b8a3e800$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B174@EXCHANGE1.ad.nottingham.ac.uk> <013d01ce523f$d81623f0$88426bd0$@co.uk> <015001ce5244$3d8bf800$b8a3e800$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B24B@EXCHANGE1.ad.nottingham.ac.uk> So basically I'm setting up two front doors: one for the LDAP horde, and one for the select few, via different pages. That's OK I think. Where do I put the username / password? (sorry, I'm not familiar with the static stuff). From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:47 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods works for me... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:16 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods Thinking out loud but this should work... create a new very basic php page which the static login people should go to e.g. static.php this would be unique to your install and therefore not broken by upgrades set a session variable in there e.g. set static to true and then redirect to index.php edit auth_config.php and check for that session and switch to static authentication if that session is set So the only page you would have to protect from upgrades is auth_config.php which to be honest if you're upgrading regularly you need to do anyway. This is theory but I think should work. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 16 May 2013 14:28 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Using Two Authentication Methods Hi, I need a bit of help from someone who knows the authentication stuff better than me: We have some cases where, in the past, we've kept a few usernames / passwords in the auth code, and have checked against those before checking against LDAP. There are some collective efforts here where content is passed to a central admin account - one that has static authentication. Lots of people create content in their own accounts, and then pass it to the admin account when it is finished, and that sets up a lot of content for feeds, etc. Downstream, a website reads the folder feeds and displays the content. When we upgraded, we lost this capability. Now that user can't login. So I need to be able to either hardcode a username / password in somewhere (I know, I don't like it either) or have two auth methods, static, and then LDAP (or the other way around) if the first one fails, and I need a solution that won't break in the future when we upgrade again, because this is a real pain. What's the best solution? Thanks, Julian -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu May 16 16:02:28 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 16 May 2013 16:02:28 +0100 Subject: [Xerte-dev] Re: Using Two Authentication Methods In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B24B@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B174@EXCHANGE1.ad.nottingham.ac.uk> <013d01ce523f$d81623f0$88426bd0$@co.uk> <015001ce5244$3d8bf800$b8a3e800$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B24B@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: In library/Xerte/Authentication/static.php or something like that... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 3:57 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods So basically I'm setting up two front doors: one for the LDAP horde, and one for the select few, via different pages. That's OK I think. Where do I put the username / password? (sorry, I'm not familiar with the static stuff). From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:47 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods works for me... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:16 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods Thinking out loud but this should work... create a new very basic php page which the static login people should go to e.g. static.php this would be unique to your install and therefore not broken by upgrades set a session variable in there e.g. set static to true and then redirect to index.php edit auth_config.php and check for that session and switch to static authentication if that session is set So the only page you would have to protect from upgrades is auth_config.php which to be honest if you're upgrading regularly you need to do anyway. This is theory but I think should work. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 16 May 2013 14:28 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Using Two Authentication Methods Hi, I need a bit of help from someone who knows the authentication stuff better than me: We have some cases where, in the past, we've kept a few usernames / passwords in the auth code, and have checked against those before checking against LDAP. There are some collective efforts here where content is passed to a central admin account - one that has static authentication. Lots of people create content in their own accounts, and then pass it to the admin account when it is finished, and that sets up a lot of content for feeds, etc. Downstream, a website reads the folder feeds and displays the content. When we upgraded, we lost this capability. Now that user can't login. So I need to be able to either hardcode a username / password in somewhere (I know, I don't like it either) or have two auth methods, static, and then LDAP (or the other way around) if the first one fails, and I need a solution that won't break in the future when we upgrade again, because this is a real pain. What's the best solution? Thanks, Julian Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Thu May 16 16:28:03 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Thu, 16 May 2013 16:28:03 +0100 Subject: [Xerte-dev] Re: Using Two Authentication Methods In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B174@EXCHANGE1.ad.nottingham.ac.uk> <013d01ce523f$d81623f0$88426bd0$@co.uk> <015001ce5244$3d8bf800$b8a3e800$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B24B@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <019c01ce5249$f5aa9310$e0ffb930$@co.uk> yeah but just to clarify the static.php I attached goes in the root it's not the same as the one John has pointed to. You could name mine something different to avoid confusion. So all you'd be doing is providing those with static login a different initial url and their account credentials are in library/Xerte/Authentication/static.php You could probably use db instead but you might have to manually switch to db authentication in auth_config.php to be able to create those accounts via management.php first before switching back to ldap. So it's a judgement call whether static will suffice (no disruption) or 10mins lack of access while you create the db accounts. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 16:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods In library/Xerte/Authentication/static.php or something like that. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 3:57 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods So basically I'm setting up two front doors: one for the LDAP horde, and one for the select few, via different pages. That's OK I think. Where do I put the username / password? (sorry, I'm not familiar with the static stuff). From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:47 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods works for me... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:16 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods Thinking out loud but this should work... create a new very basic php page which the static login people should go to e.g. static.php this would be unique to your install and therefore not broken by upgrades set a session variable in there e.g. set static to true and then redirect to index.php edit auth_config.php and check for that session and switch to static authentication if that session is set So the only page you would have to protect from upgrades is auth_config.php which to be honest if you're upgrading regularly you need to do anyway. This is theory but I think should work. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 16 May 2013 14:28 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Using Two Authentication Methods Hi, I need a bit of help from someone who knows the authentication stuff better than me: We have some cases where, in the past, we've kept a few usernames / passwords in the auth code, and have checked against those before checking against LDAP. There are some collective efforts here where content is passed to a central admin account - one that has static authentication. Lots of people create content in their own accounts, and then pass it to the admin account when it is finished, and that sets up a lot of content for feeds, etc. Downstream, a website reads the folder feeds and displays the content. When we upgraded, we lost this capability. Now that user can't login. So I need to be able to either hardcode a username / password in somewhere (I know, I don't like it either) or have two auth methods, static, and then LDAP (or the other way around) if the first one fails, and I need a solution that won't break in the future when we upgrade again, because this is a real pain. What's the best solution? Thanks, Julian Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu May 16 16:41:52 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 16 May 2013 16:41:52 +0100 Subject: [Xerte-dev] Fix applied to DB.php to set iduser to AUTO_INCREMENT Message-ID: Hi, I've now committed this to trunk as R913 as it fixed for me the error I was experiencing last week from the install of stable 2.0 from the community site. Can anyone confirm that this was what was really required and I'll stick it into 2.0 as well? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Thu May 16 16:33:56 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Thu, 16 May 2013 16:33:56 +0100 Subject: [Xerte-dev] Re: Using Two Authentication Methods In-Reply-To: <019c01ce5249$f5aa9310$e0ffb930$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B174@EXCHANGE1.ad.nottingham.ac.uk> <013d01ce523f$d81623f0$88426bd0$@co.uk> <015001ce5244$3d8bf800$b8a3e800$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B24B@EXCHANGE1.ad.nottingham.ac.uk> <019c01ce5249$f5aa9310$e0ffb930$@co.uk> Message-ID: Thanks Ron, DB is broken just now I think... but I think I know the fix, just about to commit... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: Thursday, May 16, 2013 4:28 PM To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods yeah but just to clarify the static.php I attached goes in the root it's not the same as the one John has pointed to. You could name mine something different to avoid confusion. So all you'd be doing is providing those with static login a different initial url and their account credentials are in library/Xerte/Authentication/static.php You could probably use db instead but you might have to manually switch to db authentication in auth_config.php to be able to create those accounts via management.php first before switching back to ldap. So it's a judgement call whether static will suffice (no disruption) or 10mins lack of access while you create the db accounts. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 16:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods In library/Xerte/Authentication/static.php or something like that... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 3:57 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods So basically I'm setting up two front doors: one for the LDAP horde, and one for the select few, via different pages. That's OK I think. Where do I put the username / password? (sorry, I'm not familiar with the static stuff). From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:47 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods works for me... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:16 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods Thinking out loud but this should work... create a new very basic php page which the static login people should go to e.g. static.php this would be unique to your install and therefore not broken by upgrades set a session variable in there e.g. set static to true and then redirect to index.php edit auth_config.php and check for that session and switch to static authentication if that session is set So the only page you would have to protect from upgrades is auth_config.php which to be honest if you're upgrading regularly you need to do anyway. This is theory but I think should work. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 16 May 2013 14:28 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Using Two Authentication Methods Hi, I need a bit of help from someone who knows the authentication stuff better than me: We have some cases where, in the past, we've kept a few usernames / passwords in the auth code, and have checked against those before checking against LDAP. There are some collective efforts here where content is passed to a central admin account - one that has static authentication. Lots of people create content in their own accounts, and then pass it to the admin account when it is finished, and that sets up a lot of content for feeds, etc. Downstream, a website reads the folder feeds and displays the content. When we upgraded, we lost this capability. Now that user can't login. So I need to be able to either hardcode a username / password in somewhere (I know, I don't like it either) or have two auth methods, static, and then LDAP (or the other way around) if the first one fails, and I need a solution that won't break in the future when we upgrade again, because this is a real pain. What's the best solution? Thanks, Julian Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Thu May 16 16:41:52 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Thu, 16 May 2013 16:41:52 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B227@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B098@EXCHANGE1.ad.nottingham.ac.uk> <57328514-A917-4B71-B947-E9A11432A335@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B227@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <4CAB4FE2-864E-4DD0-AAB8-E29625C786D6@pgogywebstuff.com> Well I develop new page scriptygoodness How do I make sure XOT loads my script for my page? On 16 May 2013, at 15:45, Julian Tenney wrote: > What do you mean? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 16 May 2013 13:31 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > Kinda prefer the dynamic loading option in terms of expansion and development > > On 16 May 2013, at 12:47, "Smith, John" wrote: > > Looks good? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Thursday, May 16, 2013 12:39 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > I?ve added a list on the LO icon where you can add the libraries you want, also a stylesheet, so then you can easily define
            in the piece by hand, and use script to set it up: > > > > > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 16 May 2013 12:02 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > That would be fine ? I thought this was more for end users > > Have a dropdown with the libraries prepopulated and for each supported one, an array or sources for fallback. If you get a 200 you move on, if you get something else you try the next in the array? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Thursday, May 16, 2013 9:25 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > You can also do it this way and execute the callback when the script has loaded to use it. > > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 16 May 2013 07:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Charting Library > > D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? > > Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... > > Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... > > See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ > > I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: > > $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc > > Easy to do, maintain and read... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > "Pat @ Pgogy" wrote: > > > It is a plugin, but you could link the raw GitHub stuff to save space. > > I think the jquery in XOT could be moved into a library into which D3 could be added > > I've got two D3 plugins half developed, but I've just bundled the JS in > > On 15 May 2013, at 15:44, Julian Tenney > wrote: > > There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. > > This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. > > After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 15 May 2013 15:33 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > D3 is pretty standard and jquery like > > On 15 May 2013, at 15:17, Julian Tenney > wrote: > The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. > > Does anyone have any recommendations? > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Thu May 16 17:50:44 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Thu, 16 May 2013 18:50:44 +0200 Subject: [Xerte-dev] Re: Fix applied to DB.php to set iduser to AUTO_INCREMENT In-Reply-To: References: Message-ID: <51950E64.2080901@tor.nl> That looks fine to me. Op 16-5-2013 17:41, Smith, John schreef: > > Hi, > > I've now committed this to trunk as R913 as it fixed for me the error > I was experiencing last week from the install of stable 2.0 from the > community site. > > Can anyone confirm that this was what was really required and I'll > stick it into 2.0 as well? > > Regards, > > John Smith > > Learning Technologist > > School of Health & Life Sciences > > Glasgow Caledonian University > > > Glasgow Caledonian University is a registered Scottish charity, number > SC021474 > > Winner: Times Higher Education's Widening Participation Initiative of > the Year 2009 and Herald Society's Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education's Outstanding Support for Early Career > Researchers of the Year 2010, GCU as a lead with Universities Scotland > partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > > > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 17 08:33:07 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 17 May 2013 08:33:07 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: <4CAB4FE2-864E-4DD0-AAB8-E29625C786D6@pgogywebstuff.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B098@EXCHANGE1.ad.nottingham.ac.uk> <57328514-A917-4B71-B947-E9A11432A335@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B227@EXCHANGE1.ad.nottingham.ac.uk> <4CAB4FE2-864E-4DD0-AAB8-E29625C786D6@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B361@EXCHANGE1.ad.nottingham.ac.uk> I think that?s why I added that lsit to the LO root icon, so they could be loaded before parsing the content. Maybe we should add that to the other template as well? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 16 May 2013 16:42 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library Well I develop new page scriptygoodness How do I make sure XOT loads my script for my page? On 16 May 2013, at 15:45, Julian Tenney > wrote: What do you mean? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 16 May 2013 13:31 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library Kinda prefer the dynamic loading option in terms of expansion and development On 16 May 2013, at 12:47, "Smith, John" > wrote: Looks good? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 12:39 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library I?ve added a list on the LO icon where you can add the libraries you want, also a stylesheet, so then you can easily define
            in the piece by hand, and use script to set it up: From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 12:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library That would be fine ? I thought this was more for end users Have a dropdown with the libraries prepopulated and for each supported one, an array or sources for fallback. If you get a 200 you move on, if you get something else you try the next in the array? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 9:25 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library You can also do it this way and execute the callback when the script has loaded to use it. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 07:28 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Charting Library D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc Easy to do, maintain and read... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" > wrote: It is a plugin, but you could link the raw GitHub stuff to save space. I think the jquery in XOT could be moved into a library into which D3 could be added I've got two D3 plugins half developed, but I've just bundled the JS in On 15 May 2013, at 15:44, Julian Tenney >> wrote: There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. From: xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 15 May 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library D3 is pretty standard and jquery like On 15 May 2013, at 15:17, Julian Tenney >> wrote: The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. Does anyone have any recommendations? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 17 08:37:25 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 17 May 2013 08:37:25 +0100 Subject: [Xerte-dev] Re: Using Two Authentication Methods In-Reply-To: <019c01ce5249$f5aa9310$e0ffb930$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B174@EXCHANGE1.ad.nottingham.ac.uk> <013d01ce523f$d81623f0$88426bd0$@co.uk> <015001ce5244$3d8bf800$b8a3e800$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B24B@EXCHANGE1.ad.nottingham.ac.uk> <019c01ce5249$f5aa9310$e0ffb930$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B366@EXCHANGE1.ad.nottingham.ac.uk> The accounts already exist, so it's just providing a way in for them. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 16:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods yeah but just to clarify the static.php I attached goes in the root it's not the same as the one John has pointed to. You could name mine something different to avoid confusion. So all you'd be doing is providing those with static login a different initial url and their account credentials are in library/Xerte/Authentication/static.php You could probably use db instead but you might have to manually switch to db authentication in auth_config.php to be able to create those accounts via management.php first before switching back to ldap. So it's a judgement call whether static will suffice (no disruption) or 10mins lack of access while you create the db accounts. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 16:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods In library/Xerte/Authentication/static.php or something like that... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 3:57 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods So basically I'm setting up two front doors: one for the LDAP horde, and one for the select few, via different pages. That's OK I think. Where do I put the username / password? (sorry, I'm not familiar with the static stuff). From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:47 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods works for me... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:16 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods Thinking out loud but this should work... create a new very basic php page which the static login people should go to e.g. static.php this would be unique to your install and therefore not broken by upgrades set a session variable in there e.g. set static to true and then redirect to index.php edit auth_config.php and check for that session and switch to static authentication if that session is set So the only page you would have to protect from upgrades is auth_config.php which to be honest if you're upgrading regularly you need to do anyway. This is theory but I think should work. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 16 May 2013 14:28 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Using Two Authentication Methods Hi, I need a bit of help from someone who knows the authentication stuff better than me: We have some cases where, in the past, we've kept a few usernames / passwords in the auth code, and have checked against those before checking against LDAP. There are some collective efforts here where content is passed to a central admin account - one that has static authentication. Lots of people create content in their own accounts, and then pass it to the admin account when it is finished, and that sets up a lot of content for feeds, etc. Downstream, a website reads the folder feeds and displays the content. When we upgraded, we lost this capability. Now that user can't login. So I need to be able to either hardcode a username / password in somewhere (I know, I don't like it either) or have two auth methods, static, and then LDAP (or the other way around) if the first one fails, and I need a solution that won't break in the future when we upgrade again, because this is a real pain. What's the best solution? Thanks, Julian Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Fri May 17 09:08:26 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 17 May 2013 09:08:26 +0100 Subject: [Xerte-dev] Re: Using Two Authentication Methods In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B366@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B174@EXCHANGE1.ad.nottingham.ac.uk> <013d01ce523f$d81623f0$88426bd0$@co.uk> <015001ce5244$3d8bf800$b8a3e800$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B24B@EXCHANGE1.ad.nottingham.ac.uk> <019c01ce5249$f5aa9310$e0ffb930$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B366@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <001b01ce52d5$b6ca0e50$245e2af0$@co.uk> then what I sent should work From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 17 May 2013 08:37 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods The accounts already exist, so it's just providing a way in for them. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 16:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods yeah but just to clarify the static.php I attached goes in the root it's not the same as the one John has pointed to. You could name mine something different to avoid confusion. So all you'd be doing is providing those with static login a different initial url and their account credentials are in library/Xerte/Authentication/static.php You could probably use db instead but you might have to manually switch to db authentication in auth_config.php to be able to create those accounts via management.php first before switching back to ldap. So it's a judgement call whether static will suffice (no disruption) or 10mins lack of access while you create the db accounts. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 16:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods In library/Xerte/Authentication/static.php or something like that. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 3:57 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods So basically I'm setting up two front doors: one for the LDAP horde, and one for the select few, via different pages. That's OK I think. Where do I put the username / password? (sorry, I'm not familiar with the static stuff). From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:47 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods works for me... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:16 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods Thinking out loud but this should work... create a new very basic php page which the static login people should go to e.g. static.php this would be unique to your install and therefore not broken by upgrades set a session variable in there e.g. set static to true and then redirect to index.php edit auth_config.php and check for that session and switch to static authentication if that session is set So the only page you would have to protect from upgrades is auth_config.php which to be honest if you're upgrading regularly you need to do anyway. This is theory but I think should work. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 16 May 2013 14:28 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Using Two Authentication Methods Hi, I need a bit of help from someone who knows the authentication stuff better than me: We have some cases where, in the past, we've kept a few usernames / passwords in the auth code, and have checked against those before checking against LDAP. There are some collective efforts here where content is passed to a central admin account - one that has static authentication. Lots of people create content in their own accounts, and then pass it to the admin account when it is finished, and that sets up a lot of content for feeds, etc. Downstream, a website reads the folder feeds and displays the content. When we upgraded, we lost this capability. Now that user can't login. So I need to be able to either hardcode a username / password in somewhere (I know, I don't like it either) or have two auth methods, static, and then LDAP (or the other way around) if the first one fails, and I need a solution that won't break in the future when we upgrade again, because this is a real pain. What's the best solution? Thanks, Julian Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 17 09:07:43 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 17 May 2013 09:07:43 +0100 Subject: [Xerte-dev] Re: Using Two Authentication Methods In-Reply-To: <019c01ce5249$f5aa9310$e0ffb930$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B174@EXCHANGE1.ad.nottingham.ac.uk> <013d01ce523f$d81623f0$88426bd0$@co.uk> <015001ce5244$3d8bf800$b8a3e800$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B24B@EXCHANGE1.ad.nottingham.ac.uk> <019c01ce5249$f5aa9310$e0ffb930$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B38A@EXCHANGE1.ad.nottingham.ac.uk> Cheers, I got that working, good thinking there, thanks, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 16:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods yeah but just to clarify the static.php I attached goes in the root it's not the same as the one John has pointed to. You could name mine something different to avoid confusion. So all you'd be doing is providing those with static login a different initial url and their account credentials are in library/Xerte/Authentication/static.php You could probably use db instead but you might have to manually switch to db authentication in auth_config.php to be able to create those accounts via management.php first before switching back to ldap. So it's a judgement call whether static will suffice (no disruption) or 10mins lack of access while you create the db accounts. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 16:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods In library/Xerte/Authentication/static.php or something like that... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 3:57 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods So basically I'm setting up two front doors: one for the LDAP horde, and one for the select few, via different pages. That's OK I think. Where do I put the username / password? (sorry, I'm not familiar with the static stuff). From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:47 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods works for me... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:16 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods Thinking out loud but this should work... create a new very basic php page which the static login people should go to e.g. static.php this would be unique to your install and therefore not broken by upgrades set a session variable in there e.g. set static to true and then redirect to index.php edit auth_config.php and check for that session and switch to static authentication if that session is set So the only page you would have to protect from upgrades is auth_config.php which to be honest if you're upgrading regularly you need to do anyway. This is theory but I think should work. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 16 May 2013 14:28 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Using Two Authentication Methods Hi, I need a bit of help from someone who knows the authentication stuff better than me: We have some cases where, in the past, we've kept a few usernames / passwords in the auth code, and have checked against those before checking against LDAP. There are some collective efforts here where content is passed to a central admin account - one that has static authentication. Lots of people create content in their own accounts, and then pass it to the admin account when it is finished, and that sets up a lot of content for feeds, etc. Downstream, a website reads the folder feeds and displays the content. When we upgraded, we lost this capability. Now that user can't login. So I need to be able to either hardcode a username / password in somewhere (I know, I don't like it either) or have two auth methods, static, and then LDAP (or the other way around) if the first one fails, and I need a solution that won't break in the future when we upgrade again, because this is a real pain. What's the best solution? Thanks, Julian Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 17 09:09:41 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 17 May 2013 09:09:41 +0100 Subject: [Xerte-dev] Re: Using Two Authentication Methods In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B38A@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B174@EXCHANGE1.ad.nottingham.ac.uk> <013d01ce523f$d81623f0$88426bd0$@co.uk> <015001ce5244$3d8bf800$b8a3e800$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B24B@EXCHANGE1.ad.nottingham.ac.uk> <019c01ce5249$f5aa9310$e0ffb930$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B38A@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B38D@EXCHANGE1.ad.nottingham.ac.uk> Should we leave that change in auth_config? Do new users added to the list of usernames / passwords need setting up in the database, or will that happen on the first login? Just thinking it's a handy thing to have in your back pocket (if used wisely) From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 17 May 2013 09:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods Cheers, I got that working, good thinking there, thanks, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 16:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods yeah but just to clarify the static.php I attached goes in the root it's not the same as the one John has pointed to. You could name mine something different to avoid confusion. So all you'd be doing is providing those with static login a different initial url and their account credentials are in library/Xerte/Authentication/static.php You could probably use db instead but you might have to manually switch to db authentication in auth_config.php to be able to create those accounts via management.php first before switching back to ldap. So it's a judgement call whether static will suffice (no disruption) or 10mins lack of access while you create the db accounts. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 16:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods In library/Xerte/Authentication/static.php or something like that... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 3:57 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods So basically I'm setting up two front doors: one for the LDAP horde, and one for the select few, via different pages. That's OK I think. Where do I put the username / password? (sorry, I'm not familiar with the static stuff). From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:47 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods works for me... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:16 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods Thinking out loud but this should work... create a new very basic php page which the static login people should go to e.g. static.php this would be unique to your install and therefore not broken by upgrades set a session variable in there e.g. set static to true and then redirect to index.php edit auth_config.php and check for that session and switch to static authentication if that session is set So the only page you would have to protect from upgrades is auth_config.php which to be honest if you're upgrading regularly you need to do anyway. This is theory but I think should work. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 16 May 2013 14:28 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Using Two Authentication Methods Hi, I need a bit of help from someone who knows the authentication stuff better than me: We have some cases where, in the past, we've kept a few usernames / passwords in the auth code, and have checked against those before checking against LDAP. There are some collective efforts here where content is passed to a central admin account - one that has static authentication. Lots of people create content in their own accounts, and then pass it to the admin account when it is finished, and that sets up a lot of content for feeds, etc. Downstream, a website reads the folder feeds and displays the content. When we upgraded, we lost this capability. Now that user can't login. So I need to be able to either hardcode a username / password in somewhere (I know, I don't like it either) or have two auth methods, static, and then LDAP (or the other way around) if the first one fails, and I need a solution that won't break in the future when we upgrade again, because this is a real pain. What's the best solution? Thanks, Julian Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From ronm at mitchellmedia.co.uk Fri May 17 09:40:23 2013 From: ronm at mitchellmedia.co.uk (Ron Mitchell) Date: Fri, 17 May 2013 09:40:23 +0100 Subject: [Xerte-dev] Re: Using Two Authentication Methods In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B38D@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B174@EXCHANGE1.ad.nottingham.ac.uk> <013d01ce523f$d81623f0$88426bd0$@co.uk> <015001ce5244$3d8bf800$b8a3e800$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B24B@EXCHANGE1.ad.nottingham.ac.uk> <019c01ce5249$f5aa9310$e0ffb930$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B38A@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B38D@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <003501ce52da$2cc74c90$8655e5b0$@co.uk> Not sure about leaving it in auth_config.php probably best documented as a possible solution for this somewhere. But now if you're using static no need to add any new accounts you add to library/Xerte/Authentication/static.php to the databse. They should be created automatically when they first login. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 17 May 2013 09:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods Should we leave that change in auth_config? Do new users added to the list of usernames / passwords need setting up in the database, or will that happen on the first login? Just thinking it's a handy thing to have in your back pocket (if used wisely) From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 17 May 2013 09:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods Cheers, I got that working, good thinking there, thanks, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 16:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods yeah but just to clarify the static.php I attached goes in the root it's not the same as the one John has pointed to. You could name mine something different to avoid confusion. So all you'd be doing is providing those with static login a different initial url and their account credentials are in library/Xerte/Authentication/static.php You could probably use db instead but you might have to manually switch to db authentication in auth_config.php to be able to create those accounts via management.php first before switching back to ldap. So it's a judgement call whether static will suffice (no disruption) or 10mins lack of access while you create the db accounts. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 16:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods In library/Xerte/Authentication/static.php or something like that. Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 3:57 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods So basically I'm setting up two front doors: one for the LDAP horde, and one for the select few, via different pages. That's OK I think. Where do I put the username / password? (sorry, I'm not familiar with the static stuff). From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:47 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods works for me... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:16 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods Thinking out loud but this should work... create a new very basic php page which the static login people should go to e.g. static.php this would be unique to your install and therefore not broken by upgrades set a session variable in there e.g. set static to true and then redirect to index.php edit auth_config.php and check for that session and switch to static authentication if that session is set So the only page you would have to protect from upgrades is auth_config.php which to be honest if you're upgrading regularly you need to do anyway. This is theory but I think should work. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 16 May 2013 14:28 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Using Two Authentication Methods Hi, I need a bit of help from someone who knows the authentication stuff better than me: We have some cases where, in the past, we've kept a few usernames / passwords in the auth code, and have checked against those before checking against LDAP. There are some collective efforts here where content is passed to a central admin account - one that has static authentication. Lots of people create content in their own accounts, and then pass it to the admin account when it is finished, and that sets up a lot of content for feeds, etc. Downstream, a website reads the folder feeds and displays the content. When we upgraded, we lost this capability. Now that user can't login. So I need to be able to either hardcode a username / password in somewhere (I know, I don't like it either) or have two auth methods, static, and then LDAP (or the other way around) if the first one fails, and I need a solution that won't break in the future when we upgrade again, because this is a real pain. What's the best solution? Thanks, Julian Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en .html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e n.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 17 09:41:14 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 17 May 2013 09:41:14 +0100 Subject: [Xerte-dev] Re: Using Two Authentication Methods In-Reply-To: <003501ce52da$2cc74c90$8655e5b0$@co.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B174@EXCHANGE1.ad.nottingham.ac.uk> <013d01ce523f$d81623f0$88426bd0$@co.uk> <015001ce5244$3d8bf800$b8a3e800$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B24B@EXCHANGE1.ad.nottingham.ac.uk> <019c01ce5249$f5aa9310$e0ffb930$@co.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B38A@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B38D@EXCHANGE1.ad.nottingham.ac.uk> <003501ce52da$2cc74c90$8655e5b0$@co.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B3E0@EXCHANGE1.ad.nottingham.ac.uk> They are, yes, I tested. I can see that if we leave it in, people will end up letting private users onto their systems, and that's not really a good thing. We get asked all the time and always say 'no', From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 17 May 2013 09:40 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods Not sure about leaving it in auth_config.php probably best documented as a possible solution for this somewhere. But now if you're using static no need to add any new accounts you add to library/Xerte/Authentication/static.php to the databse. They should be created automatically when they first login. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 17 May 2013 09:10 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods Should we leave that change in auth_config? Do new users added to the list of usernames / passwords need setting up in the database, or will that happen on the first login? Just thinking it's a handy thing to have in your back pocket (if used wisely) From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 17 May 2013 09:08 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods Cheers, I got that working, good thinking there, thanks, From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 16:28 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods yeah but just to clarify the static.php I attached goes in the root it's not the same as the one John has pointed to. You could name mine something different to avoid confusion. So all you'd be doing is providing those with static login a different initial url and their account credentials are in library/Xerte/Authentication/static.php You could probably use db instead but you might have to manually switch to db authentication in auth_config.php to be able to create those accounts via management.php first before switching back to ldap. So it's a judgement call whether static will suffice (no disruption) or 10mins lack of access while you create the db accounts. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 16:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods In library/Xerte/Authentication/static.php or something like that... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 3:57 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Using Two Authentication Methods So basically I'm setting up two front doors: one for the LDAP horde, and one for the select few, via different pages. That's OK I think. Where do I put the username / password? (sorry, I'm not familiar with the static stuff). From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:47 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods works for me... From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell Sent: 16 May 2013 15:16 To: 'For Xerte technical developers' Subject: [Xerte-dev] Re: Using Two Authentication Methods Thinking out loud but this should work... create a new very basic php page which the static login people should go to e.g. static.php this would be unique to your install and therefore not broken by upgrades set a session variable in there e.g. set static to true and then redirect to index.php edit auth_config.php and check for that session and switch to static authentication if that session is set So the only page you would have to protect from upgrades is auth_config.php which to be honest if you're upgrading regularly you need to do anyway. This is theory but I think should work. HTH Ron From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: 16 May 2013 14:28 To: For Xerte technical developers (xerte-dev at lists.nottingham.ac.uk) Subject: [Xerte-dev] Using Two Authentication Methods Hi, I need a bit of help from someone who knows the authentication stuff better than me: We have some cases where, in the past, we've kept a few usernames / passwords in the auth code, and have checked against those before checking against LDAP. There are some collective efforts here where content is passed to a central admin account - one that has static authentication. Lots of people create content in their own accounts, and then pass it to the admin account when it is finished, and that sets up a lot of content for feeds, etc. Downstream, a website reads the folder feeds and displays the content. When we upgraded, we lost this capability. Now that user can't login. So I need to be able to either hardcode a username / password in somewhere (I know, I don't like it either) or have two auth methods, static, and then LDAP (or the other way around) if the first one fails, and I need a solution that won't break in the future when we upgrade again, because this is a real pain. What's the best solution? Thanks, Julian Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Fri May 17 09:19:55 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Fri, 17 May 2013 09:19:55 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B361@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B098@EXCHANGE1.ad.nottingham.ac.uk> <57328514-A917-4B71-B947-E9A11432A335@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B227@EXCHANGE1.ad.nottingham.ac.uk> <4CAB4FE2-864E-4DD0-AAB8-E29625C786D6@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B361@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <10706D0A-382A-44EF-8320-1BA9CB6C2240@pgogywebstuff.com> Ok, but that's loading the scripts even if not needed? So not on actually demand but possible demand? On 17 May 2013, at 08:33, Julian Tenney wrote: > I think that?s why I added that lsit to the LO root icon, so they could be loaded before parsing the content. Maybe we should add that to the other template as well? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 16 May 2013 16:42 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > Well I develop new page scriptygoodness > > How do I make sure XOT loads my script for my page? > > On 16 May 2013, at 15:45, Julian Tenney wrote: > > What do you mean? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 16 May 2013 13:31 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > Kinda prefer the dynamic loading option in terms of expansion and development > > On 16 May 2013, at 12:47, "Smith, John" wrote: > > Looks good? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Thursday, May 16, 2013 12:39 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > I?ve added a list on the LO icon where you can add the libraries you want, also a stylesheet, so then you can easily define
            in the piece by hand, and use script to set it up: > > > > > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 16 May 2013 12:02 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > That would be fine ? I thought this was more for end users > > Have a dropdown with the libraries prepopulated and for each supported one, an array or sources for fallback. If you get a 200 you move on, if you get something else you try the next in the array? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Thursday, May 16, 2013 9:25 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > You can also do it this way and execute the callback when the script has loaded to use it. > > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 16 May 2013 07:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Charting Library > > D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? > > Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... > > Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... > > See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ > > I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: > > $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc > > Easy to do, maintain and read... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > "Pat @ Pgogy" wrote: > > > It is a plugin, but you could link the raw GitHub stuff to save space. > > I think the jquery in XOT could be moved into a library into which D3 could be added > > I've got two D3 plugins half developed, but I've just bundled the JS in > > On 15 May 2013, at 15:44, Julian Tenney > wrote: > > There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. > > This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. > > After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 15 May 2013 15:33 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > D3 is pretty standard and jquery like > > On 15 May 2013, at 15:17, Julian Tenney > wrote: > The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. > > Does anyone have any recommendations? > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Fri May 17 09:49:03 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 17 May 2013 09:49:03 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: <10706D0A-382A-44EF-8320-1BA9CB6C2240@pgogywebstuff.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B098@EXCHANGE1.ad.nottingham.ac.uk> <57328514-A917-4B71-B947-E9A11432A335@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B227@EXCHANGE1.ad.nottingham.ac.uk> <4CAB4FE2-864E-4DD0-AAB8-E29625C786D6@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B361@EXCHANGE1.ad.nottingham.ac.uk> <10706D0A-382A-44EF-8320-1BA9CB6C2240@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B3F6@EXCHANGE1.ad.nottingham.ac.uk> no, this is loading scripts you need for your piece (because you have added them to the list, you must need them) You?re thinking of the Maths and Mediaelement stuff I think, which, yes, loads every time. It?s probably not so hard to search for mp4 flv `` in the file and load those libraries as appropriate. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 17 May 2013 09:20 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library Ok, but that's loading the scripts even if not needed? So not on actually demand but possible demand? On 17 May 2013, at 08:33, Julian Tenney > wrote: I think that?s why I added that lsit to the LO root icon, so they could be loaded before parsing the content. Maybe we should add that to the other template as well? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 16 May 2013 16:42 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library Well I develop new page scriptygoodness How do I make sure XOT loads my script for my page? On 16 May 2013, at 15:45, Julian Tenney > wrote: What do you mean? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 16 May 2013 13:31 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library Kinda prefer the dynamic loading option in terms of expansion and development On 16 May 2013, at 12:47, "Smith, John" > wrote: Looks good? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 12:39 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library I?ve added a list on the LO icon where you can add the libraries you want, also a stylesheet, so then you can easily define
            in the piece by hand, and use script to set it up: From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 12:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library That would be fine ? I thought this was more for end users Have a dropdown with the libraries prepopulated and for each supported one, an array or sources for fallback. If you get a 200 you move on, if you get something else you try the next in the array? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 9:25 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library You can also do it this way and execute the callback when the script has loaded to use it. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 07:28 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Charting Library D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc Easy to do, maintain and read... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" > wrote: It is a plugin, but you could link the raw GitHub stuff to save space. I think the jquery in XOT could be moved into a library into which D3 could be added I've got two D3 plugins half developed, but I've just bundled the JS in On 15 May 2013, at 15:44, Julian Tenney >> wrote: There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. From: xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 15 May 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library D3 is pretty standard and jquery like On 15 May 2013, at 15:17, Julian Tenney >> wrote: The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. Does anyone have any recommendations? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Fri May 17 10:26:26 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Fri, 17 May 2013 10:26:26 +0100 Subject: [Xerte-dev] Re: Charting Library Message-ID: Might be better to do it based on the page types included, could probably be done by regexp.. for example you might want to provide a download link (within a text field) to an .mp4. Otherwise you'd have to parse the xml which would increase the time further. This is part of my point about sticking to only xml. If save.php could write a compatible json object then we could skip a lot of the parsing. We could even parse it at save time and include a option then? John Sent from Samsung tablet -------- Original message -------- From: Julian Tenney Date: 17/05/2013 08:49 (GMT+00:00) To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library no, this is loading scripts you need for your piece (because you have added them to the list, you must need them) You?re thinking of the Maths and Mediaelement stuff I think, which, yes, loads every time. It?s probably not so hard to search for mp4 flv `` in the file and load those libraries as appropriate. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 17 May 2013 09:20 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library Ok, but that's loading the scripts even if not needed? So not on actually demand but possible demand? On 17 May 2013, at 08:33, Julian Tenney > wrote: I think that?s why I added that lsit to the LO root icon, so they could be loaded before parsing the content. Maybe we should add that to the other template as well? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 16 May 2013 16:42 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library Well I develop new page scriptygoodness How do I make sure XOT loads my script for my page? On 16 May 2013, at 15:45, Julian Tenney > wrote: What do you mean? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 16 May 2013 13:31 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library Kinda prefer the dynamic loading option in terms of expansion and development On 16 May 2013, at 12:47, "Smith, John" > wrote: Looks good? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 12:39 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library I?ve added a list on the LO icon where you can add the libraries you want, also a stylesheet, so then you can easily define
            in the piece by hand, and use script to set it up: From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 12:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library That would be fine ? I thought this was more for end users Have a dropdown with the libraries prepopulated and for each supported one, an array or sources for fallback. If you get a 200 you move on, if you get something else you try the next in the array? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 9:25 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library You can also do it this way and execute the callback when the script has loaded to use it. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 07:28 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Charting Library D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc Easy to do, maintain and read... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" > wrote: It is a plugin, but you could link the raw GitHub stuff to save space. I think the jquery in XOT could be moved into a library into which D3 could be added I've got two D3 plugins half developed, but I've just bundled the JS in On 15 May 2013, at 15:44, Julian Tenney >> wrote: There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. From: xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 15 May 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library D3 is pretty standard and jquery like On 15 May 2013, at 15:17, Julian Tenney >> wrote: The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. Does anyone have any recommendations? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From Julian.Tenney at nottingham.ac.uk Fri May 17 10:30:56 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Fri, 17 May 2013 10:30:56 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B463@EXCHANGE1.ad.nottingham.ac.uk> You can do if (xmlString.indexOf('.mp4') != -1). That's fast enough. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 17 May 2013 10:26 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library Might be better to do it based on the page types included, could probably be done by regexp.. for example you might want to provide a download link (within a text field) to an .mp4. Otherwise you'd have to parse the xml which would increase the time further. This is part of my point about sticking to only xml. If save.php could write a compatible json object then we could skip a lot of the parsing. We could even parse it at save time and include a option then? John Sent from Samsung tablet -------- Original message -------- From: Julian Tenney Date: 17/05/2013 08:49 (GMT+00:00) To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library no, this is loading scripts you need for your piece (because you have added them to the list, you must need them) You?re thinking of the Maths and Mediaelement stuff I think, which, yes, loads every time. It?s probably not so hard to search for mp4 flv `` in the file and load those libraries as appropriate. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 17 May 2013 09:20 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library Ok, but that's loading the scripts even if not needed? So not on actually demand but possible demand? On 17 May 2013, at 08:33, Julian Tenney > wrote: I think that?s why I added that lsit to the LO root icon, so they could be loaded before parsing the content. Maybe we should add that to the other template as well? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 16 May 2013 16:42 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library Well I develop new page scriptygoodness How do I make sure XOT loads my script for my page? On 16 May 2013, at 15:45, Julian Tenney > wrote: What do you mean? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 16 May 2013 13:31 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library Kinda prefer the dynamic loading option in terms of expansion and development On 16 May 2013, at 12:47, "Smith, John" > wrote: Looks good? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 12:39 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library I?ve added a list on the LO icon where you can add the libraries you want, also a stylesheet, so then you can easily define
            in the piece by hand, and use script to set it up: From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 12:02 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library That would be fine ? I thought this was more for end users Have a dropdown with the libraries prepopulated and for each supported one, an array or sources for fallback. If you get a 200 you move on, if you get something else you try the next in the array? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Thursday, May 16, 2013 9:25 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library You can also do it this way and execute the callback when the script has loaded to use it. -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 16 May 2013 07:28 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Charting Library D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc Easy to do, maintain and read... Regards John Smith Learning Technologist School of Health and Life Sciences Sent from Samsung Galaxy SII "Pat @ Pgogy" > wrote: It is a plugin, but you could link the raw GitHub stuff to save space. I think the jquery in XOT could be moved into a library into which D3 could be added I've got two D3 plugins half developed, but I've just bundled the JS in On 15 May 2013, at 15:44, Julian Tenney >> wrote: There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. From: xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 15 May 2013 15:33 To: For Xerte technical developers Subject: [Xerte-dev] Re: Charting Library D3 is pretty standard and jquery like On 15 May 2013, at 15:17, Julian Tenney >> wrote: The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. Does anyone have any recommendations? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From reijnders at tor.nl Fri May 17 11:03:16 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 17 May 2013 12:03:16 +0200 Subject: [Xerte-dev] And another compliment! Message-ID: <51960064.2040004@tor.nl> From one of the forum users: BTW: XOT is really a fantastic and impressive tool, especially the HTML5 support is a great feature! -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From xerte at pgogywebstuff.com Fri May 17 13:24:24 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Fri, 17 May 2013 13:24:24 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: References: Message-ID: Parsing the XML for the page types would take milliseconds though For each x in LO If isset(js_path) Echo js path On 17 May 2013, at 10:26, "Smith, John" wrote: > Might be better to do it based on the page types included, could probably be done by regexp.. for example you might want to provide a download link (within a text field) to an .mp4. Otherwise you'd have to parse the xml which would increase the time further. > > This is part of my point about sticking to only xml. If save.php could write a compatible json object then we could skip a lot of the parsing. We could even parse it at save time and include a option then? > > John > > Sent from Samsung tablet > > > > -------- Original message -------- > From: Julian Tenney > Date: 17/05/2013 08:49 (GMT+00:00) > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > > no, this is loading scripts you need for your piece (because you have added them to the list, you must need them) > > You?re thinking of the Maths and Mediaelement stuff I think, which, yes, loads every time. > > It?s probably not so hard to search for mp4 flv `` in the file and load those libraries as appropriate. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 17 May 2013 09:20 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > Ok, but that's loading the scripts even if not needed? So not on actually demand but possible demand? > > On 17 May 2013, at 08:33, Julian Tenney > wrote: > I think that?s why I added that lsit to the LO root icon, so they could be loaded before parsing the content. Maybe we should add that to the other template as well? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 16 May 2013 16:42 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > Well I develop new page scriptygoodness > > How do I make sure XOT loads my script for my page? > > On 16 May 2013, at 15:45, Julian Tenney > wrote: > What do you mean? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 16 May 2013 13:31 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > Kinda prefer the dynamic loading option in terms of expansion and development > > On 16 May 2013, at 12:47, "Smith, John" > wrote: > Looks good? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Thursday, May 16, 2013 12:39 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > I?ve added a list on the LO icon where you can add the libraries you want, also a stylesheet, so then you can easily define
            in the piece by hand, and use script to set it up: > > > > > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 16 May 2013 12:02 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > That would be fine ? I thought this was more for end users > > Have a dropdown with the libraries prepopulated and for each supported one, an array or sources for fallback. If you get a 200 you move on, if you get something else you try the next in the array? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Thursday, May 16, 2013 9:25 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > > You can also do it this way and execute the callback when the script has loaded to use it. > > > > > > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 16 May 2013 07:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Charting Library > > > > D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? > > > > Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... > > > > Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... > > > > See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ > > > > I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: > > > > $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc > > > > Easy to do, maintain and read... > > > > Regards > > > > John Smith > > Learning Technologist > > School of Health and Life Sciences > > > > Sent from Samsung Galaxy SII > > > > > > > > "Pat @ Pgogy" > wrote: > > > > > > It is a plugin, but you could link the raw GitHub stuff to save space. > > > > I think the jquery in XOT could be moved into a library into which D3 could be added > > > > I've got two D3 plugins half developed, but I've just bundled the JS in > > > > On 15 May 2013, at 15:44, Julian Tenney >> wrote: > > > > There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. > > > > This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. > > > > After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > > Sent: 15 May 2013 15:33 > > To: For Xerte technical developers > > Subject: [Xerte-dev] Re: Charting Library > > > > D3 is pretty standard and jquery like > > > > On 15 May 2013, at 15:17, Julian Tenney >> wrote: > > The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. > > > > Does anyone have any recommendations? > > > > > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk> > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk> > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > _______________________________________________ > > Xerte-dev mailing list > > Xerte-dev at lists.nottingham.ac.uk > > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From xerte at pgogywebstuff.com Fri May 17 13:22:30 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Fri, 17 May 2013 13:22:30 +0100 Subject: [Xerte-dev] Re: Charting Library In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B3F6@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5AED4@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B098@EXCHANGE1.ad.nottingham.ac.uk> <57328514-A917-4B71-B947-E9A11432A335@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B227@EXCHANGE1.ad.nottingham.ac.uk> <4CAB4FE2-864E-4DD0-AAB8-E29625C786D6@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B361@EXCHANGE1.ad.nottingham.ac.uk> <10706D0A-382A-44EF-8320-1BA9CB6C2240@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C51B5B3F6@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <19A84CB2-1F05-41B4-9627-6CC977975DF5@pgogywebstuff.com> But if each page or maybe the HTML in the models folder contained the JS? More modular? On 17 May 2013, at 09:49, Julian Tenney wrote: > no, this is loading scripts you need for your piece (because you have added them to the list, you must need them) > > You?re thinking of the Maths and Mediaelement stuff I think, which, yes, loads every time. > > It?s probably not so hard to search for mp4 flv `` in the file and load those libraries as appropriate. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 17 May 2013 09:20 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > Ok, but that's loading the scripts even if not needed? So not on actually demand but possible demand? > > On 17 May 2013, at 08:33, Julian Tenney wrote: > > I think that?s why I added that lsit to the LO root icon, so they could be loaded before parsing the content. Maybe we should add that to the other template as well? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 16 May 2013 16:42 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > Well I develop new page scriptygoodness > > How do I make sure XOT loads my script for my page? > > On 16 May 2013, at 15:45, Julian Tenney wrote: > > What do you mean? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 16 May 2013 13:31 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > Kinda prefer the dynamic loading option in terms of expansion and development > > On 16 May 2013, at 12:47, "Smith, John" wrote: > > Looks good? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Thursday, May 16, 2013 12:39 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > I?ve added a list on the LO icon where you can add the libraries you want, also a stylesheet, so then you can easily define
            in the piece by hand, and use script to set it up: > > > > > > > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 16 May 2013 12:02 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > That would be fine ? I thought this was more for end users > > Have a dropdown with the libraries prepopulated and for each supported one, an array or sources for fallback. If you get a 200 you move on, if you get something else you try the next in the array? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Thursday, May 16, 2013 9:25 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > You can also do it this way and execute the callback when the script has loaded to use it. > > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 16 May 2013 07:28 > To: xerte-dev at lists.nottingham.ac.uk > Subject: [Xerte-dev] Re: Charting Library > > D3 is probably the ultimate in charting tools and is HUGE i agree but a lot of that is the data manipulation routines, cross browser, legacy browser support stuff... Don't we potentially want all them too? > > Making it a jquery plugin doesn't actually have that much overhead but i think they could/should further split the sections into sub plugins so that you can pick and choose which you require... > > Its only 135kb minified though - not much or any bigger than 1 decent sized image - what we need to do in xenith is enable on-demand loading/background pre-fetching of these libraries i think and then there isn't an issue... > > See here though for others http://techslides.com/50-javascript-charting-and-graphics-libraries/ > > I was actually wondering whether we should just make the editor code into jquery plugins which leverage the power of jquery chaining and oop in a sense, so something like: > > $('#treemenu :nth-child(6)').insertBranch('...').bind('click', function().... Etc > > Easy to do, maintain and read... > > Regards > > John Smith > Learning Technologist > School of Health and Life Sciences > > Sent from Samsung Galaxy SII > > > > "Pat @ Pgogy" wrote: > > > It is a plugin, but you could link the raw GitHub stuff to save space. > > I think the jquery in XOT could be moved into a library into which D3 could be added > > I've got two D3 plugins half developed, but I've just bundled the JS in > > On 15 May 2013, at 15:44, Julian Tenney > wrote: > > There are some really nice examples on their site. I think it?s abit more than I need: it seems to be a whole jquery like plugin, rather than just the charting stuff. > > This is one example where being to load libraries from a CDN would be good, because then people can choose. I don?t know if you can make the charting setup FWS for anything but the simplest charts, which we already have. > > After equations though, academics would make a lot of use of charts. I suppose they can do them as images, but it?s a bit of a hassle. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 15 May 2013 15:33 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Charting Library > > D3 is pretty standard and jquery like > > On 15 May 2013, at 15:17, Julian Tenney > wrote: > The ability to show a range of charts would be a good addition to the site template, and the toolkit, it would complement the MathJax stuff nicely. > > Does anyone have any recommendations? > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Fri May 17 19:21:52 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Fri, 17 May 2013 20:21:52 +0200 Subject: [Xerte-dev] MathJax support is somewhat more complex then I hoped. Message-ID: <51967540.20402@tor.nl> MathJax has config options called for example AM_HTMLorMML and AM_HTMLorMML-full. The full version is larger and realy pre-includes everything, the non-full version includes the minimum, and only the rest of the html and css code if math is actually used. So, I changed the full to the non-full. But, you can also determine what input is available, and the AM_HTMLorMML-full we were using, only supports 'asciimath'. To support LaTeX as well, we need to use a different config: TeX-MML-AM_HTMLorMML So for the moment, that's what I have committed for xerte only at the moment. But perhaps AM_HTMLorMML would be enough, or we can make it an optional parameter of the LO. (default none?) For your information: AM_HTMLorMML 120kb AM_HTMLorMML-full 223kb TeX-MML-AM_HTMLorMML 215kb Tom -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From d_b_burnett at hotmail.com Mon May 20 11:01:23 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Mon, 20 May 2013 06:01:23 -0400 Subject: [Xerte-dev] Test - ignore In-Reply-To: References: Message-ID: No traffic on either Xerte list for 3 days? -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon May 20 11:02:49 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 20 May 2013 11:02:49 +0100 Subject: [Xerte-dev] Re: Test - ignore In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B9D4@EXCHANGE1.ad.nottingham.ac.uk> Weekend? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 20 May 2013 11:01 To: For Xerte technical developers Subject: [Xerte-dev] Test - ignore No traffic on either Xerte list for 3 days? -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Mon May 20 11:13:50 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Mon, 20 May 2013 06:13:50 -0400 Subject: [Xerte-dev] Re: Test - ignore In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B9D4@EXCHANGE1.ad.nottingham.ac.uk> References: , , <12C67A1EEC419342AF5E59DA31562C3F0C51B5B9D4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Never seemed to make a difference before. :-) From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 20 May 2013 11:02:49 +0100 Subject: [Xerte-dev] Re: Test - ignore Weekend? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 20 May 2013 11:01 To: For Xerte technical developers Subject: [Xerte-dev] Test - ignore No traffic on either Xerte list for 3 days? This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon May 20 11:14:32 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 20 May 2013 11:14:32 +0100 Subject: [Xerte-dev] Re: Test - ignore In-Reply-To: References: , , <12C67A1EEC419342AF5E59DA31562C3F0C51B5B9D4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B9F8@EXCHANGE1.ad.nottingham.ac.uk> Maybe we have solved all the problems? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 20 May 2013 11:14 To: For Xerte technical developers Subject: [Xerte-dev] Re: Test - ignore Never seemed to make a difference before. :-) ________________________________ From: Julian.Tenney at nottingham.ac.uk To: xerte-dev at lists.nottingham.ac.uk Date: Mon, 20 May 2013 11:02:49 +0100 Subject: [Xerte-dev] Re: Test - ignore Weekend? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 20 May 2013 11:01 To: For Xerte technical developers Subject: [Xerte-dev] Test - ignore No traffic on either Xerte list for 3 days? This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Mon May 20 11:56:13 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 20 May 2013 12:56:13 +0200 Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. In-Reply-To: <51967540.20402@tor.nl> References: <51967540.20402@tor.nl> Message-ID: <519A014D.7090902@tor.nl> Hmmm... the non-full configs seem to be incompatible with the way we feed texts to mathjax. Bootstrap just works once, and after refresh, I can't get it to work anymore.... So changed to TeX-MML-AM_HTMLorMML-full. Op 17-5-2013 20:21, Tom Reijnders schreef: > MathJax has config options called for example AM_HTMLorMML and > AM_HTMLorMML-full. > > The full version is larger and realy pre-includes everything, the > non-full version includes the minimum, and only the rest of the html > and css code if math is actually used. > > So, I changed the full to the non-full. > > But, you can also determine what input is available, and the > AM_HTMLorMML-full we were using, only supports 'asciimath'. To > support LaTeX as well, we need to use a different config: > TeX-MML-AM_HTMLorMML > > So for the moment, that's what I have committed for xerte only at the > moment. But perhaps AM_HTMLorMML would be enough, or we can make it an > optional parameter of the LO. (default none?) > > For your information: > AM_HTMLorMML 120kb > AM_HTMLorMML-full 223kb > TeX-MML-AM_HTMLorMML 215kb > > Tom > > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From Julian.Tenney at nottingham.ac.uk Mon May 20 12:01:58 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 20 May 2013 12:01:58 +0100 Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. In-Reply-To: <519A014D.7090902@tor.nl> References: <51967540.20402@tor.nl> <519A014D.7090902@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C51B5BA8A@EXCHANGE1.ad.nottingham.ac.uk> Ah, I didn't test it, I'll change it back -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 20 May 2013 11:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. Hmmm... the non-full configs seem to be incompatible with the way we feed texts to mathjax. Bootstrap just works once, and after refresh, I can't get it to work anymore.... So changed to TeX-MML-AM_HTMLorMML-full. Op 17-5-2013 20:21, Tom Reijnders schreef: > MathJax has config options called for example AM_HTMLorMML and > AM_HTMLorMML-full. > > The full version is larger and realy pre-includes everything, the > non-full version includes the minimum, and only the rest of the html > and css code if math is actually used. > > So, I changed the full to the non-full. > > But, you can also determine what input is available, and the > AM_HTMLorMML-full we were using, only supports 'asciimath'. To > support LaTeX as well, we need to use a different config: > TeX-MML-AM_HTMLorMML > > So for the moment, that's what I have committed for xerte only at the > moment. But perhaps AM_HTMLorMML would be enough, or we can make it an > optional parameter of the LO. (default none?) > > For your information: > AM_HTMLorMML 120kb > AM_HTMLorMML-full 223kb > TeX-MML-AM_HTMLorMML 215kb > > Tom > > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From J.J.Smith at gcu.ac.uk Mon May 20 11:12:00 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 20 May 2013 11:12:00 +0100 Subject: [Xerte-dev] Re: Test - ignore In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B9D4@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B9D4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: I was saving this for Monday... Should we write a book? Everyone else is and I think there is already plenty to go in one... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 20, 2013 11:03 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Test - ignore Weekend? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 20 May 2013 11:01 To: For Xerte technical developers Subject: [Xerte-dev] Test - ignore No traffic on either Xerte list for 3 days? This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From reijnders at tor.nl Mon May 20 12:03:55 2013 From: reijnders at tor.nl (Tom Reijnders) Date: Mon, 20 May 2013 13:03:55 +0200 Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5BA8A@EXCHANGE1.ad.nottingham.ac.uk> References: <51967540.20402@tor.nl> <519A014D.7090902@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51B5BA8A@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <519A031B.6020505@tor.nl> I already did that... Op 20-5-2013 13:01, Julian Tenney schreef: > Ah, I didn't test it, I'll change it back > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 20 May 2013 11:56 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. > > Hmmm... the non-full configs seem to be incompatible with the way we feed texts to mathjax. Bootstrap just works once, and after refresh, I can't get it to work anymore.... > > So changed to TeX-MML-AM_HTMLorMML-full. > > > Op 17-5-2013 20:21, Tom Reijnders schreef: >> MathJax has config options called for example AM_HTMLorMML and >> AM_HTMLorMML-full. >> >> The full version is larger and realy pre-includes everything, the >> non-full version includes the minimum, and only the rest of the html >> and css code if math is actually used. >> >> So, I changed the full to the non-full. >> >> But, you can also determine what input is available, and the >> AM_HTMLorMML-full we were using, only supports 'asciimath'. To >> support LaTeX as well, we need to use a different config: >> TeX-MML-AM_HTMLorMML >> >> So for the moment, that's what I have committed for xerte only at the >> moment. But perhaps AM_HTMLorMML would be enough, or we can make it an >> optional parameter of the LO. (default none?) >> >> For your information: >> AM_HTMLorMML 120kb >> AM_HTMLorMML-full 223kb >> TeX-MML-AM_HTMLorMML 215kb >> >> Tom >> >> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment > may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > > > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 From xerte at pgogywebstuff.com Mon May 20 12:13:21 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Mon, 20 May 2013 12:13:21 +0100 Subject: [Xerte-dev] Re: Test - ignore In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B9D4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: 50 shades of Xerte On 20 May 2013, at 11:12, "Smith, John" wrote: > I was saving this for Monday? > > Should we write a book? Everyone else is and I think there is already plenty to go in one? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Monday, May 20, 2013 11:03 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Test - ignore > > Weekend? > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett > Sent: 20 May 2013 11:01 > To: For Xerte technical developers > Subject: [Xerte-dev] Test - ignore > > No traffic on either Xerte list for 3 days? > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From d_b_burnett at hotmail.com Mon May 20 12:19:56 2013 From: d_b_burnett at hotmail.com (Dave Burnett) Date: Mon, 20 May 2013 07:19:56 -0400 Subject: [Xerte-dev] Re: Test - ignore In-Reply-To: References: , , <12C67A1EEC419342AF5E59DA31562C3F0C51B5B9D4@EXCHANGE1.ad.nottingham.ac.uk>, , Message-ID: Oooooh. From: xerte at pgogywebstuff.com Date: Mon, 20 May 2013 12:13:21 +0100 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Re: Test - ignore 50 shades of Xerte On 20 May 2013, at 11:12, "Smith, John" wrote: I was saving this for Monday? Should we write a book? Everyone else is and I think there is already plenty to go in one? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 20, 2013 11:03 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Test - ignore Weekend? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 20 May 2013 11:01 To: For Xerte technical developers Subject: [Xerte-dev] Test - ignore No traffic on either Xerte list for 3 days? This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Mon May 20 12:05:56 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 20 May 2013 12:05:56 +0100 Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C51B5BA8A@EXCHANGE1.ad.nottingham.ac.uk> References: <51967540.20402@tor.nl> <519A014D.7090902@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51B5BA8A@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: We have list issues again... Julian's replies are coming through but I've not received Tom's 11:56 or Dave's 11:01 email yet... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 20, 2013 12:02 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. Ah, I didn't test it, I'll change it back -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 20 May 2013 11:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. Hmmm... the non-full configs seem to be incompatible with the way we feed texts to mathjax. Bootstrap just works once, and after refresh, I can't get it to work anymore.... So changed to TeX-MML-AM_HTMLorMML-full. Op 17-5-2013 20:21, Tom Reijnders schreef: > MathJax has config options called for example AM_HTMLorMML and > AM_HTMLorMML-full. > > The full version is larger and realy pre-includes everything, the > non-full version includes the minimum, and only the rest of the html > and css code if math is actually used. > > So, I changed the full to the non-full. > > But, you can also determine what input is available, and the > AM_HTMLorMML-full we were using, only supports 'asciimath'. To > support LaTeX as well, we need to use a different config: > TeX-MML-AM_HTMLorMML > > So for the moment, that's what I have committed for xerte only at the > moment. But perhaps AM_HTMLorMML would be enough, or we can make it an > optional parameter of the LO. (default none?) > > For your information: > AM_HTMLorMML 120kb > AM_HTMLorMML-full 223kb > TeX-MML-AM_HTMLorMML 215kb > > Tom > > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html From J.J.Smith at gcu.ac.uk Mon May 20 12:43:56 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 20 May 2013 12:43:56 +0100 Subject: [Xerte-dev] Randomised assessment with automatically generated parameters/variables. Message-ID: Hi, Picked this up from the other list but thought I'd circulate it here for discussion. This is something we'd also like to do and I'm surprised there isn't a page type to do this already as it seems doable and worthwhile... Has this kind of thing ever been done and I'm just not seeing a way of doing it, other than manually via MCQ? We have numeracy requirements etc and it would be good to define a set of x questions to be randomly created based on range and precision settings. Could do in Flash but don't want to now we have the html5 stuff... We also have a load of XML files from an Authorware thing that was used here a few years ago to drive this and I'm going to see if I can produce a page type that will load and parse that to emulate what they did before in AW. Won't commit that if I do go down that route but would prefer to commit something everyone could use even if we have to convert all our XML to a different format to make it more compatible with the community requirements... What do people think? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Sheppard, Nick Sent: Monday, May 20, 2013 12:28 PM To: xerte at lists.nottingham.ac.uk Subject: [Xerte] Selling xerte to colleagues I have an academic colleague who currently uses CourseLab - I was telling him about xerte and he raised the following points if anyone could comment (I know can output as SCORM but not familiar enough with xerte on the other point): What I would need from such an authoring tool: - SCORM-compatibility - wide interactivity through programming, preferably Javascript, to allow randomised assessment with automatically generated parameters/variables. Thanks Nick Nick Sheppard Repository Developer The Headingley Library James Graham Building Leeds Metropolitan University Beckett Park Leeds LS6 3QS Tel: 0113 812 4731 email: n.e.sheppard at leedsmet.ac.uk blog: http://repositorynews.wordpress.com/ twitter: https://twitter.com/#!/mrnick Technical Officer - UK Council of research Repositories (UKCoRR) - http://www.ukcorr.org/ To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- An embedded and charset-unspecified text was scrubbed... Name: ATT00001.txt URL: From xerte at pgogywebstuff.com Mon May 20 12:55:39 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Mon, 20 May 2013 12:55:39 +0100 Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. In-Reply-To: References: <51967540.20402@tor.nl> <519A014D.7090902@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51B5BA8A@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: I had replies before seeing my own as well..... On 20 May 2013, at 12:05, "Smith, John" wrote: > We have list issues again... > > Julian's replies are coming through but I've not received Tom's 11:56 or Dave's 11:01 email yet... > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Monday, May 20, 2013 12:02 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. > > Ah, I didn't test it, I'll change it back > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 20 May 2013 11:56 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. > > Hmmm... the non-full configs seem to be incompatible with the way we feed texts to mathjax. Bootstrap just works once, and after refresh, I can't get it to work anymore.... > > So changed to TeX-MML-AM_HTMLorMML-full. > > > Op 17-5-2013 20:21, Tom Reijnders schreef: >> MathJax has config options called for example AM_HTMLorMML and >> AM_HTMLorMML-full. >> >> The full version is larger and realy pre-includes everything, the >> non-full version includes the minimum, and only the rest of the html >> and css code if math is actually used. >> >> So, I changed the full to the non-full. >> >> But, you can also determine what input is available, and the >> AM_HTMLorMML-full we were using, only supports 'asciimath'. To >> support LaTeX as well, we need to use a different config: >> TeX-MML-AM_HTMLorMML >> >> So for the moment, that's what I have committed for xerte only at the >> moment. But perhaps AM_HTMLorMML would be enough, or we can make it an >> optional parameter of the LO. (default none?) >> >> For your information: >> AM_HTMLorMML 120kb >> AM_HTMLorMML-full 223kb >> TeX-MML-AM_HTMLorMML 215kb >> >> Tom > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From xerte at pgogywebstuff.com Mon May 20 12:55:59 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Mon, 20 May 2013 12:55:59 +0100 Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. In-Reply-To: References: <51967540.20402@tor.nl> <519A014D.7090902@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51B5BA8A@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <45848182-21FD-490E-B8D8-A9D0558084F2@pgogywebstuff.com> 12:55 On 20 May 2013, at 12:05, "Smith, John" wrote: > We have list issues again... > > Julian's replies are coming through but I've not received Tom's 11:56 or Dave's 11:01 email yet... > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney > Sent: Monday, May 20, 2013 12:02 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. > > Ah, I didn't test it, I'll change it back > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders > Sent: 20 May 2013 11:56 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. > > Hmmm... the non-full configs seem to be incompatible with the way we feed texts to mathjax. Bootstrap just works once, and after refresh, I can't get it to work anymore.... > > So changed to TeX-MML-AM_HTMLorMML-full. > > > Op 17-5-2013 20:21, Tom Reijnders schreef: >> MathJax has config options called for example AM_HTMLorMML and >> AM_HTMLorMML-full. >> >> The full version is larger and realy pre-includes everything, the >> non-full version includes the minimum, and only the rest of the html >> and css code if math is actually used. >> >> So, I changed the full to the non-full. >> >> But, you can also determine what input is available, and the >> AM_HTMLorMML-full we were using, only supports 'asciimath'. To >> support LaTeX as well, we need to use a different config: >> TeX-MML-AM_HTMLorMML >> >> So for the moment, that's what I have committed for xerte only at the >> moment. But perhaps AM_HTMLorMML would be enough, or we can make it an >> optional parameter of the LO. (default none?) >> >> For your information: >> AM_HTMLorMML 120kb >> AM_HTMLorMML-full 223kb >> TeX-MML-AM_HTMLorMML 215kb >> >> Tom > > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Mon May 20 14:05:23 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 20 May 2013 14:05:23 +0100 Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C635E4E10@EXCHANGE1.ad.nottingham.ac.uk> Look at the numcalcs template in the svn From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 May 2013 12:44 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Randomised assessment with automatically generated parameters/variables. Hi, Picked this up from the other list but thought I'd circulate it here for discussion. This is something we'd also like to do and I'm surprised there isn't a page type to do this already as it seems doable and worthwhile... Has this kind of thing ever been done and I'm just not seeing a way of doing it, other than manually via MCQ? We have numeracy requirements etc and it would be good to define a set of x questions to be randomly created based on range and precision settings. Could do in Flash but don't want to now we have the html5 stuff... We also have a load of XML files from an Authorware thing that was used here a few years ago to drive this and I'm going to see if I can produce a page type that will load and parse that to emulate what they did before in AW. Won't commit that if I do go down that route but would prefer to commit something everyone could use even if we have to convert all our XML to a different format to make it more compatible with the community requirements... What do people think? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Sheppard, Nick Sent: Monday, May 20, 2013 12:28 PM To: xerte at lists.nottingham.ac.uk Subject: [Xerte] Selling xerte to colleagues I have an academic colleague who currently uses CourseLab - I was telling him about xerte and he raised the following points if anyone could comment (I know can output as SCORM but not familiar enough with xerte on the other point): What I would need from such an authoring tool: - SCORM-compatibility - wide interactivity through programming, preferably Javascript, to allow randomised assessment with automatically generated parameters/variables. Thanks Nick Nick Sheppard Repository Developer The Headingley Library James Graham Building Leeds Metropolitan University Beckett Park Leeds LS6 3QS Tel: 0113 812 4731 email: n.e.sheppard at leedsmet.ac.uk blog: http://repositorynews.wordpress.com/ twitter: https://twitter.com/#!/mrnick Technical Officer - UK Council of research Repositories (UKCoRR) - http://www.ukcorr.org/ To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon May 20 13:48:16 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 20 May 2013 13:48:16 +0100 Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. In-Reply-To: <519A031B.6020505@tor.nl> References: <51967540.20402@tor.nl> <519A014D.7090902@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51B5BA8A@EXCHANGE1.ad.nottingham.ac.uk> <519A031B.6020505@tor.nl> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C635E4DF3@EXCHANGE1.ad.nottingham.ac.uk> Thanks! -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 20 May 2013 12:04 To: For Xerte technical developers Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. I already did that... Op 20-5-2013 13:01, Julian Tenney schreef: > Ah, I didn't test it, I'll change it back > > -----Original Message----- > From: xerte-dev-bounces at lists.nottingham.ac.uk > [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom > Reijnders > Sent: 20 May 2013 11:56 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. > > Hmmm... the non-full configs seem to be incompatible with the way we feed texts to mathjax. Bootstrap just works once, and after refresh, I can't get it to work anymore.... > > So changed to TeX-MML-AM_HTMLorMML-full. > > > Op 17-5-2013 20:21, Tom Reijnders schreef: >> MathJax has config options called for example AM_HTMLorMML and >> AM_HTMLorMML-full. >> >> The full version is larger and realy pre-includes everything, the >> non-full version includes the minimum, and only the rest of the html >> and css code if math is actually used. >> >> So, I changed the full to the non-full. >> >> But, you can also determine what input is available, and the >> AM_HTMLorMML-full we were using, only supports 'asciimath'. To >> support LaTeX as well, we need to use a different config: >> TeX-MML-AM_HTMLorMML >> >> So for the moment, that's what I have committed for xerte only at the >> moment. But perhaps AM_HTMLorMML would be enough, or we can make it >> an optional parameter of the LO. (default none?) >> >> For your information: >> AM_HTMLorMML 120kb >> AM_HTMLorMML-full 223kb >> TeX-MML-AM_HTMLorMML 215kb >> >> Tom >> >> > -- > -- > > Tom Reijnders > TOR Informatica > Chopinlaan 27 > 5242HM Rosmalen > Tel: 073 5226191 > Fax: 073 5226196 > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an > attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > > > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Mon May 20 13:48:16 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 20 May 2013 13:48:16 +0100 Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. In-Reply-To: References: <51967540.20402@tor.nl> <519A014D.7090902@tor.nl> <12C67A1EEC419342AF5E59DA31562C3F0C51B5BA8A@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C635E4DF5@EXCHANGE1.ad.nottingham.ac.uk> We've currently got no network access at all, so this will surface from my sentbox sometime later, -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 May 2013 12:06 To: For Xerte technical developers Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. We have list issues again... Julian's replies are coming through but I've not received Tom's 11:56 or Dave's 11:01 email yet... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 20, 2013 12:02 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. Ah, I didn't test it, I'll change it back -----Original Message----- From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Tom Reijnders Sent: 20 May 2013 11:56 To: For Xerte technical developers Subject: [Xerte-dev] Re: MathJax support is somewhat more complex then I hoped. Hmmm... the non-full configs seem to be incompatible with the way we feed texts to mathjax. Bootstrap just works once, and after refresh, I can't get it to work anymore.... So changed to TeX-MML-AM_HTMLorMML-full. Op 17-5-2013 20:21, Tom Reijnders schreef: > MathJax has config options called for example AM_HTMLorMML and > AM_HTMLorMML-full. > > The full version is larger and realy pre-includes everything, the > non-full version includes the minimum, and only the rest of the html > and css code if math is actually used. > > So, I changed the full to the non-full. > > But, you can also determine what input is available, and the > AM_HTMLorMML-full we were using, only supports 'asciimath'. To > support LaTeX as well, we need to use a different config: > TeX-MML-AM_HTMLorMML > > So for the moment, that's what I have committed for xerte only at the > moment. But perhaps AM_HTMLorMML would be enough, or we can make it an > optional parameter of the LO. (default none?) > > For your information: > AM_HTMLorMML 120kb > AM_HTMLorMML-full 223kb > TeX-MML-AM_HTMLorMML 215kb > > Tom > > -- -- Tom Reijnders TOR Informatica Chopinlaan 27 5242HM Rosmalen Tel: 073 5226191 Fax: 073 5226196 _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev From Julian.Tenney at nottingham.ac.uk Mon May 20 14:06:22 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 20 May 2013 14:06:22 +0100 Subject: [Xerte-dev] Re: Test - ignore In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B9D4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C635E4E13@EXCHANGE1.ad.nottingham.ac.uk> There was an initiative recently to write a book, but I think it fizzled out. Ron and I were involved: Ron, is it still alive? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 May 2013 11:12 To: For Xerte technical developers Subject: [Xerte-dev] Re: Test - ignore I was saving this for Monday... Should we write a book? Everyone else is and I think there is already plenty to go in one... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 20, 2013 11:03 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Test - ignore Weekend? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 20 May 2013 11:01 To: For Xerte technical developers Subject: [Xerte-dev] Test - ignore No traffic on either Xerte list for 3 days? This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Mon May 20 13:48:16 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Mon, 20 May 2013 13:48:16 +0100 Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. In-Reply-To: References: Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C635E4DF4@EXCHANGE1.ad.nottingham.ac.uk> We've done a lot of stuff like that, but not so much in toolkits, I think because things are too general to generalise without understanding what class of problems you want to generate, and there are many classes of problem. If you look at the template 'numerical calculations' you'll see an attempt at it that we used in the faculty of engineering for a while, which IIRC, took a formula, defined variables for it, and ranges for them, and then did much of what you say. We could start from there and make an HTML5 one. The trick will making it FWS. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 May 2013 12:44 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Randomised assessment with automatically generated parameters/variables. Hi, Picked this up from the other list but thought I'd circulate it here for discussion. This is something we'd also like to do and I'm surprised there isn't a page type to do this already as it seems doable and worthwhile... Has this kind of thing ever been done and I'm just not seeing a way of doing it, other than manually via MCQ? We have numeracy requirements etc and it would be good to define a set of x questions to be randomly created based on range and precision settings. Could do in Flash but don't want to now we have the html5 stuff... We also have a load of XML files from an Authorware thing that was used here a few years ago to drive this and I'm going to see if I can produce a page type that will load and parse that to emulate what they did before in AW. Won't commit that if I do go down that route but would prefer to commit something everyone could use even if we have to convert all our XML to a different format to make it more compatible with the community requirements... What do people think? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Sheppard, Nick Sent: Monday, May 20, 2013 12:28 PM To: xerte at lists.nottingham.ac.uk Subject: [Xerte] Selling xerte to colleagues I have an academic colleague who currently uses CourseLab - I was telling him about xerte and he raised the following points if anyone could comment (I know can output as SCORM but not familiar enough with xerte on the other point): What I would need from such an authoring tool: - SCORM-compatibility - wide interactivity through programming, preferably Javascript, to allow randomised assessment with automatically generated parameters/variables. Thanks Nick Nick Sheppard Repository Developer The Headingley Library James Graham Building Leeds Metropolitan University Beckett Park Leeds LS6 3QS Tel: 0113 812 4731 email: n.e.sheppard at leedsmet.ac.uk blog: http://repositorynews.wordpress.com/ twitter: https://twitter.com/#!/mrnick Technical Officer - UK Council of research Repositories (UKCoRR) - http://www.ukcorr.org/ To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Mon May 20 14:32:21 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Mon, 20 May 2013 14:32:21 +0100 Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. In-Reply-To: References: Message-ID: <3E68142D-6FE4-4AA2-AC6B-7E245EE44C00@pgogywebstuff.com> What about a question bank template you could use and draw into other quizzes? On 20 May 2013, at 12:43, "Smith, John" wrote: > Hi, > > Picked this up from the other list but thought I?d circulate it here for discussion. This is something we?d also like to do and I?m surprised there isn?t a page type to do this already as it seems doable and worthwhile? > > Has this kind of thing ever been done and I?m just not seeing a way of doing it, other than manually via MCQ? We have numeracy requirements etc and it would be good to define a set of x questions to be randomly created based on range and precision settings. Could do in Flash but don?t want to now we have the html5 stuff? > > We also have a load of XML files from an Authorware thing that was used here a few years ago to drive this and I?m going to see if I can produce a page type that will load and parse that to emulate what they did before in AW. Won?t commit that if I do go down that route but would prefer to commit something everyone could use even if we have to convert all our XML to a different format to make it more compatible with the community requirements? > > What do people think? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Sheppard, Nick > Sent: Monday, May 20, 2013 12:28 PM > To: xerte at lists.nottingham.ac.uk > Subject: [Xerte] Selling xerte to colleagues > > I have an academic colleague who currently uses CourseLab ? I was telling him about xerte and he raised the following points if anyone could comment (I know can output as SCORM but not familiar enough with xerte on the other point): > > What I would need from such an authoring tool: > - SCORM-compatibility > - wide interactivity through programming, preferably Javascript, to allow randomised assessment with automatically generated parameters/variables. > > Thanks > > Nick > > > Nick Sheppard > > Repository Developer > The Headingley Library > James Graham Building > Leeds Metropolitan University > Beckett Park > Leeds > LS6 3QS > Tel: 0113 812 4731 > email: n.e.sheppard at leedsmet.ac.uk > blog: http://repositorynews.wordpress.com/ > twitter: https://twitter.com/#!/mrnick > > Technical Officer - UK Council of research Repositories (UKCoRR) - http://www.ukcorr.org/ > > > > To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm > > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Mon May 20 16:38:38 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 20 May 2013 16:38:38 +0100 Subject: [Xerte-dev] Re: Test - ignore In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C635E4E13@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C51B5B9D4@EXCHANGE1.ad.nottingham.ac.uk> <12C67A1EEC419342AF5E59DA31562C3F0C635E4E13@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: A chapter or 2 each shouldn't be that hard should it? Especially given all the documentation etc... and even the new stuff it can do since I've got involved that are still in infancy or impending: plugins, modularity, Scorm/ Experience API, html5 editor, Is it worthwhile though? I think it might be... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 20, 2013 2:06 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Test - ignore There was an initiative recently to write a book, but I think it fizzled out. Ron and I were involved: Ron, is it still alive? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 May 2013 11:12 To: For Xerte technical developers Subject: [Xerte-dev] Re: Test - ignore I was saving this for Monday... Should we write a book? Everyone else is and I think there is already plenty to go in one... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 20, 2013 11:03 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Test - ignore Weekend? From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett Sent: 20 May 2013 11:01 To: For Xerte technical developers Subject: [Xerte-dev] Test - ignore No traffic on either Xerte list for 3 days? This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Mon May 20 16:23:53 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 20 May 2013 16:23:53 +0100 Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C635E4DF4@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C635E4DF4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Ah right ok, I've not fully explored what's possible from the other templates yet - I always assume that it's all been incorporated into the Nottingham one now... I'll take a look and see how we could adapt it and if I get something working then I'lll share... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 20, 2013 1:48 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. We've done a lot of stuff like that, but not so much in toolkits, I think because things are too general to generalise without understanding what class of problems you want to generate, and there are many classes of problem. If you look at the template 'numerical calculations' you'll see an attempt at it that we used in the faculty of engineering for a while, which IIRC, took a formula, defined variables for it, and ranges for them, and then did much of what you say. We could start from there and make an HTML5 one. The trick will making it FWS. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 May 2013 12:44 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Randomised assessment with automatically generated parameters/variables. Hi, Picked this up from the other list but thought I'd circulate it here for discussion. This is something we'd also like to do and I'm surprised there isn't a page type to do this already as it seems doable and worthwhile... Has this kind of thing ever been done and I'm just not seeing a way of doing it, other than manually via MCQ? We have numeracy requirements etc and it would be good to define a set of x questions to be randomly created based on range and precision settings. Could do in Flash but don't want to now we have the html5 stuff... We also have a load of XML files from an Authorware thing that was used here a few years ago to drive this and I'm going to see if I can produce a page type that will load and parse that to emulate what they did before in AW. Won't commit that if I do go down that route but would prefer to commit something everyone could use even if we have to convert all our XML to a different format to make it more compatible with the community requirements... What do people think? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Sheppard, Nick Sent: Monday, May 20, 2013 12:28 PM To: xerte at lists.nottingham.ac.uk Subject: [Xerte] Selling xerte to colleagues I have an academic colleague who currently uses CourseLab - I was telling him about xerte and he raised the following points if anyone could comment (I know can output as SCORM but not familiar enough with xerte on the other point): What I would need from such an authoring tool: - SCORM-compatibility - wide interactivity through programming, preferably Javascript, to allow randomised assessment with automatically generated parameters/variables. Thanks Nick Nick Sheppard Repository Developer The Headingley Library James Graham Building Leeds Metropolitan University Beckett Park Leeds LS6 3QS Tel: 0113 812 4731 email: n.e.sheppard at leedsmet.ac.uk blog: http://repositorynews.wordpress.com/ twitter: https://twitter.com/#!/mrnick Technical Officer - UK Council of research Repositories (UKCoRR) - http://www.ukcorr.org/ To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Mon May 20 16:21:25 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Mon, 20 May 2013 16:21:25 +0100 Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. In-Reply-To: <3E68142D-6FE4-4AA2-AC6B-7E245EE44C00@pgogywebstuff.com> References: <3E68142D-6FE4-4AA2-AC6B-7E245EE44C00@pgogywebstuff.com> Message-ID: Can that be done just now? How do you do it? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Monday, May 20, 2013 2:32 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. What about a question bank template you could use and draw into other quizzes? On 20 May 2013, at 12:43, "Smith, John" > wrote: Hi, Picked this up from the other list but thought I?d circulate it here for discussion. This is something we?d also like to do and I?m surprised there isn?t a page type to do this already as it seems doable and worthwhile? Has this kind of thing ever been done and I?m just not seeing a way of doing it, other than manually via MCQ? We have numeracy requirements etc and it would be good to define a set of x questions to be randomly created based on range and precision settings. Could do in Flash but don?t want to now we have the html5 stuff? We also have a load of XML files from an Authorware thing that was used here a few years ago to drive this and I?m going to see if I can produce a page type that will load and parse that to emulate what they did before in AW. Won?t commit that if I do go down that route but would prefer to commit something everyone could use even if we have to convert all our XML to a different format to make it more compatible with the community requirements? What do people think? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Sheppard, Nick Sent: Monday, May 20, 2013 12:28 PM To: xerte at lists.nottingham.ac.uk Subject: [Xerte] Selling xerte to colleagues I have an academic colleague who currently uses CourseLab ? I was telling him about xerte and he raised the following points if anyone could comment (I know can output as SCORM but not familiar enough with xerte on the other point): What I would need from such an authoring tool: - SCORM-compatibility - wide interactivity through programming, preferably Javascript, to allow randomised assessment with automatically generated parameters/variables. Thanks Nick Nick Sheppard Repository Developer The Headingley Library James Graham Building Leeds Metropolitan University Beckett Park Leeds LS6 3QS Tel: 0113 812 4731 email: n.e.sheppard at leedsmet.ac.uk blog: http://repositorynews.wordpress.com/ twitter: https://twitter.com/#!/mrnick Technical Officer - UK Council of research Repositories (UKCoRR) - http://www.ukcorr.org/ To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Mon May 20 19:28:47 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Mon, 20 May 2013 19:28:47 +0100 Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. In-Reply-To: References: <3E68142D-6FE4-4AA2-AC6B-7E245EE44C00@pgogywebstuff.com> Message-ID: <3D0D18E6-ADAB-489C-84CF-48A8C0B414C2@pgogywebstuff.com> Create new template type It only supports questions Make new page type which access the XML for this Templates as libraries On 20 May 2013, at 16:21, "Smith, John" wrote: > Can that be done just now? How do you do it? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Monday, May 20, 2013 2:32 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. > > What about a question bank template you could use and draw into other quizzes? > > On 20 May 2013, at 12:43, "Smith, John" wrote: > > Hi, > > Picked this up from the other list but thought I?d circulate it here for discussion. This is something we?d also like to do and I?m surprised there isn?t a page type to do this already as it seems doable and worthwhile? > > Has this kind of thing ever been done and I?m just not seeing a way of doing it, other than manually via MCQ? We have numeracy requirements etc and it would be good to define a set of x questions to be randomly created based on range and precision settings. Could do in Flash but don?t want to now we have the html5 stuff? > > We also have a load of XML files from an Authorware thing that was used here a few years ago to drive this and I?m going to see if I can produce a page type that will load and parse that to emulate what they did before in AW. Won?t commit that if I do go down that route but would prefer to commit something everyone could use even if we have to convert all our XML to a different format to make it more compatible with the community requirements? > > What do people think? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Sheppard, Nick > Sent: Monday, May 20, 2013 12:28 PM > To: xerte at lists.nottingham.ac.uk > Subject: [Xerte] Selling xerte to colleagues > > I have an academic colleague who currently uses CourseLab ? I was telling him about xerte and he raised the following points if anyone could comment (I know can output as SCORM but not familiar enough with xerte on the other point): > > What I would need from such an authoring tool: > - SCORM-compatibility > - wide interactivity through programming, preferably Javascript, to allow randomised assessment with automatically generated parameters/variables. > > Thanks > > Nick > > > Nick Sheppard > > Repository Developer > The Headingley Library > James Graham Building > Leeds Metropolitan University > Beckett Park > Leeds > LS6 3QS > Tel: 0113 812 4731 > email: n.e.sheppard at leedsmet.ac.uk > blog: http://repositorynews.wordpress.com/ > twitter: https://twitter.com/#!/mrnick > > Technical Officer - UK Council of research Repositories (UKCoRR) - http://www.ukcorr.org/ > > > > To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm > > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Tue May 21 09:29:40 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 21 May 2013 09:29:40 +0100 Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. In-Reply-To: <3D0D18E6-ADAB-489C-84CF-48A8C0B414C2@pgogywebstuff.com> References: <3E68142D-6FE4-4AA2-AC6B-7E245EE44C00@pgogywebstuff.com> <3D0D18E6-ADAB-489C-84CF-48A8C0B414C2@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C669274B3@EXCHANGE1.ad.nottingham.ac.uk> Right now you can add questions to the quiz and then just select 10 from say 25 questions in that quiz, but not from a separate bank. As Pat says, it would be easy to make a wizard for building questions, and then you can link to that xml from the template. QTI would be relevant ? but probably make things more complicated (we have found that unless questions banks are QTI, staff are very reluctant to invest time in creating the questions, because good questions take ages to write, and you want to be able to reuse them). From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 20 May 2013 19:29 To: For Xerte technical developers Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. Create new template type It only supports questions Make new page type which access the XML for this Templates as libraries On 20 May 2013, at 16:21, "Smith, John" > wrote: Can that be done just now? How do you do it? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Monday, May 20, 2013 2:32 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. What about a question bank template you could use and draw into other quizzes? On 20 May 2013, at 12:43, "Smith, John" > wrote: Hi, Picked this up from the other list but thought I?d circulate it here for discussion. This is something we?d also like to do and I?m surprised there isn?t a page type to do this already as it seems doable and worthwhile? Has this kind of thing ever been done and I?m just not seeing a way of doing it, other than manually via MCQ? We have numeracy requirements etc and it would be good to define a set of x questions to be randomly created based on range and precision settings. Could do in Flash but don?t want to now we have the html5 stuff? We also have a load of XML files from an Authorware thing that was used here a few years ago to drive this and I?m going to see if I can produce a page type that will load and parse that to emulate what they did before in AW. Won?t commit that if I do go down that route but would prefer to commit something everyone could use even if we have to convert all our XML to a different format to make it more compatible with the community requirements? What do people think? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Sheppard, Nick Sent: Monday, May 20, 2013 12:28 PM To: xerte at lists.nottingham.ac.uk Subject: [Xerte] Selling xerte to colleagues I have an academic colleague who currently uses CourseLab ? I was telling him about xerte and he raised the following points if anyone could comment (I know can output as SCORM but not familiar enough with xerte on the other point): What I would need from such an authoring tool: - SCORM-compatibility - wide interactivity through programming, preferably Javascript, to allow randomised assessment with automatically generated parameters/variables. Thanks Nick Nick Sheppard Repository Developer The Headingley Library James Graham Building Leeds Metropolitan University Beckett Park Leeds LS6 3QS Tel: 0113 812 4731 email: n.e.sheppard at leedsmet.ac.uk blog: http://repositorynews.wordpress.com/ twitter: https://twitter.com/#!/mrnick Technical Officer - UK Council of research Repositories (UKCoRR) - http://www.ukcorr.org/ To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. _______________________________________________ Xerte mailing list Xerte at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Tue May 21 09:30:26 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 21 May 2013 09:30:26 +0100 Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C635E4DF4@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C669274B6@EXCHANGE1.ad.nottingham.ac.uk> >- I always assume that it's all been incorporated into the Nottingham one now... It probably should be. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 May 2013 16:24 To: For Xerte technical developers Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. Ah right ok, I've not fully explored what's possible from the other templates yet - I always assume that it's all been incorporated into the Nottingham one now... I'll take a look and see how we could adapt it and if I get something working then I'lll share... Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Monday, May 20, 2013 1:48 PM To: For Xerte technical developers Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. We've done a lot of stuff like that, but not so much in toolkits, I think because things are too general to generalise without understanding what class of problems you want to generate, and there are many classes of problem. If you look at the template 'numerical calculations' you'll see an attempt at it that we used in the faculty of engineering for a while, which IIRC, took a formula, defined variables for it, and ranges for them, and then did much of what you say. We could start from there and make an HTML5 one. The trick will making it FWS. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 20 May 2013 12:44 To: xerte-dev at lists.nottingham.ac.uk Subject: [Xerte-dev] Randomised assessment with automatically generated parameters/variables. Hi, Picked this up from the other list but thought I'd circulate it here for discussion. This is something we'd also like to do and I'm surprised there isn't a page type to do this already as it seems doable and worthwhile... Has this kind of thing ever been done and I'm just not seeing a way of doing it, other than manually via MCQ? We have numeracy requirements etc and it would be good to define a set of x questions to be randomly created based on range and precision settings. Could do in Flash but don't want to now we have the html5 stuff... We also have a load of XML files from an Authorware thing that was used here a few years ago to drive this and I'm going to see if I can produce a page type that will load and parse that to emulate what they did before in AW. Won't commit that if I do go down that route but would prefer to commit something everyone could use even if we have to convert all our XML to a different format to make it more compatible with the community requirements... What do people think? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Sheppard, Nick Sent: Monday, May 20, 2013 12:28 PM To: xerte at lists.nottingham.ac.uk Subject: [Xerte] Selling xerte to colleagues I have an academic colleague who currently uses CourseLab - I was telling him about xerte and he raised the following points if anyone could comment (I know can output as SCORM but not familiar enough with xerte on the other point): What I would need from such an authoring tool: - SCORM-compatibility - wide interactivity through programming, preferably Javascript, to allow randomised assessment with automatically generated parameters/variables. Thanks Nick Nick Sheppard Repository Developer The Headingley Library James Graham Building Leeds Metropolitan University Beckett Park Leeds LS6 3QS Tel: 0113 812 4731 email: n.e.sheppard at leedsmet.ac.uk blog: http://repositorynews.wordpress.com/ twitter: https://twitter.com/#!/mrnick Technical Officer - UK Council of research Repositories (UKCoRR) - http://www.ukcorr.org/ To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Tue May 21 10:00:23 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Tue, 21 May 2013 10:00:23 +0100 Subject: [Xerte-dev] Upload and security Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C66927500@EXCHANGE1.ad.nottingham.ac.uk> Just reprising a recent conversation about uploading javascript. You guys weren't keen. I just uploaded a txt file with javascript in it, loaded via a script tag in the bootstrap template and it - of course - executes, but we knew that anyway. Is it the case that only authorised users - those logged in - can get anything through upload.php? Should authorised users be able to upload javascript? Second and slightly related question, playing around with the bootstrap template wizard: I got it adding canvas, and thought about other userful building blocks for developers. You could define them in a text icon and then script them from a script icon, so are we gaining anything at the expense of confusing users who don't know what scripts and canvases do? I just though 'well, where does it end? Divs, styles, etc' and we can do it all with text anyway. But in looking at some of this stuff, it would really be handy to be able to upload scripts, because writing anything more than trivial in the wizard is going to be gribbly. What do you think? [cid:image001.png at 01CE560A.0271B0B0] -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 104998 bytes Desc: image001.png URL: From xerte at pgogywebstuff.com Wed May 22 10:01:23 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Wed, 22 May 2013 10:01:23 +0100 Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C669274B3@EXCHANGE1.ad.nottingham.ac.uk> References: <3E68142D-6FE4-4AA2-AC6B-7E245EE44C00@pgogywebstuff.com> <3D0D18E6-ADAB-489C-84CF-48A8C0B414C2@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C669274B3@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <9741D1DA-1515-4F10-89EB-F267C6E7A513@pgogywebstuff.com> QTI is XML though? So suited to a template built around it? Some scope in an OER question bank? I quite like the idea of projects as libraries though On 21 May 2013, at 09:29, Julian Tenney wrote: > Right now you can add questions to the quiz and then just select 10 from say 25 questions in that quiz, but not from a separate bank. > > As Pat says, it would be easy to make a wizard for building questions, and then you can link to that xml from the template. QTI would be relevant ? but probably make things more complicated (we have found that unless questions banks are QTI, staff are very reluctant to invest time in creating the questions, because good questions take ages to write, and you want to be able to reuse them). > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: 20 May 2013 19:29 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. > > Create new template type > > It only supports questions > > Make new page type which access the XML for this > > Templates as libraries > > On 20 May 2013, at 16:21, "Smith, John" wrote: > > Can that be done just now? How do you do it? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Monday, May 20, 2013 2:32 PM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Randomised assessment with automatically generated parameters/variables. > > What about a question bank template you could use and draw into other quizzes? > > On 20 May 2013, at 12:43, "Smith, John" wrote: > > Hi, > > Picked this up from the other list but thought I?d circulate it here for discussion. This is something we?d also like to do and I?m surprised there isn?t a page type to do this already as it seems doable and worthwhile? > > Has this kind of thing ever been done and I?m just not seeing a way of doing it, other than manually via MCQ? We have numeracy requirements etc and it would be good to define a set of x questions to be randomly created based on range and precision settings. Could do in Flash but don?t want to now we have the html5 stuff? > > We also have a load of XML files from an Authorware thing that was used here a few years ago to drive this and I?m going to see if I can produce a page type that will load and parse that to emulate what they did before in AW. Won?t commit that if I do go down that route but would prefer to commit something everyone could use even if we have to convert all our XML to a different format to make it more compatible with the community requirements? > > What do people think? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Sheppard, Nick > Sent: Monday, May 20, 2013 12:28 PM > To: xerte at lists.nottingham.ac.uk > Subject: [Xerte] Selling xerte to colleagues > > I have an academic colleague who currently uses CourseLab ? I was telling him about xerte and he raised the following points if anyone could comment (I know can output as SCORM but not familiar enough with xerte on the other point): > > What I would need from such an authoring tool: > - SCORM-compatibility > - wide interactivity through programming, preferably Javascript, to allow randomised assessment with automatically generated parameters/variables. > > Thanks > > Nick > > > Nick Sheppard > > Repository Developer > The Headingley Library > James Graham Building > Leeds Metropolitan University > Beckett Park > Leeds > LS6 3QS > Tel: 0113 812 4731 > email: n.e.sheppard at leedsmet.ac.uk > blog: http://repositorynews.wordpress.com/ > twitter: https://twitter.com/#!/mrnick > > Technical Officer - UK Council of research Repositories (UKCoRR) - http://www.ukcorr.org/ > > > > To view the terms under which this email is distributed, please go to http://disclaimer.leedsmet.ac.uk/email.htm > > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > > _______________________________________________ > Xerte mailing list > Xerte at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Wed May 22 09:58:51 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Wed, 22 May 2013 09:58:51 +0100 Subject: [Xerte-dev] Re: Upload and security In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C66927500@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C66927500@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <22A4A693-556B-4C74-AC18-B9C01E08866E@pgogywebstuff.com> JavaScript is in the banned list I think I'd ask what you want the bootstrap to be - a mini website for Non-techies or a sort of techie play space? On 21 May 2013, at 10:00, Julian Tenney wrote: > Just reprising a recent conversation about uploading javascript. You guys weren?t keen. I just uploaded a txt file with javascript in it, loaded via a script tag in the bootstrap template and it ? of course ? executes, but we knew that anyway. > > Is it the case that only authorised users ? those logged in ? can get anything through upload.php? Should authorised users be able to upload javascript? > > Second and slightly related question, playing around with the bootstrap template wizard: I got it adding canvas, and thought about other userful building blocks for developers. You could define them in a text icon and then script them from a script icon, so are we gaining anything at the expense of confusing users who don?t know what scripts and canvases do? I just though ?well, where does it end? Divs, styles, etc? and we can do it all with text anyway. But in looking at some of this stuff, it would really be handy to be able to upload scripts, because writing anything more than trivial in the wizard is going to be gribbly. > > What do you think? > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Wed May 22 10:42:08 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 22 May 2013 10:42:08 +0100 Subject: [Xerte-dev] Re: Upload and security In-Reply-To: <22A4A693-556B-4C74-AC18-B9C01E08866E@pgogywebstuff.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C66927500@EXCHANGE1.ad.nottingham.ac.uk> <22A4A693-556B-4C74-AC18-B9C01E08866E@pgogywebstuff.com> Message-ID: .js extension is in the blacklist but as Julian has proved it is a bit pointless? What we need is to whitelist and do some form of mime detection, but I?ve not been able to get anything working reliably yet? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Wednesday, May 22, 2013 9:59 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Upload and security JavaScript is in the banned list I think I'd ask what you want the bootstrap to be - a mini website for Non-techies or a sort of techie play space? On 21 May 2013, at 10:00, Julian Tenney > wrote: Just reprising a recent conversation about uploading javascript. You guys weren?t keen. I just uploaded a txt file with javascript in it, loaded via a script tag in the bootstrap template and it ? of course ? executes, but we knew that anyway. Is it the case that only authorised users ? those logged in ? can get anything through upload.php? Should authorised users be able to upload javascript? Second and slightly related question, playing around with the bootstrap template wizard: I got it adding canvas, and thought about other userful building blocks for developers. You could define them in a text icon and then script them from a script icon, so are we gaining anything at the expense of confusing users who don?t know what scripts and canvases do? I just though ?well, where does it end? Divs, styles, etc? and we can do it all with text anyway. But in looking at some of this stuff, it would really be handy to be able to upload scripts, because writing anything more than trivial in the wizard is going to be gribbly. What do you think? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Wed May 22 10:59:50 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 22 May 2013 10:59:50 +0100 Subject: [Xerte-dev] Re: Upload and security In-Reply-To: <22A4A693-556B-4C74-AC18-B9C01E08866E@pgogywebstuff.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C66927500@EXCHANGE1.ad.nottingham.ac.uk> <22A4A693-556B-4C74-AC18-B9C01E08866E@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C66927A7F@EXCHANGE1.ad.nottingham.ac.uk> > I'd ask what you want the bootstrap to be - a mini website for Non-techies or a sort of techie play space? Both. I did few things over the last few days: I added some new nodes that are defined as advanced. You only see them if you click the show advanced checkbox ? see below, you can toggle the script, canvas and html nodes on or off, they appear below the divider. So non-techs never need to see them. Rather than try and support a load of different html tags (I did canvas and thought, hang on, where does this end?), I added a specific tag for html, to distinguish it from text elements (second show below), mainly because bootstrap has all those components that you need to define using html, and they are useful if you know what to do with them ? and you also need to write javascript to use them or respond to user input). I also added the ability to define styles on the project (root) icon, via an optional property, and as well, you can upload a stylesheet if you?d rather. You already know I added the ability to load third party libraries, and there is a script tag for writing javascript (third show below). You can see this piece at http://www.nottingham.ac.uk/toolkits/play_8222). So all in all, it?s very powerful. [cid:image001.png at 01CE56DB.1C445570] [cid:image002.png at 01CE56DB.1C445570] [cid:image003.png at 01CE56DB.7B60EFA0] From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: 22 May 2013 09:59 To: For Xerte technical developers Subject: [Xerte-dev] Re: Upload and security JavaScript is in the banned list I think I'd ask what you want the bootstrap to be - a mini website for Non-techies or a sort of techie play space? On 21 May 2013, at 10:00, Julian Tenney > wrote: Just reprising a recent conversation about uploading javascript. You guys weren?t keen. I just uploaded a txt file with javascript in it, loaded via a script tag in the bootstrap template and it ? of course ? executes, but we knew that anyway. Is it the case that only authorised users ? those logged in ? can get anything through upload.php? Should authorised users be able to upload javascript? Second and slightly related question, playing around with the bootstrap template wizard: I got it adding canvas, and thought about other userful building blocks for developers. You could define them in a text icon and then script them from a script icon, so are we gaining anything at the expense of confusing users who don?t know what scripts and canvases do? I just though ?well, where does it end? Divs, styles, etc? and we can do it all with text anyway. But in looking at some of this stuff, it would really be handy to be able to upload scripts, because writing anything more than trivial in the wizard is going to be gribbly. What do you think? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image001.png Type: image/png Size: 129173 bytes Desc: image001.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image002.png Type: image/png Size: 141097 bytes Desc: image002.png URL: -------------- next part -------------- A non-text attachment was scrubbed... Name: image003.png Type: image/png Size: 132113 bytes Desc: image003.png URL: From Julian.Tenney at nottingham.ac.uk Wed May 22 11:01:59 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 22 May 2013 11:01:59 +0100 Subject: [Xerte-dev] Re: Upload and security In-Reply-To: References: <12C67A1EEC419342AF5E59DA31562C3F0C66927500@EXCHANGE1.ad.nottingham.ac.uk> <22A4A693-556B-4C74-AC18-B9C01E08866E@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C66927A84@EXCHANGE1.ad.nottingham.ac.uk> Is it the case now that only logged in users can run anything through upload.php? Otherwise it?s not just javascript you can disguise, but anything else. I?d be happy with uploading javascript being limited to authorised users, it?s people clobbering the system from outside that worries me. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 22 May 2013 10:42 To: For Xerte technical developers Subject: [Xerte-dev] Re: Upload and security .js extension is in the blacklist but as Julian has proved it is a bit pointless? What we need is to whitelist and do some form of mime detection, but I?ve not been able to get anything working reliably yet? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Wednesday, May 22, 2013 9:59 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Upload and security JavaScript is in the banned list I think I'd ask what you want the bootstrap to be - a mini website for Non-techies or a sort of techie play space? On 21 May 2013, at 10:00, Julian Tenney > wrote: Just reprising a recent conversation about uploading javascript. You guys weren?t keen. I just uploaded a txt file with javascript in it, loaded via a script tag in the bootstrap template and it ? of course ? executes, but we knew that anyway. Is it the case that only authorised users ? those logged in ? can get anything through upload.php? Should authorised users be able to upload javascript? Second and slightly related question, playing around with the bootstrap template wizard: I got it adding canvas, and thought about other userful building blocks for developers. You could define them in a text icon and then script them from a script icon, so are we gaining anything at the expense of confusing users who don?t know what scripts and canvases do? I just though ?well, where does it end? Divs, styles, etc? and we can do it all with text anyway. But in looking at some of this stuff, it would really be handy to be able to upload scripts, because writing anything more than trivial in the wizard is going to be gribbly. What do you think? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From J.J.Smith at gcu.ac.uk Wed May 22 11:08:48 2013 From: J.J.Smith at gcu.ac.uk (Smith, John) Date: Wed, 22 May 2013 11:08:48 +0100 Subject: [Xerte-dev] Re: Upload and security In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C66927A84@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C66927500@EXCHANGE1.ad.nottingham.ac.uk> <22A4A693-556B-4C74-AC18-B9C01E08866E@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C66927A84@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: Yes the session check is in place now so you have to have a valid moodle or xot session? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney Sent: Wednesday, May 22, 2013 11:02 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Upload and security Is it the case now that only logged in users can run anything through upload.php? Otherwise it?s not just javascript you can disguise, but anything else. I?d be happy with uploading javascript being limited to authorised users, it?s people clobbering the system from outside that worries me. From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John Sent: 22 May 2013 10:42 To: For Xerte technical developers Subject: [Xerte-dev] Re: Upload and security .js extension is in the blacklist but as Julian has proved it is a bit pointless? What we need is to whitelist and do some form of mime detection, but I?ve not been able to get anything working reliably yet? Regards, John Smith Learning Technologist School of Health & Life Sciences Glasgow Caledonian University From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy Sent: Wednesday, May 22, 2013 9:59 AM To: For Xerte technical developers Subject: [Xerte-dev] Re: Upload and security JavaScript is in the banned list I think I'd ask what you want the bootstrap to be - a mini website for Non-techies or a sort of techie play space? On 21 May 2013, at 10:00, Julian Tenney > wrote: Just reprising a recent conversation about uploading javascript. You guys weren?t keen. I just uploaded a txt file with javascript in it, loaded via a script tag in the bootstrap template and it ? of course ? executes, but we knew that anyway. Is it the case that only authorised users ? those logged in ? can get anything through upload.php? Should authorised users be able to upload javascript? Second and slightly related question, playing around with the bootstrap template wizard: I got it adding canvas, and thought about other userful building blocks for developers. You could define them in a text icon and then script them from a script icon, so are we gaining anything at the expense of confusing users who don?t know what scripts and canvases do? I just though ?well, where does it end? Divs, styles, etc? and we can do it all with text anyway. But in looking at some of this stuff, it would really be handy to be able to upload scripts, because writing anything more than trivial in the wizard is going to be gribbly. What do you think? _______________________________________________ Xerte-dev mailing list Xerte-dev at lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html Glasgow Caledonian University is a registered Scottish charity, number SC021474 Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html -------------- next part -------------- An HTML attachment was scrubbed... URL: From xerte at pgogywebstuff.com Wed May 22 11:34:17 2013 From: xerte at pgogywebstuff.com (Pat @ Pgogy ) Date: Wed, 22 May 2013 11:34:17 +0100 Subject: [Xerte-dev] Re: Upload and security In-Reply-To: <12C67A1EEC419342AF5E59DA31562C3F0C66927A84@EXCHANGE1.ad.nottingham.ac.uk> References: <12C67A1EEC419342AF5E59DA31562C3F0C66927500@EXCHANGE1.ad.nottingham.ac.uk> <22A4A693-556B-4C74-AC18-B9C01E08866E@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C66927A84@EXCHANGE1.ad.nottingham.ac.uk> Message-ID: <09341016-A1AF-4E2A-9FF1-F44A7D1840CD@pgogywebstuff.com> Disguise in what way? On 22 May 2013, at 11:01, Julian Tenney wrote: > Is it the case now that only logged in users can run anything through upload.php? > > Otherwise it?s not just javascript you can disguise, but anything else. I?d be happy with uploading javascript being limited to authorised users, it?s people clobbering the system from outside that worries me. > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John > Sent: 22 May 2013 10:42 > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Upload and security > > .js extension is in the blacklist but as Julian has proved it is a bit pointless? > > What we need is to whitelist and do some form of mime detection, but I?ve not been able to get anything working reliably yet? > > Regards, > > John Smith > Learning Technologist > School of Health & Life Sciences > Glasgow Caledonian University > > From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat @ Pgogy > Sent: Wednesday, May 22, 2013 9:59 AM > To: For Xerte technical developers > Subject: [Xerte-dev] Re: Upload and security > > JavaScript is in the banned list I think > > I'd ask what you want the bootstrap to be - a mini website for Non-techies or a sort of techie play space? > > > > On 21 May 2013, at 10:00, Julian Tenney wrote: > > Just reprising a recent conversation about uploading javascript. You guys weren?t keen. I just uploaded a txt file with javascript in it, loaded via a script tag in the bootstrap template and it ? of course ? executes, but we knew that anyway. > > Is it the case that only authorised users ? those logged in ? can get anything through upload.php? Should authorised users be able to upload javascript? > > Second and slightly related question, playing around with the bootstrap template wizard: I got it adding canvas, and thought about other userful building blocks for developers. You could define them in a text icon and then script them from a script icon, so are we gaining anything at the expense of confusing users who don?t know what scripts and canvases do? I just though ?well, where does it end? Divs, styles, etc? and we can do it all with text anyway. But in looking at some of this stuff, it would really be handy to be able to upload scripts, because writing anything more than trivial in the wizard is going to be gribbly. > > What do you think? > > > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev > > This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham. > > This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system, you are advised to perform your own checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation. > > > > Glasgow Caledonian University is a registered Scottish charity, number SC021474 > > Winner: Times Higher Education?s Widening Participation Initiative of the Year 2009 and Herald Society?s Education Initiative of the Year 2009. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html > > Winner: Times Higher Education?s Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners. > http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html > _______________________________________________ > Xerte-dev mailing list > Xerte-dev at lists.nottingham.ac.uk > http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev -------------- next part -------------- An HTML attachment was scrubbed... URL: From Julian.Tenney at nottingham.ac.uk Wed May 22 12:05:43 2013 From: Julian.Tenney at nottingham.ac.uk (Julian Tenney) Date: Wed, 22 May 2013 12:05:43 +0100 Subject: [Xerte-dev] Re: Upload and security In-Reply-To: <09341016-A1AF-4E2A-9FF1-F44A7D1840CD@pgogywebstuff.com> References: <12C67A1EEC419342AF5E59DA31562C3F0C66927500@EXCHANGE1.ad.nottingham.ac.uk> <22A4A693-556B-4C74-AC18-B9C01E08866E@pgogywebstuff.com> <12C67A1EEC419342AF5E59DA31562C3F0C66927A84@EXCHANGE1.ad.nottingham.ac.uk> <09341016-A1AF-4E2A-9FF1-F44A7D1840CD@pgogywebstuff.com> Message-ID: <12C67A1EEC419342AF5E59DA31562C3F0C66927B37@EXCHANGE1.ad.nottingham.ac.uk>