Posts by Léo Renis • 96 points
9 posts
-
0
votes1
answer212
viewsA: Select dynamic query button Submit and input
You can use JQuery to create an event when the user pushes the button BUSCAR and in function callback for the event you make an ajax request to search the records in the database and return them in…
-
2
votes3
answers2577
viewsA: jQuery, block multiple clicks on link
In case link you can use the following to disable the click: $(this).css('pointer-events', 'none'); In case of button can be something like: $(this).prop("disabled", true ); After you run the event,…
-
1
votes1
answer1239
viewsA: Select with Sql and Dynamic Input
To better meet your need, ie recover the value according to the product selected in the field select I will present the following solution: Make when the value of the select is changed, an event is…
-
0
votes1
answer48
viewsA: Help with QuizMoodle
Use the activity module type plugin / evaluation mod_feedback that appears in the list of features of Moodle as: Pesquisa. Search modules make it possible to create custom ('Survey') surveys. If it…
-
1
votes1
answer59
viewsA: Moodle - Change home structure according to user and keep different from other pages
View the file config.php of your theme and configures according to your need. I have a theme that I configured as follows: // The site home page. 'frontpage' => array( 'file' =>…
-
1
votes1
answer235
viewsA: How to find the HTML generated by the echo line $OUTPUT->course_content_header();
Enter the following code: var_dump($OUTPUT->course_content_header()); die; to see the $OUTPUT collection output. Follows the content of the method cited: public function…
-
1
votes1
answer77
viewsA: Video control plug-in in Moodle
You can develop a plugin of the type modulo to solve this problem. Modules in Moodle are available in the directory moodle/mod. Your idea may be based on a concept called Pseudo stream that PHP…
-
0
votes1
answer65
viewsA: Moodle - Where is the task view information?
The block type plugin progress basically uses the Moodle table mdl_log to find out if such component has already been visited. Below is an example of the code used to obtain access to a particular…
-
2
votes1
answer1624
viewsA: Moodle - Creating Themes
Below a brief step by step how to create a basic Thema for Moodle in version 2.0 onwards. Step by step: Download the Moodle installation package http://moodle.org; Perform the extraction of the…