<div dir="ltr">1) Can't remember - right click and look through the DIV id names<div>2) I don't think you can delete a template from management, I think so people's projects aren't broken if some one deletes the template</div>
<div>3) I think template details has xerte and nottingham entries - or is just Nottingham</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Tue, Oct 22, 2013 at 2:01 PM, Ron Mitchell <span dir="ltr"><<a href="mailto:ronm@mitchellmedia.co.uk" target="_blank">ronm@mitchellmedia.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div lang="EN-GB" link="blue" vlink="purple"><div><p class="MsoNormal">Hi all<u></u><u></u></p><p class="MsoNormal">not sure if I should be raising this here or on github? <u></u><u></u></p>
<p class="MsoNormal">But anyway I'll raise it here for now - possibly just for future reference.<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">When I tested changing the XOT template icon yesterday I noticed a problem with the bootstrap template but didn't have time to test properly until this morning…<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I upgraded an install to the latest 2.1 code bfore trying the alternative icon and when creating a new project with the bootstrap template I noticed the editor window was tiny. I thought that was the only problem but it turns out if I tried to edit that new project no tree appeared in the editor and this is because no xml was created in the project folder.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">I checked the .info file which seemed fine. I also replaced the entire install (apart from the user-files folder and auth_config etc) with just the latest 2.1 code and that had the same problem. The Xerte and RSS templates both worked fine.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">This is a server install (not xampp) that has been upgraded many times and it turns out that the site template showing in the workspace was referencing site inside the xerte folder. I had used management.php to update central templates and I had removed the older code but because the older entries were in the database more than one site template was showing in management. e.g. Xerte > Site and Site > Site. When I clicked show in the second site listing it just opened the other site options.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">In the end I deleted the site templates direct from the database originaltemplatedetails table and then used  update template list to add the site template back and could then access the options under Site > site > show. I could then create projects with the site template correctly. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">This is all fine as this is only a test install but does make me a bit nervous about upgrading other installations which have been in use a long time and had previous upgrades. A few points for reference and consideration…<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">1. In management is the code for showing template options somehow referencing name rather than template ID? e.g. I couldn't get to the options of the Site > Site template because clicking show alongside that was just opening the other Xerte > Site options. <u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">2. Should there be a delete option alongside each template shown in management?<u></u><u></u></p><p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">3. I was able to fix this direct via the database but clearly any projects built with the previous site template when it was within the xerte folder would be broken. This may not apply to many other users apart from us but I can't remember if the site template was ever part of a public zip when it was in the Xerte folder rather than a template on its own? If it was then this could possibly be a problem for others too.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">4. I thought Julian had said that he'd committed the change to editor size in the info files? On testing this once I got the site template working properly I can see that the top bar margin has been removed but not sure the info files have been changed - at least not in the 2.1 code? According to my tests the editor window from both XOT and site needs to be editor 800,680<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p><p class="MsoNormal">HTH<u></u><u></u></p><p class="MsoNormal">Ron<u></u><u></u></p></div>
<br><p>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.</p>
<p>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.</p>

<br></div><br>_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
<br></blockquote></div><br></div>