I see. So, the problem is not the botton itself. <br>Thanks for helping!<br><br><div class="gmail_quote">On Wed, Nov 23, 2011 at 6:04 PM, Pat Lockley <span dir="ltr"><<a href="mailto:patrick.lockley@googlemail.com">patrick.lockley@googlemail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">If you zipped up an existing folder the code probably won't error<br>
because each template has<br>
<br>
A set template folder<br>
and<br>
A set version number<br>
<br>
(stored in the rlt - I think).<br>
<br>
If these are different, then the code has to make decisions on what to<br>
do, I guess when I wrote the code I never thought someone would try to<br>
replace a template with the same thing.<br>
<div class="HOEnZb"><div class="h5"><br>
On Wed, Nov 23, 2011 at 8:39 AM, Jenny.S <<a href="mailto:jennysong.ss@gmail.com">jennysong.ss@gmail.com</a>> wrote:<br>
> "original template folder" is the xertetoolkits\modules\xerte\templates<br>
> Since I want to test the upload button, and I don't have any self-made<br>
> templates, so I zip one of the folders that comes with the XOT.<br>
> Since I'm testing the Upload button on management.php/Central Template page,<br>
> so I guess this upload button should work with the original templates.<br>
><br>
> No matter what goes wrong, I expect to get a error response. but no,<br>
> clicking the Upload botton doesn't get any response.<br>
><br>
> On Wed, Nov 23, 2011 at 4:13 PM, Tom Reijnders <<a href="mailto:reijnders@tor.nl">reijnders@tor.nl</a>> wrote:<br>
>><br>
>> Don't know what you mean with 'original template folder' but for a<br>
>> template to be uploaded in XOT, the zipfile needs a very specific format.<br>
>><br>
>> This should be in the zip:<br>
>><br>
>> my_template\Example.rlt<br>
>> my_template\template.xwd<br>
>> my_template\template.xml<br>
>> my_template\common\*<br>
>> my_template\media\*<br>
>> my_template\models\*<br>
>> my_template\thumbs\*<br>
>><br>
>> The .xwd and the .xml file HAVE to be called template.xwd and<br>
>> template.xml, and they have to be in a folder in the zip ('my_template' in<br>
>> the example above)<br>
>><br>
>> Tom<br>
>><br>
>> Op 23-11-2011 3:17, Jenny.S schreef:<br>
>><br>
>> management.php/Central Template, the upload button seems not working for<br>
>> me.<br>
>> I installed XOT with xampp but with the full install process.<br>
>> To test the uplaod button, I zipped an original xerte template folder to<br>
>> upload, when click "Upload', nothing happening.<br>
>> Need help,  Thanks!<br>
>><br>
>><br>
>><br>
>> This message and any attachment are intended solely for the addressee and<br>
>> may contain confidential information. If you have received this message in<br>
>> error, please send it back to me, and immediately delete it. Please do not<br>
>> use, copy or disclose the information contained in this message or in any<br>
>> attachment. Any views or opinions expressed by the author of this email do<br>
>> not necessarily reflect the views of the University of Nottingham.<br>
>><br>
>> This message has been checked for viruses but the contents of an<br>
>> attachment may still contain software viruses which could damage your<br>
>> computer system: you are advised to perform your own checks. Email<br>
>> communications with the University of Nottingham may be monitored as<br>
>> permitted by UK legislation.<br>
>><br>
>> _______________________________________________<br>
>> Xerte mailing list<br>
>> <a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
>> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
>><br>
>> This message and any attachment are intended solely for the addressee and<br>
>> may contain confidential information. If you have received this message in<br>
>> error, please send it back to me, and immediately delete it.   Please do not<br>
>> use, copy or disclose the information contained in this message or in any<br>
>> attachment.  Any views or opinions expressed by the author of this email do<br>
>> not necessarily reflect the views of the University of Nottingham.<br>
>><br>
>> This message has been checked for viruses but the contents of an<br>
>> attachment<br>
>> may still contain software viruses which could damage your computer<br>
>> system:<br>
>> you are advised to perform your own checks. Email communications with the<br>
>> University of Nottingham may be monitored as permitted by UK legislation.<br>
>><br>
>><br>
>> --<br>
>> --<br>
>><br>
>> Tom Reijnders<br>
>> TOR Informatica<br>
>> Chopinlaan 27<br>
>> 5242HM Rosmalen<br>
>> Tel: 073 5226191<br>
>> Fax: 073 5226196<br>
>><br>
>><br>
>> _______________________________________________<br>
>> Xerte mailing list<br>
>> <a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
>> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
>><br>
>> This message and any attachment are intended solely for the addressee and<br>
>> may contain confidential information. If you have received this message in<br>
>> error, please send it back to me, and immediately delete it.   Please do not<br>
>> use, copy or disclose the information contained in this message or in any<br>
>> attachment.  Any views or opinions expressed by the author of this email do<br>
>> not necessarily reflect the views of the University of Nottingham.<br>
>><br>
>> This message has been checked for viruses but the contents of an<br>
>> attachment<br>
>> may still contain software viruses which could damage your computer<br>
>> system:<br>
>> you are advised to perform your own checks. Email communications with the<br>
>> University of Nottingham may be monitored as permitted by UK legislation.<br>
>><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> Xerte mailing list<br>
> <a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
> <a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
><br>
> This message and any attachment are intended solely for the addressee and<br>
> may contain confidential information. If you have received this message in<br>
> error, please send it back to me, and immediately delete it.   Please do not<br>
> use, copy or disclose the information contained in this message or in any<br>
> attachment.  Any views or opinions expressed by the author of this email do<br>
> not necessarily reflect the views of the University of Nottingham.<br>
><br>
> This message has been checked for viruses but the contents of an attachment<br>
> may still contain software viruses which could damage your computer system:<br>
> you are advised to perform your own checks. Email communications with the<br>
> University of Nottingham may be monitored as permitted by UK legislation.<br>
><br>
><br>
><br>
<br>
_______________________________________________<br>
Xerte mailing list<br>
<a href="mailto:Xerte@lists.nottingham.ac.uk">Xerte@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte</a><br>
</div></div></blockquote></div><br>