[Xerte-dev] Re: 1.9 zip

Ron Mitchell ronm at mitchellmedia.co.uk
Wed Dec 12 12:59:08 GMT 2012


Will the zip download be the usual link when the new site is live e.g.
http://www.nottingham.ac.uk/xerte/downloads/xertetoolkits.zip

 

If so want to use this to publicise? ;-)

http://vle.jisctechdis.ac.uk/xot/play_html5.php?template_id=241

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 12 December 2012 09:50
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

OK, I'll update the zip file, thanks for getting to the bottom of this.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 12 December 2012 09:51
To: 'For Xerte technical developers'
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok the techdis install is updated to r594

 

It now works in IE9 without the need for compatibility mode and even with
developer tools and script debugging running e.g. no more window_reference
error and clciking preview and then closing prompts for publish and clicking
ok publishes the changes.

 

I've tested locally without moodle integration and on the techdis install
with moodle integration - both seem to be working fine for me.

 

What resolved the IE 9 issue Pat?

 

Cheers

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 12 December 2012 01:26
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

It is good to know the version that was working two days ago is now working
for other people to.

 

I have done some SVN updates. I've left a trace in update_file.php to help
test it, but it works here


AND AND AND AND AND AND

 

it also works in IE9 now as well

 

BUT BUT BUT BUT BUT BUT BUT

 

This is only in xampp as I have not tested it in moodle as it is half one
and I really can't be arsed

 

On Wed, Dec 12, 2012 at 1:22 AM, Pat Lockley
<patrick.lockley at googlemail.com> wrote:

"Closing without first previewing or publishing always has the potential to
lose changes especially now that the close + OK to publish isn't working!"

 

That button won't change that, all the publish does is copy preview over
data - if preview wasn't updated by previewing then the button makes no
difference at all.

 

On Tue, Dec 11, 2012 at 4:10 PM, Ron Mitchell <ronm at mitchellmedia.co.uk>
wrote:

John

Publish saves changes to data.xml

Preview saves changes to preview.xml

Closing without first previewing or publishing always has the potential to
lose changes especially now that the close + OK to publish isn't working!

 

So in terms of what has changed it's just that closing and clicking ok to
publish isn't working. It's always been the case that unless you preview
changes are not saved unless you manually publish or when clicking ok works.

 

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: 11 December 2012 15:44


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Yeah what I'm seeing is:

 

I make a LO, add some stuff and then click Publish.

Then I make it Public, edit it again click Publish, close and Preview  =
changes are there.

Then I Edit it again, make changes but just click the close button. No popup
and when I click Preview the changes are lost.

 

This is in both Chrome and IE and from SVN trunk, latest revision. Are you
guys working from a zip copy of trunk already?

 

Will checkout a fresh trunk and see what happens.

 

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 Lockley
Sent: Tuesday, December 11, 2012 1:42 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

If you don't preview then it isn't saved to preview.xml

 

The pop up should happen if data and preview.xml are different

On 11 Dec 2012, at 11:36, "Smith, John" <J.J.Smith at gcu.ac.uk> wrote:

Hi all,

 

Correct me if I'm wrong but if you made a change in the editor and then
closed the window without Publishing you used to get a popup? I'm not
getting that at all now at latest revision. Closing the window doesn't give
me any popup and the changes are lost now. Anyone else seeing this?

 

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 Lockley
Sent: Tuesday, December 11, 2012 9:30 AM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Look at the top, there is a conditional which means temp array is sometimes
created and sometimes not

 

So some cases will need it and some won't

On 11 Dec 2012, at 09:10, "Ron Mitchell" <ronm at mitchellmedia.co.uk> wrote:

Tried that but no change - project still not published upon clicking ok.
Publishing manually works fine.

 

But still don't get why the files would be different? Your commit:
http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589
<http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_co
de/php/versioncontrol/update_file.php?spec=svn589&r=589> &r=589

 

has the four temp_array[0] and you're saying that file is working for you?
Or did something go wrong with the commit?

 

