Quantcast
Channel: General developer forum
Browsing all 37673 articles
Browse latest View live

Re: Block Install notification

by Jason Hardin.  If you are working in Moodle 2 then you have access to db/install.php and db/upgrade.php  see http://docs.moodle.org/dev/Installing_and_upgrading_plugin_database_tables#install.php.To...

View Article


Introduction to Moodle Programming...

by Richard Bakos.  I stumbled upon this free moodle course from back in 2009: http://dev.moodle.org/course/view.php?id=2It's for 1.8 - Is anyone aware of any plans to update this course for 2.x? I...

View Article


Re: Doubts on the table columns mdl_files

by Davo Smith.  As I've already mentioned in my previous replies, the itemid is entirely up to the activity in question. So, for example, the 'folder' activity, stores all files in one area per...

View Article

Re: Count Files in Folders

by Davo Smith.  sorry - get_coursemodule_from_instance (not '_id') that was a typo on my behalf.

View Article

Re: Doubts on the table columns mdl_files

by Douglas Henrique.  Aonde eu encontro o código que gera o itemid de um arquivo que vou colocar dentro de uma pasta(mdl_folder)?

View Article


Re: Doubts on the table columns mdl_files

by Douglas Henrique.  Where do I find the code that generates the itemid of a file that I put into a folder (mdl_folder)?

View Article

SSO ASPX to PHP with Session Form

by Alan Hare.  #Using Moodle 2.4I have an aspx (.Net 4) page that authenticates the user.  I have a link that sends the user to the Moodle web server.  On the Moodle server I can get the form session...

View Article

Re: How please to access core_course_renderer::tagged_courses from a Block

by Brian Merritt.  Thanks Jenny!

View Article


Re: Introduction to Moodle Programming...

by Stuart Mealor.  Hi RichardYeas, that course is pretty old now (CVS replaced by GIT) and many other changes.  We have online Moodle courses for Administrators, and for MySQL Reporting on...

View Article


Re: SSO ASPX to PHP with Session Form

by Matteo Scaramuccia.  Hi Alan,the cleanest way - i.e. no hack in Moodle core code - to perform an SSO process should be to create a new Moodle auth plugin where you can manage a Token created by your...

View Article

Re: Moodle Events

by Andreas Wagner.  Hi,I like to set a new Attribut to the global object $USER once the User is logged in.As you mentioned, unfortunately there is no "login" event in the event api. We have different...

View Article

Certain kind of quiz report

by Julian Flock.  Hi,I'm a student in teaching mathematics and interested in a certain kind of quiz report. It would be great, if you could categorize wrong answers of the multiple-choice test to...

View Article

Re: Certain kind of quiz report

by Jamie Pratt.  What you want to do might be best done as a quiz report. You can write a new plug in to define a quiz report. And quiz reports can set up tables for their own purposes in the Moodle...

View Article


Re: Certain kind of quiz report

by Jamie Pratt.  You're aware of this report I take it, which you drill down to from the statistics report : http://docs.moodle.org/20/en/Quiz_statistics_report#Analysis_of_individual_question_responses

View Article

Image may be NSFW.
Clik here to view.

Writing Moodle's Course Search plugin

by Shashikant Vaishnav.  Hi everyone,I would be developing the "Course Search" plugin for Moodle as part of the GSoC programme. Its basically Integration of Apache Solr with moodle course schema. The...

View Article


DB SQL Queries

by Rami Zaitoun.  Dears, Appreciate if someone could give me useful SQL queries to be executed on Moodle LMS DB for the following business operations:1- Validate if the user registered as Student or...

View Article

Image may be NSFW.
Clik here to view.

Re: Writing Moodle's Course Search plugin

by Brian King.  Sounds great, happy to to hear about it!  Will you be doing this work on a public git repository someplace?I've been pondering something along those lines too, but with Elasticsearch as...

View Article


Are the *_upgrade_grades functions actually used somewhere

by Brian King.  Grepping through the 2.5 / 2.6 Moodle code, I see that these functions exist:mod/assignment/lib.php:3003:function assignment_upgrade_grades() { mod/data/lib.php:1071:function...

View Article

Re: DB SQL Queries

by Alan Hare.  Simple search revealed:http://docs.moodle.org/24/en/ad-hoc_contributed_reportshttp://docs.moodle.org/25/en/Custom_SQL_queries_reporthttps://moodle.org/mod/forum/discuss.php?d=153059 I...

View Article

Re: Are the *_upgrade_grades functions actually used somewhere

by Dan Poltawski.  Yep, looks like it:lib/gradelib.php:    $updategradesfunc = $modinstance->modname.'_update_grades'; rating/rate.php:    $functionname = $cm->modname.'_update_grades';...

View Article
Browsing all 37673 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>