[Xerte] Re: Xerte Digest, Vol 25, Issue 29

Kemp Johnathan johnathan.kemp at ntlworld.com
Wed May 18 14:21:32 BST 2011


Many moons ago I tried learning to program Xerte by following a tutorial
from the Xerte documentation about how to create your own templates. I don't
know if the tutorial you are using is the one I tried, but I recall at the
time there were some missing bits of code.

If you want to get your head around creating your own templates you may find
the Page Wizards are an excellent starting point. Page Wizards are
individual page templates which expose their structure in the Xerte desktop
environment. There is a Page Wizard for virtually every page in the Page
Templates project wide template.

If you start with a simple page Wizard like plain text you can soon get a
feel for how the various files (xwd, rlm and xml ) relate to each other.
After that you can expand your learning by taking a look at progressively
more complex pages.

Page Wizards often provide an excellent starting point and resource, when
creating your own page templates. Simply find the Page Wizard that is most
similar to what you want to achieve, create a new page from it and then
tinker around with the icon structure and scripts, to change how it works.
Modify the xwd file to add new properties to your page which you can then
utilise in the page's model.

Every Page Wizard is not only a fully working page, but a real life worked
example of how to create pages in Xerte.

For more information on Page Wizards take a look at the Xerte Wiki.

Kind regards

Johnathan

On 18 May 2011 12:23, Julian Tenney <Julian.Tenney at nottingham.ac.uk> wrote:

> not off the top of my head - wasn't there a zip file to go with that manual
> somehwhere...
>
> ________________________________________
> From: xerte-bounces at lists.nottingham.ac.uk [
> xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Janine Dantzie [
> Janine.Dantzie at bcu.ac.uk]
> Sent: 18 May 2011 12:19
> To: Xerte discussion list
> Subject: [Xerte] Re: Xerte Digest, Vol 25, Issue 29
>
> Thanks Julian, I was able to drag the xtp into Xerte and that seems to
> have worked.
> I have another problem though, on pg 12 part of the code for the judge
> script is missing as the screen shot isn't wide enough, this is the same
> error on pg 13 for the showPreviousAnswers script.
>
> Can you tell me the remaining part of code for the following please?
>
> if(quizData.question[quesIndex].option[icon.parentNode.index
>
> icon.previousSibling.childNodes[tempIndex].clip().setValue
>
> many thanks
>
> -----Original Message-----
> From: xerte-bounces at lists.nottingham.ac.uk
> [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
> Sent: 18 May 2011 11:29
> To: Xerte discussion list
> Subject: [Xerte] Re: Xerte Digest, Vol 25, Issue 29
>
> Tempalte projects re better handled now by putting thextp into
> xerte/wizards and they then appear on the tempaltes menu automatically.
> select the one you want and the project will get set up...
>
> J
>
> ________________________________________
> From: xerte-bounces at lists.nottingham.ac.uk
> [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Janine Dantzie
> [Janine.Dantzie at bcu.ac.uk]
> Sent: 18 May 2011 11:25
> To: xerte at lists.nottingham.ac.uk
> Subject: [Xerte] Re: Xerte Digest, Vol 25, Issue 29
>
> Hello,
>
> I am following Julian Tenney's Dynamic Templates with Xerte guide and
> have run into a few problems.
> One of which is that at the end to create a new template project by
> selecting 'new template project' from the file menu. However in the
> Xerte standalone I have this option is not available in the file
> menu....?
>
> Janine
>
> _______________________________________________
> 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
>
> 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
> _______________________________________________
> 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/20110518/b07a4279/attachment.html>


More information about the Xerte mailing list