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

Smith, John J.J.Smith at gcu.ac.uk
Wed Nov 27 13:56:15 GMT 2013


Line for line?

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 Pat @ Pgogy
Sent: Wednesday, November 27, 2013 1:48 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: How to display page id?

that isn't that hard - you just need the ID of the page, or an idea of how many pages exist.

Will work for coke

On Wed, Nov 27, 2013 at 1:39 PM, Julian Tenney <Julian.Tenney at nottingham.ac.uk<mailto:Julian.Tenney at nottingham.ac.uk>> wrote:
What would work is a review panel that takes notes from each page and stores them against the same structure as the LO, but as Mark says, that sounds like wish list stuff. Sort of like the existing peer review, but with a separate panel for each page. You could take that idea further as well.


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 Smith, John
Sent: 27 November 2013 13:34

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

Nothing... or page number, personally that's what I would use...

I'm just demonstrating that you can add functionality and then turn it on or off in the LO without then having to go back and edit all the pages (just the one page with that line of code in it).

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 Julian Tenney
Sent: Wednesday, November 27, 2013 1:21 PM
To: For Xerte technical developers
Subject: [Xerte-dev] Re: How to display page id?

At risk of sounding a bit thick, what's wrong with using the page title? They are 'probably' unique, and presumably if the piece is being reviewed, it isn't changing (too much)?

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 Smith, John
Sent: 27 November 2013 13:17
To: For Xerte technical developers
Subject: [Xerte-dev] Re: How to display page id?

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

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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte-dev/attachments/20131127/19a0e6a9/attachment-0001.html>


More information about the Xerte-dev mailing list