Obama seeking to eliminate school pass-fail report cards as part of NCLB overhaul

Instead, under the administration’s proposals, a new accountability system would divide schools into more categories, offering recognition to those that are succeeding and providing large new amounts of money to help improve or close failing schools.

The Ultimate Moodle Dropdown

January 31, 2010 • 12 Comments

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:

  1. It’s built on the only javascript library officially supported by Moodle.
  2. All of the needed javascript and CSS files are included in the core. The only thing to do is reference them in your theme.
  3. Being built on the YUI framework ensures your menu is future-proof. Moodle is committed to sticking with it through 2.0.
  4. The YUI library offers great documentation.
  5. Since it’s Moodle’s supported javascript library, it works without conflict in all browsers (I’ve personally tested Safari, Firefox, IE7, IE8, and Chrome – same behavior and appearance).
  6. It’s completely customizable and offers as many levels of submenus as you’d like to include.

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.

Download a demo theme

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.

Get the Base Menu YUI theme

What I’ve done

If you’re like me, you probably want to know what I did. Here you go:

  1. A single line of code was added to the head of header.html to pull in all the javascript and stylesheets from the /moodle/lib/YUI/menu/assets/ directory in the core.
    <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.

  2. The menu was pulled into the body of header.html. If your theme uses conditional statements to differentiate between the front page and other pages, you’ll have to add the include twice (as shown):
      <?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.

  3. I added styles_yui_menu.css to the theme folder. This is a modified version of the styles found in moodle/lib/yui/menu/assets/menu.css. If you prefer the styles in that file, by all means use it instead of this one. I chose to create my own menu stylesheet so it’d be easily customized. I’ve commented wherever possible.
  4. Based on my Stripdown theme concept, I added a single stylesheet to config.php called styles.css. If you look in that file, you’ll see the only thing in it is the line calling up the menu styles:
    @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.

  5. The YUI stylesheet calls up some images for the menu and submenu icons. I moved those images into /base_menu_yui/images/menu/. There are currently more than than are called; I just pulled all that were in the YUI menu assets folder.

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.

Online Lesson Plans

January 26, 2010 • No Comments

Back in the day, before I ever learned about Moodle, or had a care about “the power of the internet to empower students to learn,” I purchased the domain mrmalley.com. I saw it functioning as a place to offer content for my students online. No presumptions. No grand expectations. Just a website.

Well, as the story goes, in looking for a system to manage my content, I stumbled upon Moodle 1.5, and before long I was administering my own online learning environment. It was fantastic.

I only used mrmalley.com for online learning for one year before my district asked me to install and develop Moodle for use in our upper grades. Since then, my old site has been missing a purpose.

I’ve just completed a little project to reuse that space.

Using Expression Engine, I’ve built a lesson plan repository that will collect, store, and organize my lesson plans for the next few years.

I plan to start with my Introductory Psychology class (because it’s in need of an overhaul). Then, I’ll post my AP Psychology plans, and finally my plans for U.S. History. I’m going to take my time posting them to prevent fatigue and to give each class it’s due attention.

I’ve organized Expression Engine into three weblogs – one for each course – and have created custom fields that make writing lesson plans as easy as filling out an online form. Here’s an example of what the backend looks like:

Expression Engine

As you can see, this isn’t fool proof. I still have to enter some HTML into the content boxes to get lists to display properly on the page, but it works great for a guy like me who is fine with such a thing.

The front-end is organized into three parts. The first shows a table of academic units (which are just weblog categories), the number of lessons in that unit, and a short description of what will be taught.

Selecting a unit shows another table of all the lessons in that unit with objectives. They are ordered by “day.”

Selecting a lesson plan from within that unit will show the contents of the plan.

I’ve used conditional statements in Expression Engine to only show fields that contain content. For example, if a particular lesson has no “practice” or “anticipatory set,” it will not be included on the page.

In total, I’ve put about 20 hours into creating this new system from top to bottom. In the end, though, I think I’ve created a system that will save me a great deal of time and effort. Since this is a rather geeky way of creating and sharing lesson plans, I thought I’d share. Enjoy!

2010 Goshen MoodleMoot

Dates for this year’s Goshen MoodleMoot have been set for July 26-28. Last year’s Moot was a great success, and I’m happy to have been so involved. Goshen College is only a 45-minute drive from my house. The facilities and catering there are fantastic, and last year’s Moot offered something for everyone who attended.

The highlight for this year’s Moot?

