[Xerte-dev] Re: another glossary question...

Ron Mitchell ronm at mitchellmedia.co.uk
Thu Mar 1 11:31:20 GMT 2012


Just revisiting this and have updated my files from svn, exported page
templates to a new folder and testing with 3 items added to the glossary via
LO properties. The terms and definitions are getting saved to the xml so
that's not the problem.

debugging items or item[i} during the loop shows the entries are correct but
have added a title page and plain text page including the terms and neither
show hyperlinks on the terms or do anything when clicked. Is there a
dependency missing somewhere?

 

Cheers

Ron

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 06 February 2012 09:52
To: For Xerte technical developers
Subject: [Xerte-dev] Re: another glossary question...

 

pop this in at the bottom of 'makePages'

 

//glossary

if (templateData.learningObject[0].glossary != undefined){

  Glossary.enabled = true;

  items = templateData.learningObject[0].glossary.split('||');

  for (i = 0; i < items.length; i++){

    Glossary.addTerm(items[i].split('|')[0], items[i].split('|')[1]);

  }

}

 

From: xerte-dev-bounces at lists.nottingham.ac.uk
[mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Ron Mitchell
Sent: 03 February 2012 20:20
To: 'For Xerte technical developers'
Subject: [Xerte-dev] another glossary question...

 

Hi Julian

following on from the questions about glossary on the main list - I didn't
want to confuse that thread so have posted here instead...

 

Is the optional learning object icon glossary property in a xerte or XOT
page templates project meant to be working? I've added that, added a few
terms and also tried adding Glossry.enabled = true; to the .rlt but can't
seem to get it to work.

 

Cheers

Ron

 

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/20120301/b5d98e7d/attachment.html>


More information about the Xerte-dev mailing list