[Xerte] Re: simple presentation
Dave Burnett
d_b_burnett at hotmail.com
Fri Apr 1 19:21:27 BST 2011
You have to be very careful around template architecture.
You see the script icon above the Interface icon called makePages?
Open it up and look at the first line of code.
icon.nextSibling.firstChild.duplicate(templateData.presentation[0].page.length - 1);
That is making the pages of your presentation:
icon = here, this icon
nextSibling = next icon downward
firstChild = next icon rightward
duplicate = duplicate
So it is saying, duplicate the protoPage icon x number of times.
When you insert your entry pane on to the Interface page, you have inserted a sibling between makePages and the target, protoPage.
So the relative logic is destroyed and the piece is not being built.
You would have to adjust all the relative references in the piece to take into account the added entrypane icon.
HTH
Dave
From: patricia at e-w-i.nl
To: xerte at lists.nottingham.ac.uk
Date: Fri, 1 Apr 2011 18:23:44 +0200
Subject: [Xerte] simple presentation
Hi, I am very new in Xerte.
I am trying to understand the simple presentation
template.
I would like to ad an entry frame to the
interface icon and then add som cusom buttons.
However, when I insert an entry frame,
the application doesn't work correctly anymore. The text icon shows
'undefined' and I cannot go through the pages.
What I am doing wrong?
Thanks for any help
Patricia
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 mailing list
Xerte at lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte
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/attachments/20110401/230242e0/attachment.html>
More information about the Xerte
mailing list