Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    Regular Coder
    Join Date
    Jun 2012
    Thanked 1 Time in 1 Post

    Does anyone here know how to retrieve information from moodle LMS


    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?

  2. #2
    Supreme Master coder! Old Pedant's Avatar
    Join Date
    Feb 2009
    Thanked 4,947 Times in 4,908 Posts
    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:

    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:
    Be yourself. No one else is as qualified.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts