Anthony McLin

MooTools 1.2 is finally in Joomla!

I'm happy to say that my previous post about using a modern version of MooTools in Joomla no longer applies. With the latest update to Joomla (1.5.20) a new plugin was added, providing MooTools 1.2.4, with backwards compatibility for Joomla extensions that relied on MooTools 1.1. This update came just in time for me as I was updating a client's site from Joomla 1.0 and had a lot of Javascript to rewrite with new dependencies and conflicts to avoid.

For upgrade installs, this plugin is not be enabled by default.

Custom User Login Block on Drupal 6 Zen sub-themes

I was trying to override the login block displayed on one of my Drupal sites and I kept running into a lot of trouble. No matter what functions I tried overriding in my template.php, nothing was displaying. All the tutorials I could find online didn't take into consideration the specifics of using a Zen subtheme. Hopefully my guide here will avoid this problem.

JQuery trick while we wait for IE 9

I was just wrapping up a new website, when to my <sarcasm>big suprise</sarcasm> I found that it was broken in Internet Explorer 8. After doing various tricks to optimize and troubleshoot the code, I discovered that one feature in particular was working just fine in IE7, but was throwing javascript errors in IE8.

I'm utilizing the JQuery plugin MapHighlight to generate a fancy border/highlight effect on an interactive floorplan feature. It turns out, that in IE8, Microsoft removed support for a wildcard selector when creating VML objects. Luckily, this was a relatively easy fix, as someone already did the tough work for us.

Here's how to apply the fix yourself:

Font Embedding


Following up on my previous discussions about font replacement and font embedding

The Wide World of Food

Cow Tongue Pastry

I love to travel, and I love to eat. Just before leaving on a trip to Hong Kong over Thanksgiving week I had the brilliant idea of documenting my travels through food. I quickly regestered a couple of domain names, and setup a WordPress installation with the intent of posting while traveling (it also gives me a great excuse to try out other content management systems). A busy schedule prevented us from making posts during the trip, but my wife and I took pictures of almost everything we ate. Check it out, and whet your jealous appetite:

www.mytravelfoods.com

bugs, bugs, bugs....

I recently found out that my site wasn't working properly in Internet Explorer. I have since rebuilt the background image functionality as a MooTools class (more on that in another post) and have fixed the issues that caused failures in IE. This means that visitors using Internet Explorer 7 and 8 can now properly view my portfolio and switch between the images. Sorry to those of you on Internet Explorer 6, but there are too many issues with IE 6 not supporting standards, so I'm cutting it off (according to my visitor statistics it's less than 6% of you anyways). Upgrade already!

Using MooTools 1.2 in Joomla

MooTools is on version 1.2.3 (after completely dropping 1.1.1 as the default about a year ago), and version 2.0 is expected before years' end. Joomla however, still is including 1.1.1 because of compatibility issues with various plugins. People have been asking how to safely replace the version of MooTools included. Since I've done this several times, I figured I'd share my method here.

fireworks-01.jpg