[Xerte-dev] Re: Fusing 2 items

Julian Tenney Julian.Tenney at nottingham.ac.uk
Wed Oct 3 13:37:42 BST 2012


And you've got these things in place?

The new attributes in the xml payload defined in newNodes (and confirmed they are there by debug inside xerte?)
The items in the xwd's section for imageViewer?
Closed and re-opedned the wizard to reload the xwd?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 03 October 2012 13:03
To: xerte-dev at lists.nottingham.ac.uk
Subject: [Xerte-dev] Re: Fusing 2 items


Can't get any new text input areas to appear on image viewer wizard...

________________________________
From: Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>
To: xerte-dev at lists.nottingham.ac.uk<mailto:xerte-dev at lists.nottingham.ac.uk>
Date: Wed, 3 Oct 2012 12:19:49 +0100
Subject: [Xerte-dev] Re: Fusing 2 items
Ah, add those attributes to the payload in the newNodes section, so when you add a new daveImageVeiwer, the xml is added with those params present.

The wizard loops over all the params in the xml and says 'how should I edit this data?', and skips ones it doesn't have info in the xwd for,

From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 03 October 2012 12:17
To: xerte-dev at lists.nottingham.ac.uk<mailto:xerte-dev at lists.nottingham.ac.uk>
Subject: [Xerte-dev] Re: Fusing 2 items


And the wizard will automatically reflect?
I tried adding hard code in template.xwd and I just get some replaced with others marked undefined.


  <imageViewer type="text" height="250" label="Page Text" menu="Media" menuItem="Image Viewer" icon="icImage" remove="true" thumb="thumbs/imageViewer.jpg" hint="Allows a user to zoom in and out of a large image and select regions. Useful way of presenting large images in a small screen space.">

    <name type="TextInput" label="Page Title"/>
    <align type="ComboBox" label="Align Text" options="Bottom" width="100"/>
    <url type="media" label="Image"/>

    <text type="TextArea" height="100" label="daveText"/>
    <prompt type="TextArea" height="100" label="daveText"/>

  </imageViewer>


________________________________
From: Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>
To: xerte-dev at lists.nottingham.ac.uk<mailto:xerte-dev at lists.nottingham.ac.uk>
Date: Wed, 3 Oct 2012 11:00:21 +0100
Subject: [Xerte-dev] Re: Fusing 2 items
Easy enough.

I'd work from Image Viewer as you suggest. Adapt the template using some hard wired text to start with

Add the params to the image viewer part of the xwd, so you have data.

Access them the same way the other params are being accessed in the image viewer template, and switch out your hard wired strings for the {data.long.path.to.param}



From: xerte-dev-bounces at lists.nottingham.ac.uk<mailto:xerte-dev-bounces at lists.nottingham.ac.uk> [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 02 October 2012 15:46
To: xerte-dev at lists.nottingham.ac.uk<mailto:xerte-dev at lists.nottingham.ac.uk>
Subject: [Xerte-dev] Fusing 2 items


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<mailto: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<mailto: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/20121003/a0901f0d/attachment-0001.html>


More information about the Xerte-dev mailing list