<div>I have now posted to the xerte svn an updated templates.rlt that will support every pages xwd form having an optional parameter </div><div><br></div><div> <navSetting label="Navigation Buttons" options="All,Back and Next,Back Only,Next Only,None" type="ComboBox" width="120" data="all,backnext,backonly,nextonly,none" defaultValue="all" optional="true"/></div>
<div><br></div><div>This will allow ANY page to set the navigation options for when that page is viewed. It is also agnostic of the learning objects navigation attribute value.</div><div><br></div><div>So I think we can now retire from XOT the following connectors</div>
<div><br></div><div>Plain Text Connector</div><div>Redirector Connector (any page can now end a sequence by simply providing a link and turning of the navigation buttons)</div><div>Tabbed Navigation Connector ( You can use the existing Tabbed Nav and use pageLinks to make the connections)</div>
<div><br></div><div>Kind regards</div><div><br></div><div>Johnathan</div><br><div class="gmail_quote">On 21 November 2012 08:22, Ron Mitchell <span dir="ltr"><<a href="mailto:ronm@mitchellmedia.co.uk" target="_blank">ronm@mitchellmedia.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">yes that works!<br>
<div class="im HOEnZb"><br>
-----Original Message-----<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
[mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Julian Tenney<br>
</div><div class="im HOEnZb">Sent: 20 November 2012 11:12<br>
To: For Xerte technical developers<br>
</div><div class="HOEnZb"><div class="h5">Subject: [Xerte-dev] Re: Connectors<br>
<br>
try the engine from the xerte svn<br>
________________________________________<br>
From: <a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><br>
[<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of Ron Mitchell<br>
[<a href="mailto:ronm@mitchellmedia.co.uk">ronm@mitchellmedia.co.uk</a>]<br>
Sent: 20 November 2012 10:46<br>
To: 'For Xerte technical developers'<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
Hi Julian<br>
where did we get to with this internal linking via page list?<br>
Adding the links works well but the links don't actually work.<br>
This is my test file and the install is up-to-date from the XOT svn.<br>
Cheers<br>
Ron<br>
<br>
From: Ron Mitchell [mailto:<a href="mailto:ronm@mitchellmedia.co.uk">ronm@mitchellmedia.co.uk</a>]<br>
Sent: 16 November 2012 12:02<br>
To: 'For Xerte technical developers'<br>
Subject: RE: [Xerte-dev] Re: Connectors<br>
<br>
I like the page list selection but just tried with all browsers and the<br>
links aren't working.<br>
<a href="http://vle.jisctechdis.ac.uk/xot/play.php?template_id=163" target="_blank">http://vle.jisctechdis.ac.uk/xot/play.php?template_id=163</a><br>
There's a link on page 1 and page 4 but neither work :-(<br>
<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Julian Tenney<br>
Sent: 16 November 2012 11:45<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
It is now<br>
<br>
;-)<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Julian Tenney<br>
Sent: 16 November 2012 11:45<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
Its in the wizard, yes,<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Ron Mitchell<br>
Sent: 16 November 2012 11:47<br>
To: 'For Xerte technical developers'<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
is the context menu meant to be available with the XOT changes? I updated<br>
the techdis install but not seeing that option.<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Julian Tenney<br>
Sent: 16 November 2012 11:15<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
Give it a whirl, I just commited everything<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Ron Mitchell<br>
Sent: 16 November 2012 11:17<br>
To: 'For Xerte technical developers'<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
look like it would and I'd be curious if it works via play.php?<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Julian Tenney<br>
Sent: 16 November 2012 11:08<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
On that basis this would work?<br>
<br>
linkID =<br>
extXML.firstChild.childNodes[rootIcon.currentPage].attributes.linkID;<br>
httpStr = callJS(' function(){ return document.location.href.toString();}');<br>
<br>
if (httpStr.indexOf('?') == -1){<br>
deepLink = httpStr + '?linkID=' + linkID; } else {<br>
deepLink = httpStr + '&linkID=' + linkID; }<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Ron Mitchell<br>
Sent: 16 November 2012 11:03<br>
To: 'For Xerte technical developers'<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
Subject of the discussion I started on 18/09/2009 was: detect/retrieve url<br>
of an LO It was IE7 then so perhaps it's fine now?<br>
<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Julian Tenney<br>
Sent: 16 November 2012 10:53<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
I haven't tried<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Ron Mitchell<br>
Sent: 16 November 2012 10:55<br>
To: 'For Xerte technical developers'<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
Probably - if you're picking that up reliably in all browsers?<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Julian Tenney<br>
Sent: 16 November 2012 10:47<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
Is it enough to append it to window.location?<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Ron Mitchell<br>
Sent: 16 November 2012 10:49<br>
To: 'For Xerte technical developers'<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
When I initially put together the QRCode page I also wanted to do this so<br>
there was an easy and quick option to add the URl to the LO itself. I seem<br>
to recall we had a range of discussion but that at the time at least there<br>
wasn't an existing ready made way of getting to the full url. Perhaps that<br>
has changed since?<br>
I seem to recall having a similar issue to the deep linking in IE - couldn't<br>
find a reliable cross browser solution but this was some time ago.<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Julian Tenney<br>
Sent: 16 November 2012 10:32<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
In the tempalte code, how do I build the URL to play.php? Do I have<br>
variables I can access to easily make for example<br>
<a href="http://www.nottingham.ac.uk/toolkits/play_560?linkID=PG12345678" target="_blank">http://www.nottingham.ac.uk/toolkits/play_560?linkID=PG12345678</a><br>
<br>
I can't remember if they are there or not. Also, what about non-apache where<br>
the URL needs to be play.php?templateID=blah&linkID=PG12345678<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Ron Mitchell<br>
Sent: 16 November 2012 10:25<br>
To: 'For Xerte technical developers'<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
Sounds good.<br>
The only thing I forgot to mention is that 1. doesn't quite negate the use<br>
of plain text connector because of the option to control navigation buttons.<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Julian Tenney<br>
Sent: 16 November 2012 10:18<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
<br>
1. Is all done. A useful method for other connector navigation is the<br>
rootIcon.pageLink() method which (guess what) navigates to a page based on a<br>
linkID. Johnathan: what other navigation support do you need (if anything)?<br>
<br>
2. Yes, maybe. A separate problem.<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Ron Mitchell<br>
Sent: 16 November 2012 10:14<br>
To: 'For Xerte technical developers'<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
ok sounds like two plans:<br>
<br>
1. enabling the context menu linking between pages using linkID - far easier<br>
and more reliable than the old pageTitle script<br>
<br>
2. perhaps at some point a small share icon/option in the interface which<br>
pops up options to share this LO and share this page perhaps even a twitter<br>
share option!<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Julian Tenney<br>
Sent: 16 November 2012 10:03<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
Leave the linking from outside to one side for now. I think that needs to be<br>
available in the runtime to all users of the LO somehow, rather than the<br>
editor side of things?<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Ron Mitchell<br>
Sent: 16 November 2012 10:03<br>
To: 'For Xerte technical developers'<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
three thoughts...<br>
<br>
1. I've often thought the ability to internally link between pages by<br>
manually adding the asfunction page title script should be easier so having<br>
that as part of the context menu would be great!<br>
<br>
2. However that's different to the ability of an author to create a suitable<br>
external 'permalink' to a specific page by exposing access to the linkID<br>
<br>
3. Perhaps the ideal solution for an author to generate an external link<br>
containing the right linkID if possible would be to have a clickable link or<br>
button in the editor. So on each page there is a 'permalink to this page'<br>
icon or link which when click pop-up the browser window with the full url<br>
and linkID or copies the same to the clipboard and alerts to that fact.<br>
<br>
I know that's easier said than done and there is the aspect that the LO<br>
would need to be set to public too but just a few thoughts...<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Julian Tenney<br>
Sent: 16 November 2012 09:39<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
That would effectively make the plain text connector redundant because you'd<br>
be able to add links to other pages anywhere you like.<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Smith, John<br>
Sent: 16 November 2012 09:20<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
Re. 3 - Can't the context menu just have a new entry in the context menu,<br>
"Link to page" above "Hyperlink" which opens a new dialog letting the user<br>
select the Page from a list?<br>
<br>
Regards,<br>
<br>
John Smith<br>
Learning Technologist<br>
School of Health & Life Sciences<br>
Glasgow Caledonian University<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Julian Tenney<br>
Sent: Friday, November 16, 2012 9:16 AM<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
<br>
1. I can easily do that: as the list is built, I loop over every page.<br>
At that point I can check for a pageID and make it into a linkID. I will add<br>
this code and check it in.<br>
<br>
2. When we did the setNavigationStyle() thing there are two options:<br>
historical and linear, with different graphics (not settled on the graphics<br>
yet) for the back button and the ability to add a home button with<br>
addHomeButton(). That's all done engine wise. Does anything else need to<br>
happen?<br>
<br>
3. I'm not close enough to this detail. What's the answer: to expose<br>
the linkID in the wizard somewhere, or allow it to be copied to the<br>
clipboard?<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>> [mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a>] On Behalf Of<br>
Kemp Johnathan<br>
Sent: 15 November 2012 16:39<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
But will attach again here .... whoops<br>
<br>
<br>
<br>
On 15 November 2012 16:28, Kemp Johnathan<br>
<<a href="mailto:johnathan.kemp@ntlworld.com">johnathan.kemp@ntlworld.com</a><mailto:<a href="mailto:johnathan.kemp@ntlworld.com">johnathan.kemp@ntlworld.com</a>>> wrote:<br>
Sorry for the delay in responding - had to pop out for a while.<br>
<br>
The 3 outstanding issues are<br>
<br>
1. Whether to enable the pageList control to receive a pageID in the xml<br>
data and convert it to a linkID. This is not essential. It will just provide<br>
better backward compatibility with any projects using the current Connector<br>
pages.<br>
2. Decide on what navigation options are acceptable to you and to what<br>
degree support for setting them is provided by the engine rather than with<br>
extra code in the models. This is discussed in the navigation.pdf document<br>
that I have posted previously but will attach again here. If you need any<br>
clarification on any of it please let me know. Once I know what support is<br>
available in the engine I can work from there.<br>
3. We need to decide how best to handle the plainText connector given<br>
that the Author in XOT cannot see the linkID value for a page. If it is<br>
acceptable to you then one option is to allow the Author to add child page<br>
elements in the same way I have implemented how you specify specific pages<br>
for the Connector Menu in the example I posted earlier. Then the Author can<br>
just put the number of the page in the hyperlink i.e. first child page = 1,<br>
second child page = 2. If it would help I set this up for your appraisal.<br>
Kind regards<br>
<br>
Johnathan<br>
<br>
<br>
On 15 November 2012 13:41, Julian Tenney<br>
<<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a><mailto:<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>>><br>
wrote:<br>
OK. So we can push on with making the linkID / pageList stuff work in<br>
toolkits, that will naturally apply to the pageTemplates projects, and you<br>
guys can then sort out the page wizards implementations.<br>
<br>
What do you need me to do?<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>><br>
[mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@li">xerte-dev-bounces@li</a><br>
<a href="http://sts.nottingham.ac.uk" target="_blank">sts.nottingham.ac.uk</a>>] On Behalf Of Kemp Johnathan<br>
Sent: 15 November 2012 12:00<br>
<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
I have just had confirmation from Tom that the use of one .rlm file and two<br>
xwd files in the manner discussed earlier will not cause any problems for<br>
the creation of templates.xwd files or translation issues.<br>
<br>
JK<br>
<br>
On 15 November 2012 11:58, Kemp Johnathan<br>
<<a href="mailto:johnathan.kemp@ntlworld.com">johnathan.kemp@ntlworld.com</a><mailto:<a href="mailto:johnathan.kemp@ntlworld.com">johnathan.kemp@ntlworld.com</a>>> wrote:<br>
If Xerte and XOT can share the same .rlm file then this will give the best<br>
integration between Xerte and pageTemplates and XOT and pageTemplates.<br>
Support and development work on the rlm files can still carry on in Xerte<br>
with any necessary changes to the data they consume being accommodated by<br>
editing the respective two xwd files. The rlm file will know that in Xerte<br>
Pages mode it is getting pageIDs and in pageTemplates / XOT it is getting<br>
linkIDs.<br>
<br>
We need to finalise how the navigation options will work to be certain that<br>
this will not preclude this option.<br>
<br>
JK<br>
<br>
<br>
<br>
On 15 November 2012 11:41, Julian Tenney<br>
<<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a><mailto:<a href="mailto:Julian.Tenney@nottingham.ac.uk">Julian.Tenney@nottingham.ac.uk</a>>><br>
wrote:<br>
The crux of it seems to be then, how do we support connectors in page<br>
wizards?<br>
<br>
Otherwise, the linkID / pageList controls make a big difference to the<br>
usability of connectors in toolkits / page templates projects.<br>
<br>
So options;<br>
Support them through a different set of files that are only deployed in page<br>
wizards in standalone Xerte Or drop them from page wizards / standalone<br>
xerte<br>
<br>
Is this the consensus we're reaching?<br>
<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>><br>
[mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@li">xerte-dev-bounces@li</a><br>
<a href="http://sts.nottingham.ac.uk" target="_blank">sts.nottingham.ac.uk</a>>] On Behalf Of Kemp Johnathan<br>
Sent: 15 November 2012 11:31<br>
<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Re: Connectors<br>
<br>
To try to narrow this down it seems to me we need to<br>
<br>
1. Resolve the navigation option handling for the Connector Pages in XOT 2.<br>
See if it is still possible to use a single rlm file and two xwd files 3. If<br>
it is possible then we have the option to run with Xerte Pages projects and<br>
XOT / Page Templates still using the same .rlm files.<br>
4. If it is not possible to run with a single rlm file and separate xwd<br>
files for Xerte and XOT Page Templates then either<br>
a) We separate XOT and Xerte and they go their separate ways with completely<br>
separate sets of model files and xwd files but this could lead to<br>
discrepancies between pageTemplates projects and XOT projects as<br>
pageTemplates projects would be using the xerte rlm files.<br>
or<br>
b) We keep support for pages projects in Xerte but set the Connector pages<br>
xwd files to be only available to XOT. This will remove Connector pages from<br>
being available in Xerte and make them only available to XOT /<br>
pageTemplates.<br>
or<br>
c) We scrap all support for pages projects in Xerte and take Xerte back to<br>
where it was before page wizards or pages projects were developed. i.e You<br>
can round trip XOT to pageTemplates projects but you cannot access<br>
individual page wizards in Xerte.<br>
<br>
Kind regards<br>
<br>
Johnathan<br>
<br>
<br>
On 15 November 2012 11:02, Kemp Johnathan<br>
<<a href="mailto:johnathan.kemp@ntlworld.com">johnathan.kemp@ntlworld.com</a><mailto:<a href="mailto:johnathan.kemp@ntlworld.com">johnathan.kemp@ntlworld.com</a>>> wrote:<br>
As a way of putting off the day we need to make a decision I can offer the<br>
following, but I don't know what impact any developments regarding the<br>
navigation aspects will have on this because I don't know what how you want<br>
to handle this yet.<br>
<br>
I can produce a set of files for each connector page as follows using the<br>
connector menu page as an example below<br>
<br>
connectorMenu.rlm<br>
being a single rlm file that will work in XOT or Xerte<br>
<br>
connectorMenu.xwd<br>
being an xwd file that works in Xerte and is flagged for xerte only and uses<br>
text fields and Page IDs instead of pageLists<br>
<br>
xot_connectorMenu.xwd<br>
being an xwd file that works in XOT using the pageList control and is<br>
flagged to only be used in XOT<br>
<br>
At present the use of the pageList control will break the connections set up<br>
in any legacy projects that are already created, unless it can be made to<br>
look up the linkID if the xml data contains data that does not begin with<br>
"PG".<br>
<br>
The way the menu connector handles the option to specify a list of pages has<br>
changed so that the Author can select pages using the pageList control (or<br>
enter pageIDs individually in Xerte) so that will break legacy projects but<br>
it will present a consistent approach between the two.<br>
<br>
In principle what should happen is when you build the template.xwd file the<br>
xot_connectorMenu.xwd file should get included and the connectorMenu.xwd<br>
file should get ignored. But I need to check with Tom if there are any<br>
implications with this.<br>
<br>
I have attached a pageTemplates project example containing the reworked Menu<br>
Connector so you can see how it is panning out. I will need to edit the code<br>
a little to make it agnostic about pageIDs or linkIDs but that should be<br>
fairly simple.<br>
<br>
I have used the linkID to locate the page index so don't I can manage with<br>
out a rootIcon.gotoPage(linkID) method. It is easier this way to work with<br>
both pageIDs and linkIDs.<br>
<br>
This just leaves how to handle the plainText connector situation in which<br>
the Author cannot see the linkID value.<br>
<br>
I had a thought about that. You could add a child element like I have in the<br>
menu Connector and then put an index value in the hyperlink e.g. <a<br>
href="asfunction:_level0.engine.fnTextCon,1" target="_blank"> would point to<br>
the first child element, <a href="asfunction:_level0.engine.fnTextCon,2"<br>
target="_blank"> would point to the second child element. The fnTextCon<br>
function could then look up the linkID from the xml data.<br>
<br>
Then for all the connector pages we have the navigation options to resolve.<br>
<br>
Kind regards<br>
<br>
Johnathan<br>
<br>
On 15 November 2012 10:12, Ron Mitchell<br>
<<a href="mailto:ronm@mitchellmedia.co.uk">ronm@mitchellmedia.co.uk</a><mailto:<a href="mailto:ronm@mitchellmedia.co.uk">ronm@mitchellmedia.co.uk</a>>> wrote:<br>
The only additional thing that springs to mind right now is whether there<br>
can be a check whether the project is a pages/page wizard project and in<br>
that case the pageList control isn't used and the old manually added pageID<br>
is used instead. I guess Jonathan is best placed to know whether that would<br>
work and what would be involved.<br>
<br>
From:<br>
<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@lists.nott">xerte-dev-bounces@lists.nott</a><br>
<a href="http://ingham.ac.uk" target="_blank">ingham.ac.uk</a>><br>
[mailto:<a href="mailto:xerte-dev-bounces@lists.nottingham.ac.uk">xerte-dev-bounces@lists.nottingham.ac.uk</a><mailto:<a href="mailto:xerte-dev-bounces@li">xerte-dev-bounces@li</a><br>
<a href="http://sts.nottingham.ac.uk" target="_blank">sts.nottingham.ac.uk</a>>] On Behalf Of Julian Tenney<br>
Sent: 15 November 2012 09:12<br>
To: For Xerte technical developers<br>
Subject: [Xerte-dev] Connectors<br>
<br>
We need to figure out how we are going to deal with the connectors.<br>
<br>
Summary<br>
- We want to use the new pageList control in the wizard to allow users to<br>
create and use linkIDs behind the scenes. Users will simply select the name<br>
of the page they want to jump to from the pageList control. The pagelist<br>
control writes the linkID of the selected page to the attribute's value.<br>
- This means re-working the connector pages to use the linkID rather than<br>
pageID (I don't think this is hard / lengthy)<br>
- This brings a big improvement to the connectors in toolkits.<br>
[so far so good<br>
<br>
The same thing would also work with a page templates project in standalone<br>
xerte. Project's could still be round-tripped to toolkits and back again.<br>
[so far so good still]<br>
<br>
Problem<br>
The problem is with the page wizards. When using the wizard there, there is<br>
no way of getting a list of pages in the piece, or generating linkIDs for<br>
them, so this approach won't work. Now there are many problems, because the<br>
page wizards share the code with the page templates models.<br>
<br>
Considerations<br>
Xerte standalone is pretty much at the end of its life.<br>
Hardly anyone uses page wizards in standalone xerte.<br>
<br>
Before we discuss options, is there anything else to add to this summary?<br>
Please keep comments short and to the point so that we can get a clear sight<br>
of the problem and the options we have available.<br>
<br>
<br>
<br>
This message and any attachment are intended solely for the addressee and<br>
may contain confidential information. If you have received this message in<br>
error, please send it back to me, and immediately delete it. Please do not<br>
use, copy or disclose the information contained in this message or in any<br>
attachment. Any views or opinions expressed by the author of this email do<br>
not necessarily reflect the views of the University of Nottingham.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><mailto:<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a>><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
<br>
<br>
This message and any attachment are intended solely for the addressee and<br>
may contain confidential information. If you have received this message in<br>
error, please send it back to me, and immediately delete it. Please do not<br>
use, copy or disclose the information contained in this message or in any<br>
attachment. Any views or opinions expressed by the author of this email do<br>
not necessarily reflect the views of the University of Nottingham.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
<br>
<br>
_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><mailto:<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a>><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
<br>
This message and any attachment are intended solely for the addressee and<br>
may contain confidential information. If you have received this message in<br>
error, please send it back to me, and immediately delete it. Please do not<br>
use, copy or disclose the information contained in this message or in any<br>
attachment. Any views or opinions expressed by the author of this email do<br>
not necessarily reflect the views of the University of Nottingham.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
<br>
<br>
_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><mailto:<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a>><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
<br>
This message and any attachment are intended solely for the addressee and<br>
may contain confidential information. If you have received this message in<br>
error, please send it back to me, and immediately delete it. Please do not<br>
use, copy or disclose the information contained in this message or in any<br>
attachment. Any views or opinions expressed by the author of this email do<br>
not necessarily reflect the views of the University of Nottingham.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
<br>
<br>
Glasgow Caledonian University is a registered Scottish charity, number<br>
SC021474<br>
<br>
Winner: Times Higher Education's Widening Participation Initiative of the<br>
Year 2009 and Herald Society's Education Initiative of the Year 2009.<br>
<a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en
.html" target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en<br>
.html</a><br>
<br>
Winner: Times Higher Education's Outstanding Support for Early Career<br>
Researchers of the Year 2010, GCU as a lead with Universities Scotland<br>
partners.<br>
<a href="http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e
n.html" target="_blank">http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,e<br>
n.html</a><br>
<br>
<br>
This message and any attachment are intended solely for the addressee and<br>
may contain confidential information. If you have received this message in<br>
error, please send it back to me, and immediately delete it. Please do not<br>
use, copy or disclose the information contained in this message or in any<br>
attachment. Any views or opinions expressed by the author of this email do<br>
not necessarily reflect the views of the University of Nottingham.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
<br>
_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
This message and any attachment are intended solely for the addressee and<br>
may contain confidential information. If you have received this message in<br>
error, please send it back to me, and immediately delete it. Please do not<br>
use, copy or disclose the information contained in this message or in any<br>
attachment. Any views or opinions expressed by the author of this email do<br>
not necessarily reflect the views of the University of Nottingham.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
<br>
<br>
_______________________________________________<br>
Xerte-dev mailing list<br>
<a href="mailto:Xerte-dev@lists.nottingham.ac.uk">Xerte-dev@lists.nottingham.ac.uk</a><br>
<a href="http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev" target="_blank">http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev</a><br>
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.<br>
<br>
This message has been checked for viruses but the contents of an attachment<br>
may still contain software viruses which could damage your computer system:<br>
you are advised to perform your own checks. Email communications with the<br>
University of Nottingham may be monitored as permitted by UK legislation.<br>
</div></div></blockquote></div><br>