Note:

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

User:Frank Ralf/NanoGong/1.9: Difference between revisions

From MoodleDocs
(Replaced content with "See https://docs.moodle.org/20/en/User:Frank_Ralf/NanoGong/1.9")
 
(10 intermediate revisions by 2 users not shown)
Line 1: Line 1:
NanoGong for Moodle 1.9 also needs some updating.
See https://docs.moodle.org/20/en/User:Frank_Ralf/NanoGong/1.9
 
== build_navigation() ==
Navigation needs to be updated to use build_navigation()
 
 
print_header() was sent a string as 3rd (-> NanoGongs -> NanoGong) parameter.
This is deprecated in favour of an array built by build_navigation(). Please upgrade your code.
* line 2539 of lib\weblib.php: call to debugging()
* line 61 of mod\nanogong\view.php: call to print_header()
 
* line 3759 of lib\weblib.php: call to debugging()
* line 37 of theme\standard\header.html: call to print_navigation()
* line 2765 of lib\weblib.php: call to include()
* line 61 of mod\nanogong\view.php: call to print_header()
 
See [[Development:lib/weblib.php#function_build_navigation]]
 
=== Moodle 2.0 ===
* [[Development:Navigation 2.0]]
* [[Development:Navigation 2.0 implementation plan]]
 
== $cm ==
The field $cm->modname should be set if you call build_navigation with a $cm parameter. If you get $cm  using ''get_coursemodule_from_instance'' or '''get_coursemodule_from_id''', this will be done automatically.
* line 3894 of lib\weblib.php: call to debugging()
* line 59 of mod\nanogong\view.php: call to build_navigation()
 
 
 
== See also: ==
...

Latest revision as of 16:50, 15 August 2011