[Xerte] Re: XOT "Upload a new Template" button not working
Pat Lockley
patrick.lockley at googlemail.com
Wed Nov 23 10:04:11 GMT 2011
If you zipped up an existing folder the code probably won't error
because each template has
A set template folder
and
A set version number
(stored in the rlt - I think).
If these are different, then the code has to make decisions on what to
do, I guess when I wrote the code I never thought someone would try to
replace a template with the same thing.
On Wed, Nov 23, 2011 at 8:39 AM, Jenny.S <jennysong.ss at gmail.com> wrote:
> "original template folder" is the xertetoolkits\modules\xerte\templates
> Since I want to test the upload button, and I don't have any self-made
> templates, so I zip one of the folders that comes with the XOT.
> Since I'm testing the Upload button on management.php/Central Template page,
> so I guess this upload button should work with the original templates.
>
> No matter what goes wrong, I expect to get a error response. but no,
> clicking the Upload botton doesn't get any response.
>
> On Wed, Nov 23, 2011 at 4:13 PM, Tom Reijnders <reijnders at tor.nl> wrote:
>>
>> Don't know what you mean with 'original template folder' but for a
>> template to be uploaded in XOT, the zipfile needs a very specific format.
>>
>> This should be in the zip:
>>
>> my_template\Example.rlt
>> my_template\template.xwd
>> my_template\template.xml
>> my_template\common\*
>> my_template\media\*
>> my_template\models\*
>> my_template\thumbs\*
>>
>> The .xwd and the .xml file HAVE to be called template.xwd and
>> template.xml, and they have to be in a folder in the zip ('my_template' in
>> the example above)
>>
>> Tom
>>
>> Op 23-11-2011 3:17, Jenny.S schreef:
>>
>> management.php/Central Template, the upload button seems not working for
>> me.
>> I installed XOT with xampp but with the full install process.
>> To test the uplaod button, I zipped an original xerte template folder to
>> upload, when click "Upload', nothing happening.
>> Need help, Thanks!
>>
>>
>>
>> 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 mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>
>> 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.
>>
>>
>> --
>> --
>>
>> Tom Reijnders
>> TOR Informatica
>> Chopinlaan 27
>> 5242HM Rosmalen
>> Tel: 073 5226191
>> Fax: 073 5226196
>>
>>
>> _______________________________________________
>> Xerte mailing list
>> Xerte at lists.nottingham.ac.uk
>> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>>
>> 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 mailing list
> Xerte at lists.nottingham.ac.uk
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte
>
> 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.
>
>
>
More information about the Xerte
mailing list