Discuss Moodle, the Open Source Learning Management System
The iMoodle network discusses all things Moodle, the popular LMS (learning management system) preferred by educational institutions & ESPs.
5 members
9 members
2 members
4 members
8 members

Sorry, I've been neglecting this blog the last few weeks. Just a couple of interesting things to report (well... not very interesting really... but interesting by the standards of this blog).
First, I am presenting a session at iMoot, the international online Moodle conference this week. (You can still register if you like, it's not very expensive. Tim's got a session too, and of course there are plenty that aren't being given by Open University folk as well!)
This runs on a 24-hour schedule meaning that I have to do the presentation at (I think) 01:30 Thursday morning my time... then it gets repeated at a couple other times where I still have to turn up at the end for questions.
The session I'm doing is basically the complete guide to ForumNG - starting from installation and then covering all the fancy features and improvements. I'm hoping to encourage other people who run Moodle installations to try it, or people who teach to pester their administrators to try it, etc. So it'll be a bit like all the screencasts from this blog, except all jammed together at once, in a more coherent order, and (by the time that session ends) with a less coherent presenter. If that sounds like fun, well, hope to see you there. :)
If you don't fancy that, but you're up for a more traditional conferencey thing, I may possibly have a briefer presentation in the normal UK Moodle moot (this proposal has not been accepted yet so we'll have to wait and see).
Second, I know a lot of people outside the OU wanted the 'subscribe to individual discussion' forum feature. Good news, it turns out that people inside the OU want it too! We're scheduled to do it. I finished a (slightly sketchy) spec today and Ray's just beginning the development work.
For the past few years, I’ve struggled to include a variety of menu bars in my Moodle themes. I’ve tried everything from the simpler CSS-only menus to a slew of fancier menus that require javascript. Some of them have looked really nice. But, none have completely satisfied my need for a light, attractive, and customizable drop-down menu that supports multiple sub-menu levels while still offering basic functionality when javascript is disabled. Until now.
The menu that I’ve found has been under my nose the whole time. It’s the Yahoo User Interface (YUI) Menu included in every Moodle download since 2006. I’ve always known the YUI library was there, but embarrassingly hadn’t looked into it’s menu support until just this past week.
Here’s why it’s a superior menu:
Before you tell me why this is an inferior menu to [insert your favorite menu here], let me stop you and say, “I know.” There are a lot of great menus out there. The problem I’ve found with other menus is their instability in relation to the wide array of code that comes out of and goes into a Moodle installation. I’m just sick of testing menu x on page y of module z.
To make this as easy as possible to share, I’ve created a blank theme that includes nothing more than the dropdown menu with basic styles.
If you’re like me, you probably want to know what I did. Here you go:
<head> <?php echo $meta ?>
<meta name="keywords" content="moodle, <?php echo $title ?> " />
<title><?php echo $title ?></title>
<link rel="shortcut icon" href="<?php echo $CFG->themewww .'/'. current_theme() ?>/favicon.ico" />
<?php include("$CFG->javascript"); ?>
<?php include("js.php"); ?>
</head>
Of course, you could just add the javascript and CSS includes in header.html directly, but I find this method to be a bit cleaner.
<?php if ($home) { ?>
<div id="header-home" class="clearfix">
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
</div>
<?php include("menu.php"); ?>
<?php } else if ($heading) { ?>
<div id="header" class="clearfix">
<h1 class="headermain"><?php echo $heading ?></h1>
<div class="headermenu"><?php echo $menu ?></div>
</div>
<?php include("menu.php"); ?>
<?php } ?>
This menu.php file contains the HTML markup for the dropdown menu. It’s a daunting file even if you’re accustomed to looking at such code. But, the logic isn’t too tough to figure out. Dropdown menus are simply unordered lists nested inside list items of parent unordered lists. Spend some time looking at my dummy menu and you’ll figure it out.
@import "styles_yui_menu.css";
Of course, there are other ways to include this stylesheet. I chose this one only because I like it. You can add your personal styles right underneath.
I sure hope I didn’t leave anything out. My feeling is that the file will be more helpful than my description, but this should provide some narrative to my code and some insight into the choices that I’ve made.
Since I’m not a programmer, and my understanding of javascript and PHP is lacking, if this code can be improved in any way, please let me know so I can update it.
Your feedback is always appreciated. Enjoy.
… ContinueToday, as part of our weekly code review, I tested MDL-21293.
Had you noticed anything about the YouTube block on tag pages e.g. Moodle.org Cats tag? I certainly hadn’t seen that video thumbnails were no longer being displayed!
Thanks to Nadav Kavalerchik in Israel for reporting that block tag_youtube needed updating to support the new Google Data API and thanks to Eloy for fixing the issue.

Like many of you, I’m using twitter a lot more these days and I often search for tweets containing the word moodle to find out what Moodlers worldwide are up to.
Yesterday I set up a few more Moodle community sites twitter accounts. Thus, the full list is now:
There’s also my own twitter account, twitter.com/moodlehelen, in which I tweet about news from all the Moodle community sites.




Started by Sukhpreet Kaur Feb 2.
Started by Elijah R Young. Last reply by JoelD Dec. 1, 2009.
Started by Laurie Korte. Last reply by Jagdeep Singh Pannu Nov. 6, 2009.
Posted by devendra satam on December 16, 2009 at 12:30pm
Posted by Jagdeep Singh Pannu on September 2, 2009 at 8:14pm — 2 Comments
Posted by Jeffrey A. Roth on August 28, 2009 at 7:18pm
Posted by Wendy Cotta on August 25, 2009 at 6:38am

Loading feed
Loading feed
Loading feed
Loading feed
Added by Rene Torres Visso
© 2010 Created by Jagdeep Singh Pannu on Ning. Create a Ning Network!