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

Jump to: navigation, search

Note: You are currently viewing documentation for Moodle 1.9. Up-to-date documentation for the latest stable version is available here: Frank Ralf/NanoGong/1.9.

(build_navigation())
(See also:)
 
(10 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
Navigation needs to be updated to use build_navigation()
 
Navigation needs to be updated to use build_navigation()
  
  * line 3759 of lib\weblib.php: call to debugging()
+
 
  * line 37 of theme\standard\header.html: call to print_navigation()
+
print_header() was sent a string as 3rd (-> NanoGongs -> NanoGong) parameter.
  * line 2765 of lib\weblib.php: call to include()
+
This is deprecated in favour of an array built by build_navigation(). Please upgrade your code.
  * line 61 of mod\nanogong\view.php: call to print_header()
+
 +
* 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]]
 
See [[Development:lib/weblib.php#function_build_navigation]]
Line 15: Line 22:
 
* [[Development:Navigation 2.0 implementation plan]]
 
* [[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()
 +
 +
== "No sound has been submitted for the message." ==
 +
See
 +
* [http://moodle.org/mod/forum/discuss.php?d=92516 Release of NanoGong 2 with Full Moodle Integration]
 +
* [http://moodle.org/mod/forum/discuss.php?d=135714 won't start recording]
  
 
== See also: ==
 
== See also: ==
...
+
* [http://gitorious.org/~doctorlard/moodle/doctorlards-moodle/commit/eac1256499273f638ee89dd14f2f1d0d5d65e433 Patch for adding NanoGong recording applet and HTMLArea button] by [http://moodle.org/user/profile.php?id=155540 Jonathan Harker]
 +
 
 +
[[Category:Moodle 1.9|NanoGong]]
 +
[[Category:Developer|NanoGong]]

Latest revision as of 18:01, 29 March 2011

NanoGong for Moodle 1.9 also needs some updating.

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

$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()

"No sound has been submitted for the message."

See

See also: