[Xerte] Re: Importing LOs over top of existing LO's

Patrick Lockley Patrick.Lockley at nottingham.ac.uk
Wed Feb 16 11:41:00 GMT 2011


Sorry, my mistake

The code isn't even commented out, it's just the post variable is never sent.

In website_code/php/import/import.php it checks to see if $_POST['replace'] is true.

So on the import panel, but in a checkbox or something, name it true, and then add that to the ajax in the javascript

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 16 February 2011 10:32
To: 'Xerte discussion list'
Subject: [Xerte] Importing LOs over top of existing LO's

Pat - Ok been fishing but didn't catch anything! :-(

Found the functions in both the .php and .js files but couldn't find where the option has been commented out. Is it commented out or just not included? Gis a clue where to find it?

Cheers
Ron

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
Sent: 15 February 2011 13:40
To: Xerte discussion list
Subject: [Xerte] Re: merging LOs

I do like how I try to encourage you lot to maybe try some code out and you end up sending me a request :)

But - that code is already in the import file - it's just commented out. So have a fish and you should be able to set it up as an option straight away.

I'll put it back in officially when we next release a version.

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 15 February 2011 13:27
To: 'Xerte discussion list'
Subject: [Xerte] Re: merging LOs

Pat
if you were going to work on a merge script I wonder if a related addition would be possible too? e.g. at the moment selecting workspace and then import always creates a new LO which then obviously has a new ID but what people often ask is about importing and replacing/updating an existing LO and keeping the same ID so that existing links and embeds aren't broken. So I wonder if a tick box or use of the same LO name could control updating/replacing rather than creating new but obviously retaining the option to create new instead like a prompt or something.

Ron

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
Sent: 15 February 2011 11:57
To: Xerte discussion list
Subject: [Xerte] Re: merging LOs

A merge script wouldn't be that much to be honest :)

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 15 February 2011 11:55
To: Xerte discussion list
Subject: [Xerte] Re: merging LOs

Not really, once I get past echo (); and get/post I'm sort of lost!


From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick Lockley
Sent: 15 February 2011 11:38
To: Xerte discussion list
Subject: [Xerte] Re: merging LOs

It was all going so well till the last sentence :)

Adam do you know much PHP? Fancy dabbling?

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Alistair McNaught
Sent: 15 February 2011 10:57
To: Xerte discussion list; A list to facilitate and support teachers using Xerte Online Toolkits
Subject: [Xerte] Re: merging LOs

If Xerte is being used alongside another system (eg Moodle, web pages, Intranet etc)   I would tend to argue that having smaller disconnected units hyperlinked together from a central page is better, giving more opportunity for differentiation, alternative sequencing and so on.

... but then part of my argument would be because I didn't know how to join them together anyway :)

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 11 February 2011 13:49
To: Xerte discussion list (xerte at lists.nottingham.ac.uk)
Subject: [Xerte] merging LOs

Hi

I've had an email from a group of staff/students that are building a number of LOs using toolkits. They asked me how easy (and what the process is) to join the content of the LOs together (e.g. amalgamating say 2 learning objects into 1).

Is there a quick way to do this or is it a case of copying content across manually?

Any wisdom well received, Adam

University College Plymouth St Mark & St John,  Derriford Road, Plymouth, PL6 8BH

            Phone:  01752 636700     Web:  www.ucpmarjon.ac.uk<http://www.ucpmarjon.ac.uk>

 Principal: Professor Margaret Noble A Church of England College Founded in 1840

University College Plymouth St Mark & St John is a registered charity the trustee

   of which is a company limited by guarantee registered in England No. 986239


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.

____________________
This email is confidential and may be privileged. If you are not the intended recipient please accept our apologies. Please do not disclose, copy, or distribute information in this email nor take any action in reliance on its contents: to do so is strictly prohibited and may be unlawful. Please inform us that this message has gone astray before deleting it

Please note that views expressed in this email are those of the author and do not necessarily represent those of the Higher Education Academy

Please note that this e-mail has been created in the knowledge that Internet e-mail is not a secure communications medium. We advise that you understand and observe this lack of security when e-mailing us

Although we have taken steps to ensure this e-mail and attachments are free from any virus, we advise that in keeping with good computing practice the recipient should ensure they are actually virus free

The Higher Education Academy Registered No 4930131



University College Plymouth St Mark & St John,  Derriford Road, Plymouth, PL6 8BH

            Phone:  01752 636700     Web:  www.ucpmarjon.ac.uk

 Principal: Professor Margaret Noble A Church of England College Founded in 1840

University College Plymouth St Mark & St John is a registered charity the trustee

   of which is a company limited by guarantee registered in England No. 986239
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110216/9e8b7a59/attachment-0001.html>


More information about the Xerte mailing list