[Xerte] Re: New templates created with wrong ID in 1.9 @ Pat/Ron
Cowell, Elizabeth
E.Cowell at wlv.ac.uk
Thu Dec 20 12:57:57 GMT 2012
The second one (the full one).
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 12:32
To: Xerte discussion list
Subject: [Xerte] Re: New templates created with wrong ID in 1.9 @ Pat/Ron
Which export link did you click on (for reference)?
It works on my local copy but I can check later
On Thu, Dec 20, 2012 at 12:13 PM, Cowell, Elizabeth <E.Cowell at wlv.ac.uk<mailto:E.Cowell at wlv.ac.uk>> wrote:
Hi Pat,
All I noticed was that the line of code I mentioned wasn't in 1.8 whereas it is in 1.9, and the screenshot of a create new project in 1.9 shows the edit.php being handed it as follows:
I'm afraid I don't know my way around your code, but I had a quick glance as I was just trying to find some fixes to see if I could run with 1.9 when I setup Xerte for our team, but this together with the export problem probably mean I'll stick with 1.8 which seems ok apart from the resize window problem I am seeing on some pc's which is making Xerte content held on our website unplayable on them (which I am also trying to get to work).
So whilst I'd like the latest version I will probably stick with 1.8 for now and try and put in some workarounds.
Best 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> [mailto:xerte-bounces at lists.nottingham.ac.uk<mailto:xerte-bounces at lists.nottingham.ac.uk>] On Behalf Of Pat Lockley
Sent: 20 December 2012 10:59
To: Xerte discussion list
Subject: [Xerte] Re: New templates created with wrong ID in 1.9 @ Pat/Ron
Hi Liz,
Yes it does, because the new window open code should use those values. The javascript knows this and should use this when opening a window.
I added the PHP in for this purpose. Look at the window.open code in website_code/scripts/template_management.js
Pat
On Thu, Dec 20, 2012 at 10:52 AM, Cowell, Elizabeth <E.Cowell at wlv.ac.uk<mailto:E.Cowell at wlv.ac.uk>> wrote:
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> [mailto: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.
_______________________________________________
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.
_______________________________________________
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/6ede01e1/attachment-0001.html>
More information about the Xerte
mailing list