[Xerte] Adding templates to online toolkits, running through XAMPP

Patrick Lockley Patrick.Lockley at nottingham.ac.uk
Thu Jun 4 10:56:08 BST 2009


Right, this one can be put down to the joys of documentation.

 

We had to do some thinking as to how best to maintain version control
between exported and imported templates. Say you export a template off
one site, and then try to import to another which lacks that template.

 

So we decided the best way to do this would be for the RLT to carry two
attributes, targetFolder and version. The version number is a arbitrary
to be honest - as long as its there. 

The target folder indicates what folder the system will create in
parent_templates (Nottingham, RSS etc.).

 

The software is a bit ahead of the documentation.

 

So taking your RLT

 

1) Go to the learning object node in the tree

2) add a version property

3) add a targetFolder property

4) save and try again

 

Apologies for the hassle. I note that once its imported the screen
doesn't refresh - so I'll add that to the bug list, but if you click
central templates it should appear.

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Matthew Leach
Sent: 04 June 2009 10:38
To: Xerte discussion list
Subject: RE: [Xerte] Adding templates to online toolkits, running
through XAMPP

 

Thanks for the reply.

 

I'm still having issues with the upload, but I at least see error
messages if I use IE7 so I can try and work out what's wrong.

 

Initially the problems were to do with the path in the import folder.
The files were extracted to (for example):

 

    /import/7711/

 

But the code was looking for them in:

 

    /import/7711/TemplateName/

 

I got past this by creating a folder hierarchy of
/TemplateName/TemplateName/ before compressing.

 

Now I have 2 problems, possibly related.

 

1)     I get a renaming error message, which seems to be trying to save
them into the Nottingham folder (see
http://i558.photobucket.com/albums/ss29/drmleach/UploadError.png)

2)     Folders are created in the root of the parent_template folder,
instead of parent_templates/TemplateName/, although no files are
transferred.

 

Any clues?

 

Cheers,

 

Matthew

 

________________________________

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick
Lockley
Sent: 02 June 2009 23:41
To: Xerte discussion list
Subject: RE: [Xerte] Adding templates to online toolkits, running
through XAMPP

 

Management.php will user the username and password combination is set in
sitedetails.

 

I can set one in the xampp installer package, but I really didn't think
people would bother locally? Or am I secretly supporting a lot of Mac
users? (thanks zinc).

 

I'll have a think about how I can make a random username password
combination as per each install.

 

If you don't get an error on any of the uploaders, that means you've had
a php error (the upload feedback always starts with **** - so for that
not to happen PHP must have done something). Have you got fiddler or
firebug installed?

 

Failing that open up admin_top in website_code, look for the iframe
code, give it a width and height and try again. Then you should see
whatever text it generates.

 

No part of the template upload should involve LDAP.

 

________________________________

From: xerte-bounces at lists.nottingham.ac.uk on behalf of Matthew Leach
Sent: Tue 02/06/2009 15:27
To: Xerte discussion list
Subject: [Xerte] Adding templates to online toolkits, running through
XAMPP

Hello,

 

I have installed online toolkits running locally through XAMPP, but the
template upload does not seem to be working for me.

 

Firstly I'm not sure what log-in details to use for management.php

 

When I remove authentication from management.php I can get to the admin
screen, but the upload in "Central templates" doesn't seem to do
anything

 

I've managed to add templates manually that work, so is it an LDAP/admin
login thing?

 

Cheers,

 

Matthew

 

 

 

Dr. Matthew Leach

Educational Development Unit (EDU), University of Derby

m.leach at derby.ac.uk

01332-591543

 

 

________________________________

The University of Derby has a published policy regarding email and
reserves the right to monitor email traffic. If you believe this email
was sent to you in error, please notify the sender and delete this
email. Please direct any concerns to Infosec at derby.ac.uk
The policy is available here: http://www.derby.ac.uk/LIS/Email-Policy

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20090604/73a43d31/attachment.html


More information about the Xerte mailing list