Note:

If you want to create a new page for developers, you should create it on the Moodle Developer Resource site.

Search results

From MoodleDocs

Page title matches

  • The functions mentioned here are deprecated. The correct way to use JavaScript in Moodle is documented on [[JavaScript_guidelines]]. ...you can use the Firefox [[Web developer extension]]: ''Information > View JavaScript''.
    922 bytes (113 words) - 13:38, 14 July 2021

Page text matches

  • The functions mentioned here are deprecated. The correct way to use JavaScript in Moodle is documented on [[JavaScript_guidelines]]. ...you can use the Firefox [[Web developer extension]]: ''Information > View JavaScript''.
    922 bytes (113 words) - 13:38, 14 July 2021
  • == Custom Popup Messages Using Javascript == Actually Moodle has some nice utility functions in /lib/javascript-static.js which can help.
    1 KB (202 words) - 13:39, 14 July 2021
  • {{Template:Migrated|newDocId=/docs/guides/javascript/jquery/}} ...avascript in Moodle. As of Moodle 2.9 we are transitioning to jQuery and [[Javascript Modules]] because Yahoo has ceased all new development on YUI (http://yahoo
    4 KB (557 words) - 14:05, 24 June 2022
  • The idea of JavaScript namespacing was raised during the developers meeting that occured on Tuesda ...posed for MDL-16699 that splits javascript-static into two files and moves JavaScript that is only being used in a single place within Moodle to a file that can
    10 KB (1,477 words) - 11:31, 26 August 2021
  • ...age the plagiarism API and implemented behat and unit tests to cover these functions. The plugin uses the new [[Events API]] instead of the older legacy log lik * Summary: The goal was to develop a javascript basic SCORM player for the Moodle mobile application.
    2 KB (227 words) - 11:18, 6 April 2020
  • ...acking this support natively but it does provide a hint as to the relevant functions.'') For JavaScript to communicate with the server-side aspect of Moodle, you need to create se
    4 KB (547 words) - 11:36, 25 June 2022
  • ...lock has a server side section of code written in PHP and a client side in javascript. The client is based on the YUI treeview widget and sends asynchronous mess ...he block is still usable. This HTML version is normally not visible as the javascript acts to hide it immediately if possible.
    8 KB (1,328 words) - 12:07, 10 November 2013
  • ...y. There is also a convenient javascript module that is used to call these functions and return a structured response/error. ...stent and complete external apis which then benefits both web services and Javascript
    6 KB (870 words) - 13:22, 14 July 2021
  • : All the functions that are called by the Moodle core. For performance reasons it is important : This contains all the other quiz library functions that do not have a more specific home. Including this file also includes al
    6 KB (1,055 words) - 13:59, 18 May 2023
  • ...w / hide button shows or hides advanced controls using javascript or if no javascript is available then the whole page is submitted and redisplayed with advanced ...lt values' of the form elements are automatically passed to the processing functions from data_submitted(). Default values are set by setDefault normally called
    3 KB (356 words) - 06:41, 17 June 2022
  • // Or use the following helper functions: It is also possible to display standard notifications from JavaScript after the page has loaded.
    3 KB (386 words) - 12:31, 14 October 2020
  • '''Replace calls to custom totara functions.(MDL-45703)''' *Other yet undiscovered functions
    4 KB (626 words) - 14:08, 24 June 2022
  • ...eet the requirements set out in the relevant section of the [[Coding style#Functions and Methods|Coding style]] * [[Coding style#Functions and Methods]]
    9 KB (1,339 words) - 12:08, 28 June 2022
  • # ''Include some JavaScript code that enhances the report for people with JavaScript turned on in their browser.'' ...an administration page, we need to do this using the admin_externalpage... functions. You probably just need to copy these two lines exactly, then replace 'capa
    6 KB (902 words) - 13:41, 3 May 2024
  • ...extracts the details of the file returned and then outputs a small bit of javascript to update the filepicker: // Generate some javascript to update the filepicker with the details of the file selected
    5 KB (614 words) - 08:26, 15 July 2021
  • <syntaxhighlight lang="javascript"> <syntaxhighlight lang="javascript">
    7 KB (890 words) - 08:25, 15 July 2021
  • If you render the paged content in PHP it will initialise all of the JavaScript required to control the navigation between pages for the user. = JavaScript =
    6 KB (841 words) - 08:27, 15 July 2021
  • ...eliability and Documentation.More of a library in a traditional sense, the functions are well organized and very reusable. They also claim compatibility with ot Scriptaculous drag and drop uses prototyped array functions - e.g.
    7 KB (1,127 words) - 08:16, 22 June 2011
  • ...oved. It is safe to call core subsystems from anywhere in Moodle - but the functions may return an error to indicate that a feature has been disabled. Each core * External functions
    13 KB (2,182 words) - 07:26, 6 May 2022
  • ==JavaScript== New Javscript in Moodle should be written as Vanilla javascript in the ES6 style. The use of jQuery, YUI, and other frameworks is strongly
    7 KB (1,101 words) - 13:20, 31 May 2022
  • ...rue. Global variable $USER contains information about current user. Useful functions: isloggedin(), isguestuser(), session_is_loggedinas(), require_login() ...ften treated differently when checking capabilities or enrollments. Useful functions: is_siteadmin()
    9 KB (1,489 words) - 02:43, 11 June 2013
  • * MDL-40137 - Correct naming of functions in theme/clean/lib.php * MDL-39778 - Course deletion now functions with badges.
    3 KB (434 words) - 09:07, 25 May 2022
  • ...he area within the image that counts as the correct area for the answer. A javascript student interface could allow the student to move a bullseye around the ima ==Core functions==
    10 KB (1,589 words) - 03:30, 15 September 2011
  • ...ag state will be toggled using an Ajax interface when it is clicked on. If JavaScript is off, there will be a check-box to show the state, which will be saved wh This will be accessed and updated through a few functions in questionlib.php.
    5 KB (906 words) - 01:48, 19 February 2009
  • ...en you should also implement is_applied_to_user_lists and filter_user_list functions. To see the full list, look at the PHPdoc for the condition and tree_node c The class is required, but all the functions are theoretically optional; you can leave them out if you don't need any sp
    13 KB (1,816 words) - 14:28, 22 July 2022
  • * In Javascript: ** Initialize the form in the listener to some javascript event (for example, a click on the "Add" or "Edit" link); show the form
    10 KB (1,483 words) - 08:24, 15 July 2021
  • ** Once Activated, All pages will include two extra JavaScript files: ** One JavaScript Library File - To allow fast JavaScript implementation of common features, libraries are generally tested on multip
    6 KB (981 words) - 05:24, 15 September 2011
  • * Works no matter Javascript is enabled or not Generally speaking, only two functions you need to know to get comment API worked:
    6 KB (866 words) - 15:08, 19 May 2023
  • ...e within your plugin. Into that file you create a namespace and define any functions or objects you want to use. ...e quirks that you need will need to overcome, especially with more complex JavaScript.
    15 KB (2,104 words) - 08:25, 15 July 2021
  • Please note that if your plugin doesn't use Ionic components nor JavaScript, it's possible that you don't have to adapt it. However, we recommend you t ...now asynchronous. This means that if your plugin is displaying a modal in JavaScript, you’ll probably need to adapt your code.
    9 KB (1,340 words) - 13:03, 14 July 2022
  • ...is to make interface more user-friendly and get rid of ‘Editing mode’ when Javascript is enabled. ...output used in course/view.php: hidden form for AJAX, functions including javascript libraries, etc.
    7 KB (1,121 words) - 05:55, 30 August 2012
  • ...small as possible as this file is included on every page. Put classes and functions elsewhere. * Where possible it is advisable to use the predefined functions rather than write out SQL. Writing SQL has a greater chance of not working
    15 KB (2,158 words) - 20:24, 14 July 2021
  • # [[Javascript-interface for repeat_elements function|Javascript-interface for repeat_elements function]] - adding new blanks to the form sh ...how to link question engine with lesson module]] - adding only two simple functions to the question definition we could create ideal connection with the lesson
    4 KB (540 words) - 21:18, 15 July 2023
  • * You have a medium/good skills/understand of Javascript, PHP and Moodle architecture ...rpose. Since Moodle 2.1 there is a pre-built service that contains all the functions needed for the official mobile app.
    10 KB (1,391 words) - 07:08, 29 April 2022
  • * Mobile remote add-ons uses special placeholders for paths inside Javascript code. ...d local_mobile) service using the "services" field when declaring external functions, see: https://github.com/jleyva/moodle-mod_certificate/blob/CONTRIB-6313/db
    6 KB (1,033 words) - 07:14, 29 April 2022
  • ...rtin Dougiamas]] proposed a new way to allow specific group of users enter JavaScript and all other tags into places where all text is normally cleaned. This fea ...is used to decide if the text should be cleaned or not. There are several functions that make the conversion of text fields a bit easier, but due to the fact t
    4 KB (577 words) - 07:52, 25 April 2012
  • The Moodle JavaScript coding style. ...eptions to the general Moodle [[Coding_style|Coding style]] which apply to JavaScript.
    20 KB (2,680 words) - 04:17, 4 October 2021
  • * MDL-44657 - No more Javascript error when the form class is namespaced ...forum/discuss.php?d=278614 MSA-15-0004] Information leak through messaging functions in web-services
    4 KB (566 words) - 09:08, 25 May 2022
  • * Javascript ** User the todo api javascript module to interact with the server external API
    12 KB (2,096 words) - 17:46, 16 March 2017
  • === Step 1 - Attach some javascript to the button === The first step is to add some javascript to the "Create group" button so that we can open a modal. The page we are m
    20 KB (2,445 words) - 08:21, 15 July 2021
  • * [[Web service API functions]] * [[Javascript Modules]]
    5 KB (591 words) - 05:27, 12 January 2023
  • ...be done entirely within a theme through the creation of a small amount of JavaScript and a few lines of CSS. ...'dockmod''. Within this new directory we'll create two further directories JavaScript, and style.
    14 KB (2,149 words) - 08:08, 15 July 2021
  • ...me additions to the question interface. We are supposing to add two simple functions, which don't interfere with other parts, but would allow question to report Now we need just two functions like ''supported_attempt_properties()'' and ''get_attempt_property()''
    7 KB (1,168 words) - 13:53, 24 June 2022
  • ..., manipulating the DOM and interacting with Phonegap, we use jQuery as our Javascript framework. * Google Javascript Style Guide http://google-styleguide.googlecode.com/svn/trunk/javascriptgui
    6 KB (933 words) - 07:06, 29 April 2022
  • Simple question types use standard HTML and complex ones may use Javascript, Java Applets or HTML 5 elements (like canvas, etc..) ...e from startattempt.php, attempt.php, proccessattempt.php will be moved to functions in local mobile.
    15 KB (2,336 words) - 14:25, 11 May 2016
  • ...ease version in version.php after any change in /db/ folder, any change in javascript code, any new auto-loaded class, any new setting and also after any change Within an upgrade, there are restrictions on the functions your code should call, because the system has not been fully updated.
    18 KB (2,994 words) - 14:05, 24 June 2022
  • * Using javascript to correct for errors or non valid values in each steps before going to the To implement these choices we need to add new functions in default questiontype class.
    7 KB (1,014 words) - 14:07, 3 May 2024
  • ** Cannot use forms in a javascript popout ([http://tracker.moodle.org/browse/MDL-17146 MDL][http://tracker.moo ** abstracting validation functions
    5 KB (764 words) - 15:37, 31 October 2012
  • * MDL-44657 - No more Javascript error when the form class is namespaced ...forum/discuss.php?d=278614 MSA-15-0004] Information leak through messaging functions in web-services
    4 KB (683 words) - 09:08, 25 May 2022
  • ...ples for the use of the question/state model and to illustrate some of the functions provided in locallib.php. ...ntation should provide an entry point to the quiz module code. A number of functions are used in attempt.php that are likely to be used in other scripts as well
    9 KB (1,480 words) - 20:22, 14 July 2021
View (previous 50 | ) (20 | 50 | 100 | 250 | 500)