[Xerte] Re: Upload template to Xerte Toolkits
reijnders at tor.nl
Fri Mar 25 11:33:20 GMT 2011
Still another small problem in the code
The models ended up in the common directory.
Op 25-3-2011 9:46, Tom Reijnders schreef:
> Julian, Patrick,
> I think I finally figured out how to import a template into Xerte
> Toolkits using the importer.
> There are (I think) two bugs in the import_template.php:
> Before line 318 (the loop that copies the models) there should be a
> line to set up the loop
> copy_loop($xerte_toolkits_site->import_path . $this_dir . "models");
> And the lines that copy the template.rlt, the template.xwd and the
> template.xml should be before the loop that cleans up the import
> area..., so I moved them to line
> delete_loop($xerte_toolkits_site->import_path . $this_dir); (line 332
> of the original file)
> Can you please verify? I included my version and a diff.
> Op 24-3-2011 13:54, Tom Reijnders schreef:
>> I still can't manage to upload a template to XOT.
>> I retrived the Nottingham template to my local PC
>> - renamed data.xwd and data.xml to template.*
>> - edit the template in Xerte Standalone
>> Now... how do I get this in a template package to be uploaded using
>> the management.php
>> I already figured out that I need to zip the folder above the files.
>> So now I have:
>> in a zip file, and the management.php says the structure is mad, but
>> in XOT itself, I can't see the template (and yes, I renamed the
>> template in the xml)
> Xerte mailing list
> Xerte at lists.nottingham.ac.uk
> 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.
Tel: 073 5226191
Fax: 073 5226196
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Xerte