Go Back   CodingForums.com > :: Client side development > JavaScript programming

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 01-15-2013, 12:46 PM   PM User | #1
m2244
Regular Coder

 
Join Date: Jun 2012
Posts: 129
Thanks: 1
Thanked 1 Time in 1 Post
m2244 is an unknown quantity at this point
Does anyone here know how to retrieve information from moodle LMS

Hello,

I am setting up a page on a Moodle LMS where a student can select a paper topic from a drop-down menu. What I need to do is get the student's information from the LMS so that I can populate the page based on which course they are in, their username, their e-mail etc.

I assume I will need to make a DB call at some point for things like e-mail and name but I was hoping that since the student will be logged in I can get the course name and their user name from the session.

I don't know a lot about this so can someone explain this a bit?
m2244 is offline   Reply With Quote
Old 01-15-2013, 08:32 PM   PM User | #2
Old Pedant
Supreme Master coder!

 
Old Pedant's Avatar
 
Join Date: Feb 2009
Posts: 23,200
Thanks: 59
Thanked 3,996 Times in 3,965 Posts
Old Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to allOld Pedant is a name known to all
I don't see how any of this is relevant to JAVASCRIPT.

Moodle is written in PHP, and the source code is freely available. Also, the docs tell you how to create plugins and give a full list of the APIs you can use:
http://docs.moodle.org/dev/Main_Page

I would say that, after you have read *ALL* the relevant documentation about plugins and APIs, if you still have questions then you need to post in one of the Moodle forums:
https://moodle.org/forums/
__________________
An optimist sees the glass as half full.
A pessimist sees the glass as half empty.
A realist drinks it no matter how much there is.
Old Pedant is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 07:47 AM.


Advertisement
Log in to turn off these ads.