Drupal

Context-3.x and Zen-2.x in Drupal

Playing around with the Context-3.0 Drupal module, I found out there was a slight conflict with Zen-2.x theme that I use.

 

The problem arises with how Context and Zen theme handle blocks, both overriding the theme_blocks() theme hook.  So, what happens is that Context's rules don't work, as Zen wins with the last hook override.  So the solution, is to combine both sets of logic in a theme_blocks function in your template's "template.php".  Utilizing a fix that works with Context 2.x, I came up with the following fix that works for 3.x:

 

Wow

I always had an amazing love of the new White House web site.  Never did I realize it was powered with my favorite content management system!  Here's a link to the article I just read that gives an in depth look at the project and some of the parties involved: via O'Reilly

An explosion heard off in the distance.

It was brought to my attention that my layout went ape in IE8.  I had no idea, so if anyone ran into any troubles navigating the page, I'm sorry.  After a quick inspection using IE8's handy developer tools (although not as cool as Firebug ), I noticed that it wasn't properly handing all the CSS passed out via Drupal.  I then realized that CSS optimization wasn't turned on, which a quick flip fixed the issue.  Thus ending rantings about how crappy the site looks, and more pointing to how stupid IE8 is, especially since Firefox, Safari, Chrome, and Opera all seemed to handle the pressure just fine.

Syndicate content