[Xerte] Re: New templates created with wrong ID in 1.9 @ Pat/Ron

Cowell, Elizabeth E.Cowell at wlv.ac.uk
Thu Dec 20 10:52:00 GMT 2012


Hi Pat,

I flushed the cache, no difference. When I poked around the scripts I found a line of code that seems to explicitly append the editor size to the template id when creating a new tutorial?

Its  in new_template.php :


  echo trim($new_template_id);
// this bit appends the editor_size ?
                                echo "," . $xerte_toolkits_site->learning_objects->{$row_template_type['template_framework'] . "_" . $row_template_type['template_name']}->editor_size;

Hope this helps?

Regards

Liz

Liz Cowell
Learning and Skills Librarian
Learning & Information Services
University of Wolverhampton
Tel: 01902 322385
Email: E.Cowell at wlv.ac.uk<mailto:E.Cowell at wlv.ac.uk>

From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Pat Lockley
Sent: 20 December 2012 09:47
To: Xerte discussion list
Subject: [Xerte] Re: New templates created with wrong ID in 1.9

Flush your browser cache and it should be ok

On Thu, Dec 20, 2012 at 9:21 AM, Cowell, Elizabeth <E.Cowell at wlv.ac.uk<mailto:E.Cowell at wlv.ac.uk>> wrote:
Hello,

I put 1.9 on my system today, and created a new project. When it attempts to display the template, it uses an id of the template id * 1 million, plus 800655.


It's ok when I then close this window and then go on to edit it directly, in this case the template id being 4.

Liz

Liz Cowell
Learning and Skills Librarian
Learning & Information Services
University of Wolverhampton
Tel: 01902 322385
Email: E.Cowell at wlv.ac.uk<mailto:E.Cowell at wlv.ac.uk>



--
Scanned by iCritical.


_______________________________________________
Xerte mailing list
Xerte at lists.nottingham.ac.uk<mailto:Xerte at lists.nottingham.ac.uk>
http://lists.nottingham.ac.uk/mailman/listinfo/xerte


-- 
Scanned by iCritical.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20121220/edb6363d/attachment-0001.html>


More information about the Xerte mailing list