[Xerte-dev] Re: How to display page id?

Smith, John J.J.Smith at gcu.ac.uk
Wed Nov 27 16:00:17 GMT 2013


I like the fact that the LinkID is automatically generated but I think that to do some clever things (like grouping pages into sections - like Ron2's example) it would still be nice to be able to change this to a different format, hence the reason for retaining PageID... It lets you call the page 'Section1Page3' for example rather than PG1366967268944. That way you can parse all the page titles to check that every 'SectionX' page has been complete...

Or should we just show that field and then allow it to be changed? Will the "Link to Page" functionality in the Wizard cope with that?

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

From: xerte-dev-bounces at lists.nottingham.ac.uk [mailto:xerte-dev-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: Wednesday, November 27, 2013 3:52 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: How to display page id?

> In saying this I am assuming that changes to xwd files are no longer being updated to desktop Xerte.
If anyone is updating it, it isn't me.

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] On Behalf Of Kemp Johnathan
Sent: 27 November 2013 15:50
To: For Xerte technical developers
Subject: [Xerte-dev] Re: How to display page id?

XOT automatically creates a unique id for each page as it is created, shown in the xml for the page as linkID. A typical value might be linkID="PG1366967268944". However this information has to date not been displayed to the page Author or to anyone viewing the learning object. As this value was not available to the author I added the PageID attribute to pages so that connections could be specified for the connector pages.

As I have indicated in a previous post, PageID became redundant for XOT once Julian implemented the Page Link feature, so I removed the PageID attribute from the XOT Connector pages, as there were two versions of the xwd form definitions for the connector pages, one for XOT and one for Xerte. Since there was only one form definition for each of the non-connector pages I left the PageID in as an optional attribute to retain compatibility with Xerte.
If there is any plan to make a unique identifier visiible to the author  / reviewer then it might be appropriate to use the unique identifier created by XOT and to dispense completely with the PageID attribute.
In saying this I am assuming that changes to xwd files are no longer being updated to desktop Xerte.
Kind regards

Johnathan

On 27 November 2013 14:05, Smith, John <J.J.Smith at gcu.ac.uk<mailto:J.J.Smith at gcu.ac.uk>> wrote:
Sounds like you could benefit from a full solution which keeps the comments with the pages etc. It shouldn't be too hard to build such functionality onto the exiting peer review...

Regards,

John Smith
Learning Technologist
School of Health & Life Sciences
Glasgow Caledonian University

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 Mark Berthelemy
Sent: Wednesday, November 27, 2013 1:35 PM
To: For Xerte technical developers

Subject: [Xerte-dev] Re: How to display page id?

Thanks John!

I'll work on that.

Cheers,

Mark

--
Mark Berthelemy
Managing Director
Tel:      01773 318 962
Mob:    07922 146 761
Web:    www.wyversolutions.co.uk<http://www.wyversolutions.co.uk>

Wyver Solutions Ltd | Company number: 5731173 Registered in England | Registered address: First Floor, 6 Bridge Street, Belper, Derbyshire, DE56 1AX


On Wednesday, 27 November 2013 at 13:17, Smith, John wrote:

Something like...



Edit your local xenith.js file at to include



try{pageTitle = (x_ReviewMode===true?x_pageInfo[x_currentPage].linkID+": ":"")+pageTitle;}catch(e){}



at around the line 735 mark, directly before $("#x_headerBlock h2").html(pageTitle);



Then on a page you can add this code:



<br /><br /><br /><br />

<center><font size="20" color="red">REVIEW MODE ON</font></center>

<script>x_ReviewMode=true;</script>



Can also turn off with



<br /><br /><br /><br />

<center><font size="20" color="red">REVIEW MODE OFF</font></center>

<script>x_ReviewMode=false;</script>





Here is a demo... http://xerte.smitcher.com/play.php?template_id=1



Regards,



John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University



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] On Behalf Of Mark Berthelemy
Sent: Wednesday, November 27, 2013 1:05 PM
To: xerte at pgogywebstuff.com<mailto:xerte at pgogywebstuff.com>; For Xerte technical developers
Subject: [Xerte-dev] Re: How to display page id?



Sounds perfect Pat.



Just wish I knew where to start in adding fields to the page...



Mark



--

Mark Berthelemy

Managing Director

Tel:      01773 318 962

Mob:    07922 146 761

Web:    www.wyversolutions.co.uk<http://www.wyversolutions.co.uk>



Wyver Solutions Ltd | Company number: 5731173 Registered in England | Registered address: First Floor, 6 Bridge Street, Belper, Derbyshire, DE56 1AX



On Wednesday, 27 November 2013 at 12:42, Pat @ Pgogy wrote:

Could this be added to peer review?



If peer review then show ID?



On Wed, Nov 27, 2013 at 12:00 PM, Smith, John <J.J.Smith at gcu.ac.uk<mailto:J.J.Smith at gcu.ac.uk>> wrote:

Where would you like it to appear?



Regards,



John Smith

Learning Technologist

School of Health & Life Sciences

Glasgow Caledonian University



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 Mark Berthelemy
Sent: Wednesday, November 27, 2013 11:22 AM

To: For developers
Subject: [Xerte-dev] How to display page id?



Hi there,



I know I can add a unique page ID to each page. Is there anyway that I can get the page ID to display on the output page. It's a great help for reviewers to be able to easily identify a page when they're making comments.



Thanks,



Mark



--

Mark Berthelemy

Managing Director

Tel:      01773 318 962

Mob:    07922 146 761

Web:    www.wyversolutions.co.uk<http://www.wyversolutions.co.uk>



Wyver Solutions Ltd | Company number: 5731173 Registered in England | Registered address: First Floor, 6 Bridge Street, Belper, Derbyshire, DE56 1AX



Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html

_______________________________________________
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



_______________________________________________

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



Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
_______________________________________________
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


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html

_______________________________________________
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



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.


Glasgow Caledonian University is a registered Scottish charity, number SC021474

Winner: Times Higher Education's Widening Participation Initiative of the Year 2009 and Herald Society's Education Initiative of the Year 2009.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,6219,en.html

Winner: Times Higher Education's Outstanding Support for Early Career Researchers of the Year 2010, GCU as a lead with Universities Scotland partners.
http://www.gcu.ac.uk/newsevents/news/bycategory/theuniversity/1/name,15691,en.html
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20131127/8ee33c6b/attachment-0001.html>


More information about the Xerte-dev mailing list