<div>Thank you for figuring out what was wrong with the mcq part of the page.<br></div><div><br></div><div>If you check your model file you will find a couple of references to "hotspotImage" that should be "customHotspots".</div>
<div><br></div><div>The format of the xwd newNode line with the inclusion of CDATA (shown in blue) to receive the drawing information is different to most other xwd files</div><div><br></div><div> <newNodes><br> <customHotspots><![CDATA[<customHotspots name="Enter Page Title" text="Enter text for the page here" highlightColour="0xFFFF00" lineWidth="1" interactivity="Hotspots" showShapes="true"><font color="#3366ff">CDATA</font></customHotspots>]]></customHotspots><br>
</newNodes></div><div><br></div><div>Compared for example to the quiz page equivalent in which there is no CDATA entry between the main block and the ending </quiz> tag.</div><div><br></div><div> <newNodes><br>
<quiz><![CDATA[<quiz name="Enter Quiz Title" order="random" numQuestions="All" align="left" panelWidth="Medium" instructions="Provide instructions here" judge="true" feedback="Provide feedback here"/>]]></quiz><br>
</newNodes></div><div><br></div><div>I have performed tests, trying to remove the CDATA but it appears essential for holding the drawing data.</div><div><br></div><div>However this in itself appears to be creating an issue in that the presence of the CDATA entry prevents the addition of any child data items to the page.</div>
<div><br></div><div>I have tried adding a child item and what happens in the display of the xwd form is that the child item is preceded in the page structure display at the left of the form by a prior entry which lists as </div>
<div><br></div><div>[type Function][type Function]</div><div><br></div><div>The child entry is displayed below this and the child data is displayed in the form's right-hand panel. However on closing the form the information for the child item is lost. If you re-order the sequence so that the child item is above the [type Function][type Function] entry, then on closing the form the child data is saved but the drawing data is lost.</div>
<div><br></div><div>Do you know of any way we could get around this so that a child item can be added?</div><div><br></div><div>The page contains quite a number of display text that is built into the model. e.g. "question 1 of 3", "Explore the diagram, click on the various parts to learn more".</div>
<div>To internationalise the page I need to put this text in an author modifiable format in the xwd form. I would prefer to have a newNode item that could present a form for this data. There are to many entries to add them to the main form without producing a very lengthy form. I know I can just add the data items to the newNode line for the page but I want also to allow the Author to be able to change the default values. I cannot make them simply optional properties as they will all display in the main form as soon as I include the default values in the newNodes line that creates the page. Further I don't want the author to be able to delete the values.</div>
<div><br></div><div>Anyone any ideas how a child node could be added to this page?</div><div><br></div><div>Kind regards</div><div><br></div><div>Johnathan </div><div><br></div><div class="gmail_quote">On 1 February 2012 14:05, Fay Cross <span dir="ltr"><<a href="mailto:Fay.Cross@nottingham.ac.uk">Fay.Cross@nottingham.ac.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"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Thanks, I’ll add in a brief instruction for this page</span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal" style="margin-left:36.0pt">
<b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Julian Tenney<br>
<b>Sent:</b> 01 February 2012 13:04</span></p><div class="im"><br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Interactive Diagram Page (customHotspots.rlm)</div></div></div><div class="im">
<p class="MsoNormal" style="margin-left:36.0pt"> </p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">Add info using <info><![CDATA[Here is page of some stuff]]></info> in the xwd.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">It shows in blue text at the bottom of the wizard.</span></p>
<p class="MsoNormal" style="margin-left:36.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:72.0pt"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Fay Cross<br>
<b>Sent:</b> 01 February 2012 11:51<br><b>To:</b> For Xerte technical developers<br><b>Subject:</b> [Xerte-dev] Re: Interactive Diagram Page (customHotspots.rlm)</span></p></div></div><p class="MsoNormal" style="margin-left:72.0pt">
</p><p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">There was a bug – it only worked if you had at least 4 things in the diagram. It’s fixed in the attached version.</span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d">On a different point, I hadn’t looked at this page type before and it took me a ridiculously long time to work out how to add the text to go with each part of the diagram. I was convinced there was a new nodes bit missing until I found where to put it. Am I just being a bit slow this morning and is it clear to everyone else? Or do you think it needs to have some instructions with it – can you add explanatory text to a page in the wizard?</span></p>
<p class="MsoNormal" style="margin-left:72.0pt"><span style="font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1f497d"> </span></p><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal" style="margin-left:108.0pt"><b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span lang="EN-US" style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk" target="_blank">xerte-dev-bounces@lists.nottingham.ac.uk</a>] <b>On Behalf Of </b>Kemp Johnathan<br>
<b>Sent:</b> 30 January 2012 13:24<br><b>To:</b> Xerte Developers Discussion List<br><b>Subject:</b> [Xerte-dev] Re: Interactive Diagram Page (customHotspots.rlm)</span></p></div><p class="MsoNormal" style="margin-left:108.0pt">
</p><div><p class="MsoNormal" style="margin-left:108.0pt">I am about to start extracting the language strings from the rlm file but find during prior testing that if I select the mcq option that the page just stops responding on preview.</p>
</div><div><p class="MsoNormal" style="margin-left:108.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:108.0pt">Is this a known bug? What is supposed to happen?</p></div><div><p class="MsoNormal" style="margin-left:108.0pt">
</p></div><div><p class="MsoNormal" style="margin-left:108.0pt">I have tested this both in a Page Templates project and in an individual page template project using the customHotspots.rlm file and an xwd derived from the contents in templates.xwd.</p>
</div><div><p class="MsoNormal" style="margin-left:108.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:108.0pt">Kind regards</p></div><div><p class="MsoNormal" style="margin-left:108.0pt"> </p></div><div><p class="MsoNormal" style="margin-left:108.0pt">
Johnathan</p></div></div></div><div class="im"><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>
</div></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>
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.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
<br></blockquote></div><br>