Development talk:Blocks: Difference between revisions
Frank Ralf (talk | contribs) |
(→How to set Strings (Language): new section) |
||
Line 31: | Line 31: | ||
No mention of get_config() anywhere? {{Unsigned|Jeffrey Silverman}} | No mention of get_config() anywhere? {{Unsigned|Jeffrey Silverman}} | ||
: Thanks for the hint, Jeffrey! Will be added to the TODO list. For the time being I added some direct links to http://xref.moodle.org on [[Development:Guidelines_for_contributed_code#Does_the_code_use_the_config_plugins_table.3F]] (Please sign your comments.) --[[User:Frank Ralf|Frank Ralf]] 10:03, 29 March 2009 (UTC) | : Thanks for the hint, Jeffrey! Will be added to the TODO list. For the time being I added some direct links to http://xref.moodle.org on [[Development:Guidelines_for_contributed_code#Does_the_code_use_the_config_plugins_table.3F]] (Please sign your comments.) --[[User:Frank Ralf|Frank Ralf]] 10:03, 29 March 2009 (UTC) | ||
== How to set Strings (Language) == | |||
Maybe nice to have: A link or description how to set Language-Strings for the block_simplehtml. |
Revision as of 14:14, 19 January 2010
This page is for reporting errors, suggesting improvements, etc. Feel free to contribute!
"Notifications"
At this part: "At this point our block should be capable of being automatically installed in Moodle and added to courses; visit your administration page to install it and after seeing it in action come back to continue our tutorial."
This is not clear since Moodle no longer has a single administration page.
More to the point would say to go to the /admin/index.php page for your Moodle install. On my latest version of Moodle 1.8 the link in the Administration block is labeled "Notifications".
Splitting up
I split the page up into sub pages because I got an error message that the page was over 32 KB. The three appendixes are now separate pages. --Frank Ralf 12:16, 26 January 2009 (CST)
Increasing readability
- Colored the code
- Inserted some line breaks
- Amended the appendixes --Frank Ralf 16:24, 6 February 2009 (CST)
- Started correcting the old links (Blocks_howto) --Frank Ralf 16:24, 6 February 2009 (CST)
New new settings.php method
There is a new settings.php method to do this, I don't know that much about it, so could someone who does change this page please?--Mike Worth 05:01, 28 January 2009 (CST)
block_simplehtml
- I had to title my first file block_simplehtml.php to get it to install. Is this always true?
- For answer see talk. --Frank Ralf 08:54, 1 March 2009 (CST)
get_config() ??
No mention of get_config() anywhere? (The preceding unsigned comment was added by Jeffrey Silverman (talk • contribs) .)
- Thanks for the hint, Jeffrey! Will be added to the TODO list. For the time being I added some direct links to http://xref.moodle.org on Development:Guidelines_for_contributed_code#Does_the_code_use_the_config_plugins_table.3F (Please sign your comments.) --Frank Ralf 10:03, 29 March 2009 (UTC)
How to set Strings (Language)
Maybe nice to have: A link or description how to set Language-Strings for the block_simplehtml.