Martin Dougiamas, Moodle Founder and Lead Developer, will attend the Midwest Moot and present the keynote address. There will be informal opportunities to meet Martin in person and to discuss the future of Moodle.

My wife is due to deliver our second child around the weekend of this Moot. I’ve contacted Floyd Saner, the Moot organizer, to let him know that I plan to attend and hopefully present at the Moot. But, of course, I can’t make any commitments. We’ll have to wait and see.

Find, Change, and Install New Moodle Themes

Here’s a quick video from Dave Mozealous that goes through the process of finding, changing and installing Moodle themes.

In it, he says that Simplicity is a core theme. That’s not true. However, there is a good chance it will be included in the core for Moodle 2.0.

Teuxdeux

My new home page.

How the iPhone Could Reboot Education

Abilene Christian University has just completed the first year of a pilot program to give incoming freshmen their choice of an iPhone or an iPod Touch to use in their classes.

The verdict? It’s working quite well. 2,100 Abilene students, or 48 percent of the population, are now equipped with a free iPhone. Fully 97 percent of the faculty population has iPhones, too. The iPhone is aiding Abilene in giving students the information they need — when they want it, wherever they want it, said Bill Rankin, a professor of medieval studies who helped plan the initiative.

Children who use technology are ‘better writers’

Jonathan Douglas, director of the National Literacy Trust:

“Our research suggests a strong correlation between kids using technology and wider patterns of reading and writing”

27″ iMac i7 Now Shipping

November 6, 2009 • 5 Comments

I logged into my bank website just a few minutes ago and noticed I have a considerably lower balance in the account I used to order my new Quad-core i7 iMac. I checked my account history and, sure enough, the charge is from Apple Online.

So, I called Apple to see if this is any indication that they are shipping the iMac soon. The representative I talked to informed me that their practice to charge only once the products ordered are ready to ship. He followed this by saying that this probably means that my iMac will be on its way within the next couple of days.

Now, I’m not typically the type to get excited about such news. But, I put my old 24″ iMac on Craigslist the night that I pre-ordered this new one thinking that it might take a couple of weeks for it to sell. I sold my old iMac within two days and have been working exclusively from my laptop for the past week or two.

This might be nothing, but I thought I should put the word out there.

Update: This was nothing. When I made my purchase on Oct. 26th, Apple held onto funds in my account for a couple of days, then released them. They did the same thing here. On Nov. 6th, they held my funds. This morning, they are back in my account. No iMac for me yet.

Update 2: I woke up this morning to a shipping notice from Apple. My iMac is in transit and should arrive this Friday.

Cell Size and Scale

Fascinating use of technology to help students learn from the University of Utah.

How Many People Are In Space Right Now?

And, if you’re too busy to check the site, there’s even an RSS feed.

Good to know.

Great School Websites

There’s a lot of good tips in this article by Paul Haigh. Here’s my favorite:

The best system is to use one public site as a portal for all stake holders to use. This way the site gets all the traffic through one initial front page and this can be used to promote the ethos and character of the school.

Edit: It appears that the author of this article has taken his site private.

Why Teachers Should Blog

Best argument I’ve read for an act that is sometimes tough to defend.

My blog represents me not as an edited professional voice, but as a human being struggling to express ideas, thoughts, reactions, dreams, and general b.s. via a means that uncompromisingly allows for the immediate feedback of strangers and fellow wanderers.

Multitasking may be harmful

A new study suggests that people who often do multiple tasks in a variety of media — texting, instant messaging, online video watching, word processing, Web surfing, and more — do worse on tests in which they need to switch attention from one task to another than people who rarely multitask in this way.

Television Viewing Linked to Blood Pressure Increases in Children

The New York TImes:

Children who spend a lot of time watching television have higher blood pressure than those who watch less, even if the children are thin and get enough exercise, according to new research.

Midwest MoodleMoot

July 20, 2009 • 5 Comments

I’m heading off to Goshen, Indiana tomorrow for the first annual Midwest MoodleMoot at Goshen College. Since I signed on to participate in this moot early, I’ll be quite busy.

Presentations

A Quick Overview of Moodle Themes: During this 50-minute session, I’ll explain the files in the standard theme folder and share resources that will help locate and change the Moodle theme code. Just enough information to help get started with themes.

How to Structure Your Course for Reuse: Fifty minutes of me telling you what you’re doing wrong on the course page and why I’m doing it right! I see a lot of courses that are very unorganized and ugly. With time, this can get out of control for the teachers that use them (where is that file?). Moodle offers a great deal of flexibility but needs to be tamed to do the things that you want it to do. In this session, I will do my best to share my experience with Moodle: how I organize files, quiz questions, and course sections in a consistent, manageable way that has kept me sane for over four years. This was a really popular session at the Oklahoma MoodleMoot.

