[Xerte] Re: XOT "Upload a new Template" button not working
Pat Lockley
patrick.lockley at googlemail.com
Wed Aug 29 10:10:11 BST 2012
Hello,
I would guess that the code behind that button works with the old
model format, but not the new one.
If you ftp to modules/xerte - you can add the model by putting the
files into that
then you need to edit the originaltemplatedetails table in the database
Pat
On Wed, Aug 29, 2012 at 10:06 AM, Julien CHEZEAUX
<julien.chezeaux at scassi.com> wrote:
> Hello all!
>
>
>
> Trying to make a new model available in XOT, I created a new template with
> Xerte (Page Template).
>
> Then I created the new model (indeed, I cloned and modified the slideshow
> model).
>
> Then I updated the template.xwd, following this guide.
>
>
>
> Now I have a template that suits me, and I want to get it usable in XOT.
>
> So, reading the previous Xerte mailing list posts on this topic, a created a
> zip file containing the template, that is:
>
> · mytemplate/common/*
>
> · mytemplate/languages/*
>
> · mytemplate/media/*
>
> · mytemplate/models/* (-> with my modified copy of slideshow.rlm)
>
> · mytemplate/thumbs/*
>
> · mytemplate/mytemplate.rlt
>
> · mytemplate/template.xml
>
> · mytemplate/template.xwd (-> updated to define the new model)
>
>
>
> But, as some other people here, I am stuck with the template upload button
> in management.php, which doesn’t do anything, neither giving me any error
> message.
>
>
>
> Is there a way to resolve this problem, or a different way to import a
> template in XOT ? Maybe manually copying the files on the file system and
> updating the database ?
>
>
>
> Tom Reijnders reijnders at tor.nl wrote
> on Wed Nov 23 10:20:37 GMT 2011:
>
>
>
> It is not trivial to create a correct zip file form an existing XOT
>
> installation:
>
>
>
> 1. Create a folder to hold the template
>
> 2. copy the files from modules\xerte\template\<templatename> to that folder
>
> 3. copy the files from modules\xerte\parent_template\<templatename> to
>
> that folder
>
> 4. rename data.xwd and data.xml to template.xwd and template.xml
>
> 5. zip the folder created in 1.
>
>
>
>
> 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