[Xerte] Make custom template toolkits ready

Peter Huppertz peter.huppertz at baselgovernance.org
Wed Mar 11 17:29:30 GMT 2009


Hi Julian,

I solved it ... I forgot to look at the flash file and still had a 
"FileLocation" statement in it which prevents the rest of the file from 
loading. Sorry bothering you.

Peter



From:
Julian Tenney <Julian.Tenney at nottingham.ac.uk>
To:
"Xerte discussion list" <xerte at lists.nottingham.ac.uk>
Date:
11.03.2009 17:18
Subject:
RE: [Xerte] Make custom template toolkits ready
Sent by:
xerte-bounces at lists.nottingham.ac.uk



Compare it to the original google maps page type – that used a Xerte 
component icon that wrapped the 3rd party flash component we used,
 
It works locally, yes?
 
From: xerte-bounces at lists.nottingham.ac.uk [
mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter Huppertz
Sent: Wednesday, March 11, 2009 4:06 PM
To: Xerte discussion list
Subject: RE: [Xerte] Make custom template toolkits ready
 
just to go back to the root of this thread: 

My toolkits still doesn't load the content of my component icons. Does 
anybody encounter the same behaviour? 

Thanks! 

Peter 


From: 
Julian Tenney <Julian.Tenney at nottingham.ac.uk> 
To: 
"Xerte discussion list" <xerte at lists.nottingham.ac.uk> 
Date: 
11.03.2009 16:21 
Subject: 
RE: [Xerte] Make custom template toolkits ready 
Sent by: 
xerte-bounces at lists.nottingham.ac.uk
 




Thanks for everyone’s help. I haven’t found out what the problem is or how 
to solve it, but have discovered that it works fine from 
www.nottingham.ac.uk rather than ltdev.nottingham.ac.uk. 

We’ll have to see what happens on your own servers and take it from there. 
If you want to test it, all the latest files are in the repository on 
assembla. You will need to update XMLEngine.swf in the root of your 
install, and the files in the modules/xerte/parent_templates/Nottingham 
folder. Get those files from the toolkits09 folder in the svn if you have 
a server installation of toolkits. 
  
I’ve also updated the Page Templates standalone version in the latest 
xerte build from the website, so if you are building using the standalone 
version you can also test it. 
  
Obviously these changes will change the way google map pages work, 
although existing standalone projects won’t be affected unless you update 
their files. I think all in all it’s an improvement as authoring the map 
is much easier than it was. 
  
Thanks, 
  
J 
  
From: xerte-bounces at lists.nottingham.ac.uk [
mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of RonM
Sent: Wednesday, March 11, 2009 2:17 PM
To: 'Xerte discussion list'
Subject: RE: [Xerte] Make custom template toolkits ready 
  
Works for me in IE! 
  
From: xerte-bounces at lists.nottingham.ac.uk [
mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 11 March 2009 13:37
To: Xerte discussion list
Subject: RE: [Xerte] Make custom template toolkits ready 
  
Give this one a whirl for me … 
  
MailScanner has detected a possible fraud attempt from "JavaScript" 
claiming to be http://www.nottingham.ac.uk/toolkits/play_893 
  
  
  
From: xerte-bounces at lists.nottingham.ac.uk [
mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter Huppertz
Sent: Wednesday, March 11, 2009 1:32 PM
To: Xerte discussion list
Subject: RE: [Xerte] Make custom template toolkits ready 
  
thanks for the info, I replaced all paths. 

Have you tried component-icons in toolkits? I now loaded the same .swf 
file using a graphic icon and it displays fine. If I use the same path in 
a component icon nothing shows up on toolkits. 

Peter 

From: 
Julian Tenney <Julian.Tenney at nottingham.ac.uk> 
To: 
"Xerte discussion list" <xerte at lists.nottingham.ac.uk> 
Date: 
11.03.2009 13:19 
Subject: 
RE: [Xerte] Make custom template toolkits ready 
Sent by: 
xerte-bounces at lists.nottingham.ac.uk

 
 





You need to distinquish between template path and FileLocation when 
running in toolkits, as the two locations are different. 
 
FileLocation is the folder where the xml file is; templatePath is the 
folder where the rlt is. 
 
Locally, the two are the same. 
 
From: xerte-bounces at lists.nottingham.ac.uk [
mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter Huppertz
Sent: Wednesday, March 11, 2009 11:33 AM
To: Xerte discussion list
Subject: RE: [Xerte] Make custom template toolkits ready 
 
so things are getting better now. My custom interface loads and is 
displayed in the preview. The only problem is now, that my custom made 
nodes don't show up properly. E.g. I made a select-and-drag-and-drop-text 
node which mainly loads an external flash file using a component icon. It 
shows up fine in the local wizard. 
Pre-built nodes (from the nottingham.rlt) show up properly. 

Peter 

From: 
Julian Tenney <Julian.Tenney at nottingham.ac.uk> 
To: 
"Xerte discussion list" <xerte at lists.nottingham.ac.uk> 
Date: 
11.03.2009 10:49 
Subject: 
RE: [Xerte] Make custom template toolkits ready 
Sent by: 
xerte-bounces at lists.nottingham.ac.uk

 

 






You mean to say that everyting works fine until you come to hit preview 
and then nothing happens? What happens if you click play in the wizard? 
Does that one work OK? 

From: xerte-bounces at lists.nottingham.ac.uk [
mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Peter Huppertz
Sent: Tuesday, March 10, 2009 7:45 PM
To: xerte at lists.nottingham.ac.uk
Subject: [Xerte] Make custom template toolkits ready 

Hi List, 

I created my own template, based on the nottingham template (not the 
latest version, what a pitty). It works fine in the local Xerte editor. It 
also works in toolkits, but no preview is shown. By the way: I use my own 
visuals. Than I did the following to make it toolkits ready: 

- added an entry to the table originaltemplatesdetails, mainly with the 
same settings as the other two entries 
- created a new folder in modules - xerte - parent_templates called ICAR 
- added some entries to the learningObject of my ICAR.rlt: 
TargetFolder=ICAR, Description=Description of my template, version =0.9 
- copied the content of my local template folder: ICAR.rlt, data.xwd, 
common, thumbs 
- duplicated the Nottingham folder under modules - xerte - templates and 
renamed it to ICAR 
- created a new project based on the ICAR template 

So, what did I miss? 

How can I debug it? 

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



-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20090311/a8332f40/attachment.html


More information about the Xerte mailing list