Five Game-Changing Activities Using Moodle: This session will highlight five activities using Moodle that get students working collaboratively and constructively on the content in your course. Basically a rundown of what I wrote about earlier this year.

Discussions

Computer Access Issues in K-12 Schools: It’s tough assigning homework on the web without knowing what sort of access your students have at home. During this session, we’ll discuss possible creative solutions to help bridge this gap in accessibility.

Moodle 2.0 – What is next?: Basic overview of everything coming with Moodle 2.0. I’ll be co-moderating this discussion with Paul Ortman from Goshen College, and he has installed a demo of Moodle 2.0 to show what we’re talking about.

Workshop

How to Create and Modify Moodle Themes: During this two-hour hands-on workshop, participants will create their own custom Moodle theme. The goal is to install the Stripdown theme and start making changes as soon as possible so that everyone feels confident enough to make their own theme when they leave.

Well, writing this makes me realize how busy I’ll actually be; I had better get back to work! If you’re going to the Moot, I look forward to meeting you. If you can’t make it, I’ll be twittering occasionally with the hashtag #mootin09. Be warned, though, that I’m more likely to tweet about lunch than I am to tweet about sessions.

Makeup Work Allows Students to Slide by

The New York Times:

At William H. Maxwell Career and Technical Education High School in Brooklyn, for instance, a nearly illiterate student racked up many of his credits through after-school remediation programs. He was promoted to 12th grade still unable to write full sentences or read a line of text, his teachers said.

No child left behind.

The Festival of San Fermin, 2009

Amazing set of photos from this year’s Running of the Bulls. This is the tenth Fiesta de San Fermin since I attended (and ran) in 1999. Love it or hate it, it’s an awesome spectacle to behold.

Stripdown: A New Theme for Moodle

July 13, 2009 • 4 Comments

Last month, I did a two-hour theme workshop at the Oklahoma MoodleMoot. While in the Cincinnati airport waiting for the final leg of my journey, I created a new theme – an antitheme really – for workshop attendees to use as a starting point for their projects. I decided then that this would be a good thing to share with the community.

Introducing Stripdown

Stripdown is nothing more than a stripped-down theme that loads the Moodle Standard stylesheets first. It actually contains no style of its own. That’s for you to work out. Before adding these styles, it looks just like the Standard theme. That’s because your browser is calling Standard before it calls Stripdown, and since Stripdown is essentially empty, all that’s left to display is Standard.

The reason one builds a theme on top of Standard is because Standard gets updated with every new Moodle version. When you update your Moodle installation, you update Standard. If your theme is built on Standard, your theme has less chance of breaking from version to version.

All you have to do to make Stripdown “non-Standard” is add your CSS to the styles.css file inside the theme folder.

Technical parts

Some may like to know just what I’ve done, so here’s a rundown on how Stripdown was created.

  1. Duplicate the Standard theme.
  2. Edit line 9 of config.php to call only one stylesheet – styles.css
    $THEME->sheets = array('styles');
  3. Delete all stylesheets except for styles_layout.css, styles_ie6.css, and styles_ie7.css. Open these three that are left and delete everything in them. You don’t need them since they’re already being loaded by Standard.
  4. Rename your newly empty styles_layout.css to styles.css.
  5. Open header.html and delete the horizontal row from line 42 (not necessary, I just don’t like it).
  6. Change the pathnames in meta.php to reflect the name of your new theme folder (in my case it is stripdown). You’re not using meta.php in your theme yet, but this will prevent hair pulling down the road if you decide to turn it on in config.php.
  7. Add a directory called /images/ where all theme-related images are to be stored. This separates the Moodle core images (icons, tabs, etc.), which are in the /pix/ directory from your theme images in case you want to update those core files down the road.

Get Stripdown

Most Likely to Succeed

Great piece from Malcolm Gladwell on the problem of selecting teachers without knowing whether they’ll actually be any good at the job until they’re actually doing it for you.

A group of researchers … have investigated whether it helps to have a teacher who has earned a teaching certification or a master’s degree. Both are expensive, time-consuming credentials that almost every district expects teachers to acquire; neither makes a difference in the classroom. Test scores, graduate degrees, and certifications—as much as they appear related to teaching prowess—turn out to be about as useful in predicting success as having a quarterback throw footballs into a bunch of garbage cans.