Going to be offline for at least a few hours now so perhaps someone else can
have a look.

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 22:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

No idea - all four temp arrays need to be replaced 

 

As long as it is temp_array[0]

On 10 Dec 2012, at 20:20, "Ron Mitchell" <ronm at mitchellmedia.co.uk> wrote:

There seems to be two occurrences of temp_array[0] 

http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_cod
e/php/versioncontrol/update_file.php?spec=svn589
<http://code.google.com/p/xerteonlinetoolkits/source/browse/trunk/website_co
de/php/versioncontrol/update_file.php?spec=svn589&r=589> &r=589

 

Do both need changing or just one?

How come this works for you if same version?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 18:28
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok one of the queries has a ref to temp_array[0] in still

 

Replace with $template_id

On 10 Dec 2012, at 18:28, "Ron Mitchell" <ronm at mitchellmedia.co.uk> wrote:

do these help?

 

$query_for_play_content_strip

 

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="TEMPLATE_ID_TO_REPLACE" and role="creator"

 

$query_for_play_content

 

select originaltemplatesdetails.template_name, logindetails.username,
originaltemplatesdetails.template_framework, templaterights.user_id,
templaterights.folder, templaterights.template_id,
templatedetails.access_to_whom from originaltemplatesdetails,
templaterights, templatedetails, logindetails where
templatedetails.template_type_id = originaltemplatesdetails.template_type_id
and templatedetails.creator_id = logindetails.login_id and
templaterights.template_id = templatedetails.template_id and
templaterights.template_id="C:

mpphtdocs
rtetoolkits/USER" and role="creator"

 

 

$query_for_play_content_response

 

Resource id #20

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 17:58
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

website_code/php/versioncontrol/update_file.php

there will be a variable called query or something query

 

On Mon, Dec 10, 2012 at 5:14 PM, Ron Mitchell <ronm at mitchellmedia.co.uk>
wrote:

Sorry what query? In what file?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 16:03


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Ok, so for you, the query doesn't work.

echo out the query and see what it is

 

On Mon, Dec 10, 2012 at 3:01 PM, Ron Mitchell <ronm at mitchellmedia.co.uk>
wrote:

I tested with a brand new svn update and export and a clean install using
the xampp option so not sure why we're seeing different things. I truned on
debugging and upon clicking ok to publish changes got the attached. Does
that help?

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:27


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

Pah, 

It's been two years, but maybe that's my instinctive name for all things XOT

Well it works here on my XAMPP, but start putting echos in the code to see
where it gets too. Easiest way to debug (it's all I'd do, but mine err,
works).

Pat

 

On Mon, Dec 10, 2012 at 2:25 PM, Ron Mitchell <ronm at mitchellmedia.co.uk>
wrote:

Hi Pat

are you sure about the db name?

 

as far as I can see when using the quick xampp install option the db created
is called toolkits_data as defines in \setup\xampp_database.txt

 

Testing the publishing options with a clean xampp install...

 

I get the prompt whether to publish with Chrome, Safari and FF but not IE.
Possibly because I still get the window_reference error when using IE.
Perhaps specific to my local IE?

 

But as Julian reported even when clicking ok to publish the changes aren't
published until manually publishing.

 

HTH

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 10 December 2012 14:12


To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

 

xertetoolkits

mine is a fresh xampp and it works

it's both files in versioncontrol and the response is alerted out so you can
add echo "HELLO" to your heart's content to debug it

 

On Mon, Dec 10, 2012 at 1:06 PM, Ron Mitchell <ronm at mitchellmedia.co.uk>
wrote:

testing locally with guest access and no integration_config_path set...


Create project
Add a page
Preview (so the file is save)

Quit the wizard - I don't get prompted to publish at all even with the
latest change Pat comitted
If I publish manually all is fine.

I'll test a clean install via xampp... If using the quick xampp install
option what's the name of the db that gets created is it toolkits?



-----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: 10 December 2012 11:15
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

It still doesn't work:

