[Xerte-dev] Re: Fusing 2 items
Dave Burnett
d_b_burnett at hotmail.com
Tue Oct 2 17:00:35 BST 2012
er, where's scenario.xwd?
Date: Tue, 2 Oct 2012 16:39:28 +0100
From: johnathan.kemp at ntlworld.com
To: xerte-dev at lists.nottingham.ac.uk
Subject: [Xerte-dev] Re: Fusing 2 items
To keep things simple you could simply paste the modelAnswer parameters section as a child of the image viewer element. This would avoid any issues with the two pages having any parameters with the same name.
If you open scenario.xwd you can see an example of something similar
The page level element is <scenario> and the child elements of scenario are<gamesetup>
<scenarioActions><proplist>
The <pageWizard><newNodes> section declares both the scenario element parameters and its children's parameters so that when a new page is created it already has its child elements populated with default data.
Once you get your example working remember if you want it to co-exist with other Xerte page types that you should give any element that is a top level element in a <newNodes> block a unique name that is not used in any of the other page types. Your model file will then need editing (use search and replace in Flashdevelop) to replace the original name with the new name.
Hope this clears things up if not post back and I will try and answer any further questions.
Kind regards
Johnathan
On 2 October 2012 15:45, Dave Burnett <d_b_burnett at hotmail.com> wrote:
How difficult will it be to fuse 2 items?
I'm trying to make a template page that has the Image Viewer occupying the up area with the Model Answer in the Lower.I think I can work out the template itself, but not sure how to adapt the Image Viewer Wizard to include the Model Answer params.
Dave
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-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
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-dev mailing list
Xerte-dev at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121002/e97248bc/attachment-0001.html>
More information about the Xerte-dev
mailing list