Development talk:Blocks: Difference between revisions
Frank Ralf (talk | contribs) |
(→get_config() ??: new section) |
||
Line 26: | Line 26: | ||
* I had to title my first file block_simplehtml.php to get it to install. Is this always true? | * I had to title my first file block_simplehtml.php to get it to install. Is this always true? | ||
* For answer see [[User talk:Colin Matheson]]. --[[User:Frank Ralf|Frank Ralf]] 08:54, 1 March 2009 (CST) | * For answer see [[User talk:Colin Matheson]]. --[[User:Frank Ralf|Frank Ralf]] 08:54, 1 March 2009 (CST) | ||
== get_config() ?? == | |||
No mention of get_config() anywhere? |
Revision as of 01:06, 29 March 2009
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?