[Xerte] Current Page

Patrick Lockley Patrick.Lockley at nottingham.ac.uk
Fri Oct 16 15:21:25 BST 2009


How does your moodle or blackboard do it?

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 16 October 2009 15:18
To: 'Xerte discussion list'
Subject: RE: [Xerte] Current Page

 

Hi Paul

 

Yes do please! It'd be much better from an administrative point of view
to create accounts in a database. 

 

I suppose I should probably just pluck up the courage and ask Computing
Services if they'll let me authenticate via our Active Directory....

___________________________________

 Adam Read

 Learning Technologist

 University College Plymouth St Mark & St John

 

 aread at marjon.ac.uk 

 tel: 01752 636700 ext: 5673

 Room 563, Kirby Cudmore Building

 twitter.com/adamread <http://www.twitter.com/adamread>  

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Beckwith
Sent: 16 October 2009 10:34
To: 'Xerte discussion list'
Subject: RE: [Xerte] Current Page

 

Hi Adam, 

 

We are currently in need of a solution for this too, we would like to
authenticate against an existing mysql database. Maybe we could put our
heads together on this? I'll have a look at the code this afternoon and
let you know how far I get with it...

 

Cheers, 

 

Paul

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Adam Read
Sent: 16 October 2009 08:26
To: 'Xerte discussion list'
Subject: RE: [Xerte] Current Page

 

Ah, I thought they might be a simple authentication against users stored
in the database. I guess I could code one?

 

___________________________________

 Adam Read

 Learning Technologist

 University College Plymouth St Mark & St John

 

 aread at marjon.ac.uk 

 tel: 01752 636700 ext: 5673

 Room 566, Kirby Cudmore Building

 twitter.com/adamread <http://www.twitter.com/adamread>  

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick
Lockley
Sent: 15 October 2009 18:43
To: Xerte discussion list; Xerte discussion list
Subject: RE: [Xerte] Current Page

 

It takes LDAP by default if you use index.php

 

if you want you can use integration.txt to write your own system,
demo.txt to use no authentication, or switch.txt to run a crude hard
coded system.

 

Or there is a moodle patch.

 

________________________________

From: xerte-bounces at lists.nottingham.ac.uk on behalf of Adam Read
Sent: Thu 15/10/2009 15:38
To: Xerte discussion list
Subject: RE: [Xerte] Current Page

Thanks Pat

 

No, I don't want to use LDAP. I left all the LDAP fields as default
which I presume means it's not trying to authenticate that way?

 

Or am I missing the fact it'll only authenticate using LDAP?

 

Adam

___________________________________

 Adam Read

 Learning Technologist

 University College Plymouth St Mark & St John

 

 aread at marjon.ac.uk 

 tel: 01752 636700 ext: 5673

 Room 566, Kirby Cudmore Building

 twitter.com/adamread <http://www.twitter.com/adamread>  

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Patrick
Lockley
Sent: 15 October 2009 15:20
To: Xerte discussion list
Subject: RE: [Xerte] Current Page

 

LDAP installed?

 

________________________________

From: xerte-bounces at lists.nottingham.ac.uk on behalf of Adam Read
Sent: Thu 15/10/2009 11:23
To: 'Xerte discussion list'
Subject: RE: [Xerte] Current Page

Hmm I've installed XOT on ISS (at http://elearning.net.marjon.ac.uk/rlo/
) and ran through the full setup without problems. However when I try to
login using my admin account (which I specified in the setup) I get a
"The website cannot display the page  HTTP 500"  error.

 

Anyone experienced this? Any suggestions?

 

Thanks


Adam

___________________________________

 Adam Read

 Learning Technologist

 University College Plymouth St Mark & St John

 

 aread at marjon.ac.uk 

 tel: 01752 636700 ext: 5673

 Room 566, Kirby Cudmore Building

 twitter.com/adamread <http://www.twitter.com/adamread>  

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Julian Tenney
Sent: 15 October 2009 10:53
To: Xerte discussion list
Subject: RE: [Xerte] Current Page

 

rootIcon.currentPage

 

From: xerte-bounces at lists.nottingham.ac.uk
[mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Paul Beckwith
Sent: Thursday, October 15, 2009 10:54 AM
To: 'Xerte discussion list'
Subject: [Xerte] Current Page

 

In .rlt we have an event handler for onOpenPage. 

 

We need to know the "current page" that we are on so that we can update
page titles and a progress bar. We currently have:
extXML.firstChild.childNodes[rootIcon.getPageIndex()] which is always
returning "0" or the first page... 

 

How do we extract the current page number? Or current XML generated page
that is being displayed? (from template.xml)

 

 

We can get the total number of pages (childNodes) from
extXML.firstChild.childNodes.length but not the current page being
displayed. 

 

 

 

 

 
 
 
 
 
 
 



________________________________



 
 
 
 
 
 
 
 
 
University College Plymouth St Mark & St John
Derriford Road   Plymouth  PL6 8BH

Phone 01752 636700   Web  marjon.ac.uk


Principal: Professor Margaret Noble 

 

 

A Church of England College Founded in 1840

 

University College Plymouth St Mark & St John is a registered charity
the trustee of which is a company limited by guarantee registered in
England No. 986239

 

 
 
 
 
 
 
 
 
 



________________________________



 
 
 
 
 
 
 
University College Plymouth St Mark & St John
Derriford Road   Plymouth  PL6 8BH

Phone 01752 636700   Web  marjon.ac.uk


Principal: Professor Margaret Noble 

 

 

A Church of England College Founded in 1840

 

University College Plymouth St Mark & St John is a registered charity
the trustee of which is a company limited by guarantee registered in
England No. 986239

 

 
 
 
 
 
 
 



________________________________



 
 
 
 
 
University College Plymouth St Mark & St John
Derriford Road   Plymouth  PL6 8BH

Phone 01752 636700   Web  marjon.ac.uk


Principal: Professor Margaret Noble 

 

 

A Church of England College Founded in 1840

 

University College Plymouth St Mark & St John is a registered charity
the trustee of which is a company limited by guarantee registered in
England No. 986239

 

 
 
 



________________________________



 
University College Plymouth St Mark & St John
Derriford Road   Plymouth  PL6 8BH

Phone 01752 636700   Web  marjon.ac.uk


Principal: Professor Margaret Noble 

 

 

A Church of England College Founded in 1840

 

University College Plymouth St Mark & St John is a registered charity
the trustee of which is a company limited by guarantee registered in
England No. 986239

 

 
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20091016/041fe926/attachment.html


More information about the Xerte mailing list