[Xerte-dev] Re: Use of the <info> tag and correct syntax

Julian Tenney Julian.Tenney at nottingham.ac.uk
Tue Dec 4 16:45:40 GMT 2012


In other words when you toggle the check boxes, you need to move the info textfield, because it stays where it was, hiding / being hidden by some of the fields?

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Kemp Johnathan
Sent: 04 December 2012 16:36
To: For Xerte technical developers
Subject: [Xerte-dev] Re: Use of the <info> tag and correct syntax

I only see my posts once someone has replied to them so I ended up with two posts.

Yes the info button is the cause of the language options not showing - effectively it appears to hide the last few attributes in the form. This effect was hidden when they happened to be flagged as language, only becoming apparent when the language checkbox is ticked.

I will test your example below, but from memory that looks very much like the syntax that I got from Ron's example.

I will post the result later as I have to dash now for a saxophone lesson.

Bye for now

JK

On 4 December 2012 16:11, Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
Just so I'm clear, the mail you posted before about the language options not showing, is because of the use of the info tag?

Sorry I'm having a hard time keeping up with all these issues, especially the big one.

<info><![CDATA[Here is the help]]></info>

Is the correct format.

Does that still break it?

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<mailto:xerte-dev-bounces at lists.nottingham.ac.uk>] On Behalf Of Kemp Johnathan
Sent: 04 December 2012 10:56
To: Xerte Developers Discussion List
Subject: [Xerte-dev] Use of the <info> tag and correct syntax

I posted earlier of some display issues in the xwd form of some of the Connector pages.

I have now established that the problem lies with the use of the <info> tag.
When an <info> tag is included in an xwd the last few entries in the xwd form fail to display, space is left for them and the mouse pointer responds to their presence but the form just displays as a grey block. I have attached an image file to show you the output that results.

The problem caused by the <info> tag was hidden at first as the Language section is collapsed by default, so the none-display of attribute fields only showed when the Language check box was ticked. However the language attribute feature is not part of the problem as the same effect can be achieved in a page that has no attributes flagged as language="true".

Am I using the correct syntax for the <info> tag?

I have tried all of the following but they all result in the disappearance of fields.

In the Xerte help there is an example

  <info image="assets/screenshot.jpg"><![CDATA[Here is some help]]><info>
In an example that Ron sent to me he used the syntax below (which is the one currently used in the xwd files)

<info><![CDATA[<b>Help for plain text connector. <a href="http://xerte.org.uk/someresourcelink/" target="_blank">Click here</a></b>]]></info>

I have also tried the syntax copied from the title page

<info><![CDATA[<info name="Enter Page Title" size="30">Enter title here</info>]]></info>

and the syntax

<info>some text</info>

I have also tried placing the <info> tag above the <newNodes> section and below the <newNodes> section.

Options.
1.      If anyone can give me the correct syntax for the Info tag then I will try it out - but I am not convinced that incorrect syntax is the problem.
2.      If the problem is in the code that process the xwd file - can it be fixed in time for the release?
3.      If the problem cannot be resolved in time for the next XOT release which would you prefer a) remove all the info tags and lose the linking to the help files on the Xerte.org.uk<http://Xerte.org.uk> web site. b)leave the info tags in place, knowing that this will temporarily prevent editing of some of the language attributes - which probably would be left with their default values anyway, in the belief that the problem can be resolved by a subsequent fix applied to the code that processes the xwd files.
Kind regards

Johnathan





_______________________________________________
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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20121204/115adcbd/attachment-0001.html>


More information about the Xerte-dev mailing list