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

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


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


More information about the Xerte-dev mailing list