[Xerte-dev] Re: selecting embed code in the project details panel

Fay Cross Fay.Cross at nottingham.ac.uk
Wed Jul 29 10:38:18 BST 2015


Hi Ron, thanks for this. 1 is a huge oversight on my part. Adding media to steps was a change done after the initial module was finished and it looks like I developed & tested it in xampp but didn't include the mediaplayer folder when uploading changes to github. Sorry about that.

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 29 July 2015 10:20
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: selecting embed code in the project details panel

Hi Fay
sorry for all the messages here and on github. Quick summary from memory:

1. The links to the mediaelements stuff were broken as the folder didn't exist. I added that folder to the relevant place in the decision module and then video/audio worked both online and via export.

2. John reported than images/media with spaces in the filenames don't work when exported but this is a problem with the xot template too. Maybe longer term we need to replace spaces in filenames during upload like Moodle does.

3. The issue I had with creating new decision based projects and duplicate ID's may have just been a bug when I was using xampp at the time. I can't replicate the problem having removed the duplicate folders and I can't replicate it on online installs either. It did happen though so would be good to be sure there isn't any difference in the code.

HTH
Ron

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Fay Cross
Sent: 29 July 2015 09:47
To: For Xerte technical developers
Subject: [Xerte-dev] Re: selecting embed code in the project details panel

I've just been through loads of emails about the decision tree template and have lost track of what issues have been resolved & which are outstanding. I'll go through it today and test adding all optional properties to it and see if I find any problems. The adding media stuff was definitely working at some point but I have a feeling I know what might have changed if it hasn't already been fixed.

I have no idea about why creating multiple projects would be an issue though, I didn't intentionally change anything in the create/delete etc. code so no idea why it would be different to other modules.


From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 28 July 2015 17:25
To: For Xerte technical developers
Subject: [Xerte-dev] Re: selecting embed code in the project details panel

Hi Ron, glad it helped...

No, I have to say, while I thought it could be possible, I have never seen it happen before. Not sure why the code to create the decision tree would be any different though from the others since its really a shared task.

Hmm, I'ts not a bit in the code that I've evervreally looked at since it was operational before I became involved. I'll take a look to see if I can figure it how it all works though.

John

Sent from Samsung tablet

Please send all enquiries to our shared Blended Learning inbox at hlsblt at gcu.ac.uk<mailto:hlsblt at gcu.ac.uk> and one of the Learning Technologists will respond.



-------- Original message --------
From: Ron Mitchell <ronm at mitchellmedia.co.uk<mailto:ronm at mitchellmedia.co.uk>>
Date: 28/07/2015 16:58 (GMT+00:00)
To: 'For Xerte technical developers' <xerte-dev at lists.nottingham.ac.uk<mailto:xerte-dev at lists.nottingham.ac.uk>>
Subject: [Xerte-dev] Re: selecting embed code in the project details panel
Hi John
ok shutting down and taking a break worked! ;-)

1. Yes I can replicate that issue with images with spaces. I'm always
repeating to users the benefits of avoiding spaces in file names and long
since been in the habit of adding underscores so rarely hit that issue. I
know that Moodle manually adds underscores to individual uploads perhaps we
should look to do the same at some point.

2. The issue I was getting with creating decision projects was a duplicate
ID number in the user-files folder. It looks to me like there's a bug in the
decision project creation code which doesn't exist when creating projects
based on the other templates. Or to put it another way I have folders with
the same ID number in user-files e.g.

26-guest2-decision
26-guest2-site
30-guest2-decision
30-guest2-Nottingham

I didn't think that was supposed to be possible but not sure if it's down to
the creation or deletion routine or both.

Anyone else got this or can replicate by creating a mix of projects in quick
succession?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 28 July 2015 16:09
To: For Xerte technical developers
Subject: [Xerte-dev] Re: selecting embed code in the project details panel

Oh, maybe the messages crossed... I don't have an issue now... well I do but
it's a different one...

If you upload an image with a space in the filename, the system changes it
to %20. When you export this filename is different from the server one and
so it isn't exported and shows as not in use... it's the same in Nottingham
template too.