Create project
Add a page
Preview (so the file is save)
Quit the wizard - prompted to publish - say yes Go to properties, make
access public Hit the URL. Nothing until I publish from a button somewhere
(workspace or wizard).

I think I'm going to put it out anyway, unless anyone can fix it today. I'm
not so concerned about the html5 side of this not working, but previously
working functionality doesn't work anymore. Maybe this isn't such a
dealbreaker, perhaps we should disable the prompt and force a manual
publish?

-----Original Message-----
From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 07 December 2012 22:37
To: For Xerte technical developers
Subject: [Xerte-dev] Re: 1.9 zip

Not sure why it would break but adding database connect in seemed to fix it

On 7 Dec 2012, at 22:21, Julian Tenney <Julian.Tenney at nottingham.ac.uk>
wrote:

> thanks mate, I'll test on Monday,
> ________________________________________
> From: xerte-dev-bounces at lists.nottingham.ac.uk
> [xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
> [patrick.lockley at googlemail.com]
> Sent: 07 December 2012 19:22
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> fixed in moodle (both files in version control folder)
>
> Please test
>
>
> On Fri, Dec 7, 2012 at 12:07 PM, Julian Tenney
<Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>>
wrote:
> It works from the publish buttons. Just not on the on close trapper
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at list
> s.nottingham.ac.uk>
> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-boun
> ces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
>
> Sent: 07 December 2012 12:06
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> I think I assumed all publishing went through one file, but that's not
> the case. Am on holiday but can poke around later on
>
> So publishing when closing
> And
> Publishing Inside xerte
>
> On 7 Dec 2012, at 11:55, Julian Tenney
<Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>>
wrote:
> It's a bit more than that. Here's what I'm doing:
>
> Create project
> Got to properties, make it public
> Goto wizard edit something
> Close editor
> Prompted to publish - say yes
> Goto properties, hit the link
> No dice.
>
> But it's also not publishing the changes for the flash verison either,so
Pats on the right lines, the modularised publish stuff isn't accounted for
in the wizard window?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at list
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Smith, John
> Sent: 07 December 2012 11:41
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> You have to make it public in the workspace before it's accessible -
> well that's what I've always had to do.
>
> Publish in the editor doesn't appear to do much unless you set the
> access level.
>
> 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 list
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: Friday, December 07, 2012 11:37 AM
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Ah, it's working now.
>
> It only works after you've published the file from the workspace button.
>
> I published from the wizard button (when it closed and asked me if I
wanted to) but had to publish from the workspace before the link worked.
>
> Any idea what makes the two publishes different?
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at list
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:30
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Dunno.
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at list
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Pat Lockley
> Sent: 07 December 2012 11:29
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> Does xampp use htaccess by default?
>
> On 7 Dec 2012, at 11:28, Julian Tenney
<Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>>
wrote:
> Sorry the path and file are in the right place, but I get a blank
> screen when I try and CTRL-play for preview, or when I click the link
> in properties
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at list
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:25
> To: For Xerte technical developers
> Subject: [Xerte-dev] Re: 1.9 zip
>
> When I do an xamppp setup, build simple project and publish etc, I can't
preview it on the link in the properties panel, i.e. this link doesn't work.
>
> There is no xenith.js at
modules/xerte/parent_templates/Nottingham/common_html5, which is where
play_html5 is trying to load it from.
>
> Do I move the file (where is it?) or change the link(to point to ?)
>
> From:
> xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at list
> s.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk]
> On Behalf Of Julian Tenney
> Sent: 07 December 2012 11:17
> To: For Xerte technical developers
> Subject: [Xerte-dev] 1.9 zip
>
> Is there anything in the svn that I shouldn't include in the zip?
>
> _______________________________________________
> 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
>
> Glasgow Caledonian University is a registered Scottish charity, number
> SC021474
>
> Winner: Times Higher Education's Widening Participation Initiative of 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<mailto: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<mailto: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.

_______________________________________________
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

 

 

_______________________________________________
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,e
n.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,e
n.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: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121212/3dd3fede/attachment-0001.html>


More information about the Xerte-dev mailing list