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

Re: Add rule on select(dropdown)!

by Azmat Ullah.  I thing get_record_sql function would be changed.

View Article


Re: Multiple form on one page!!

by Azmat Ullah.  Thanks Davo! You are right.

View Article


Re: Login From other domain

by max tac.  Thanks for the reply.But what happens if the login fails?The user does not remain on the site moodle? While I would like to leave him, in the site of origin, unless the login is not...

View Article

Duplicate indexes on database? pt-duplicate-key-checker

by Daniel Neis Araujo.  Hello,   there is a tool by Percona (http://www.percona.com) aimed to find duplicate indexes in a MySQL database. It is called pt-duplicate-key-checker...

View Article

Re: Translation of Javascript files

by Tim Hunt.  Have a look at ->requires_js_module, or the $module parameter to ->requires_js_init_call. That lets you specify the list of strings more declaratively.

View Article


Re: Serving Files In Plugins?

by Luis de la Torre.  Hi Marinko, I know its been like one year since your post but I thought it was better to write this here than in a new post. Did you find out the way to access a previously...

View Article

Re: Best Practice to Include JS into a quiz attempt only

by jeff masiello.  For those curious, it worked. simple add your $PAGE->requires->js(<file>) in the if statement

View Article

Re: Add rule on select(dropdown)!

by Hubert Chathi.  get_record_sql only fetches one record.  You want one of the get_records_* functions.  You probably also want to use just get_records, which will generate the SQL for you, instead of...

View Article


Re: Login From other domain

by Hubert Chathi.  It sounds like you are looking for a Single Sign On (SSO) solution.  Moodle supports a few different SSO protocols, including Shibboleth, Moodle Networks (Moodle's custom profile),...

View Article


Re: Changing breadcrumbs to show full course names instead of shortnames...

by Kimber Warden.  Hi Tim, Did you ever find a solution for this?

View Article

Filemanager help

by Jon Martin.  Hello all! I've been scouring the web and these forums for a little while now, but first time I've posted. I'm completely new to Moodle, although I have plenty of experience working...

View Article

Re: Filemanager help

by Davo Smith.  Have you read the docs here: http://docs.moodle.org/dev/Using_the_File_API_in_Moodle_forms#filemanager Basically what you need to do is as follows (this assumes the filemanager element...

View Article

Image may be NSFW.
Clik here to view.

Re: Serving Files In Plugins?

by Luis de la Torre.  Hi! I finally learnt how to do it. It wasnt that difficult, actually. Although it took me several hours Basically, you just have to do what Tim said in the _pluginfile funtion:...

View Article


Re: Changing breadcrumbs to show full course names instead of shortnames...

by Danny Wahl.  looking at the renderer in /lib/outputrenderers it calls $this->page->navbar->get_items() so in theory you should be able to write the course full name to the place holder in...

View Article

Re: Developing an answer sheet for multiple quiz submission

by Jean-Michel Védrine.  Hello Kyle, Thanks a lot for sharing this. I think it can help me a lot. My university don't use Scantron machines but we use scanners and QCM-DIRECT software (from french firm...

View Article


Instaling Moodle & Netbeans for Moodle Plugin Development

by Marius Vosylius.  Im new to moodle, and I need to develop moodle plugin. For the start i need step my step moodle windows package instalation guide. And NetBeans 7.2 settings configuration guide for...

View Article

Re: Instaling Moodle & Netbeans for Moodle Plugin Development

by Howard Miller.  http://docs.moodle.org/23/en/Installing_Moodle http://docs.moodle.org/dev/Setting_up_Netbeans

View Article


Re: Getting quiz uniqueid from moodle engine and increase it

by Miguel Chaves.  HelloI just found the solution. The uniqueid and the question_usageid are stored in the table question_usages. The solution is to write an entry in this table and use the obtained ID...

View Article

Re: backup_course_silently() and import_backup_file_silently() in Moodle 2.2

by Iñaki Arenaza.  Hi, I've been playing a bit with that function, and this is what I've come up with (as a really simple skeleton). I use the default values for the backups, i.e., no user enrolments...

View Article

Image may be NSFW.
Clik here to view.

Re: Session Management Moodle 2.1.x

by Alberto Lorenzo Pulido.  Hi every one,We are using PostgreSQL and having some issues while servers are under heavy traffic, the data base server fills all connection slots with a lot of "SELECT ......

View Article
Browsing all 37667 articles
Browse latest View live


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