Steps to reproduce:

Create a new Nottingham template
Add a text page
Use the editor to add two images, one with no spaces, one with a space in
the filename Press Play, both images show Close the editor and go to
Properties -> Media and quota The one with a space shows 'not in use' the
other one shows 'in use'

John Smith
Learning Technologist | School of Health & Life Sciences

T: +44 (0)141 331 3989 | E: J.J.Smith at gcu.ac.uk<mailto:J.J.Smith at gcu.ac.uk> Glasgow Caledonian
University, Cowcaddens Road, Glasgow, G4 0BA, Scotland, United Kingdom
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
[xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
[ronm at mitchellmedia.co.uk]
Sent: 28 July 2015 16:02
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: selecting embed code in the project details panel

Yeah I'm not seeing the wood for the trees now :-(

Except I manually removed onselectstart="return false;" from index.php on my
online test install and that isn't causing any problems and I can create
multiple decision projects without problem.

The problem I've been getting with that is with xampp but only in trying to
replicate the issue you and Julian have reported with images and I'm not
able to replicate that problem.

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 28 July 2015 15:54
To: For Xerte technical developers
Subject: [Xerte-dev] Re: selecting embed code in the project details panel

Maybe try restarting the server, shutting down the computer, having a cup of
tea and a biscuit and then restarting the computer will help... sometimes
works for me...

Although it is probably more to do with the restarting of things than the
tea and biscuit (but any excuse)...

I'll have a think but just now I am really out of ideas...

John Smith
Learning Technologist | School of Health & Life Sciences

T: +44 (0)141 331 3989 | E: J.J.Smith at gcu.ac.uk<mailto:J.J.Smith at gcu.ac.uk> Glasgow Caledonian
University, Cowcaddens Road, Glasgow, G4 0BA, Scotland, United Kingdom
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
[xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
[ronm at mitchellmedia.co.uk]
Sent: 28 July 2015 15:53
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: selecting embed code in the project details panel

Hi John
I tried that css but doesn't seem to be working for me e.g. the text still
isn't selectable in IE unless onselectstart="return false;" is removed.

I've lost track now whether removing the onselectstart="return false;" line
is causing any problems or not. I definitely get problems creating multiple
decision projects whether that line is removed or not. I can't see why that
line removed would only cause this issue with the decision templates and not
the others?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Smith, John
Sent: 28 July 2015 15:32
To: For Xerte technical developers
Subject: [Xerte-dev] Re: selecting embed code in the project details panel

Sorry, misleading messages... I mean no issues in creating the Decision Tree
templates that Ron has now found

I'm fine leaving all that block of select code in until we get around to
clearing it out properly - i'd be more worried about taking stuff out at
this late stage when we don't know what workarounds are in place to possibly
circumvent it. Also, I'd rather button text etc wasn't selected when you
click-move-release which happens more often than not and it is very
frustrating...

If someone can test that css on the textarea containing the embed code in IE
then it 'might' be all we need...

John Smith
Learning Technologist | School of Health & Life Sciences

T: +44 (0)141 331 3989 | E: J.J.Smith at gcu.ac.uk<mailto:J.J.Smith at gcu.ac.uk> Glasgow Caledonian
University, Cowcaddens Road, Glasgow, G4 0BA, Scotland, United Kingdom
________________________________________
From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk>
[xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley (Pgogy)
[info at pgogywebstuff.com]
Sent: 28 July 2015 15:29
To: For Xerte technical developers
Subject: [Xerte-dev] Re: selecting embed code in the project details panel

On 2015-07-28 10:27, Smith, John wrote:
> No issue with that line in or out... see attachment...

ah ok, was reading the title as a a select issue and wondered if it was
overlapping

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto: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

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto: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<mailto: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

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto: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<mailto: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

_______________________________________________
Xerte-dev mailing list
Xerte-dev at lists.nottingham.ac.uk<mailto: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<mailto: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







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: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20150729/d555bc21/attachment-0001.html>


More information about the Xerte-dev mailing list