Note:

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

Talk:Blocks: Difference between revisions

From MoodleDocs
No edit summary
mNo edit summary
Line 8: Line 8:


Greg J Preece
Greg J Preece
--------
Hi Greg
That was quick!  Looking through the forums it seems I'm embarking on a journey - trying to get my head around Moodle Development - that you started 5 years ago.  Documentation is severely behind version 2.1, any tips?  Also do you know of any developer courses?  I haven't had any luck with Moodle partners here in Oz.
Thanks
Richard Jones

Revision as of 03:55, 13 September 2011

Moodle 2.0


In the blocks I have looked at, there is no closing php tag - ie the ?> is not included. In this tutorial it is.


By Jove, he's right! The lack of closing tags is, I believe, a trick to prevent problems with newline characters appearing after the closing tag. PHP has no real problem with the last tag not existing, so it's left out to be safe. I will add this to the tutorial when I get chance. Thanks for pointing it out.

Greg J Preece


Hi Greg

That was quick! Looking through the forums it seems I'm embarking on a journey - trying to get my head around Moodle Development - that you started 5 years ago. Documentation is severely behind version 2.1, any tips? Also do you know of any developer courses? I haven't had any luck with Moodle partners here in Oz.

Thanks Richard Jones