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

Kemp Johnathan johnathan.kemp at ntlworld.com
Wed Nov 27 15:50:00 GMT 2013


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> 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] *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
>
>
>
> 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<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; 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
>
>
>
> 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> 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] *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
>
>
>
> 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
> http://lists.nottingham.ac.uk/mailman/listinfo/xerte-dev
>
>
>
> _______________________________________________
>
> Xerte-dev mailing list
>
> 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
>
> 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
> 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/20131127/74547338/attachment-0001.html>


More information about the Xerte-dev mailing list