Drupal development
zero dev header imagezero dev header imagezero dev header imagezero dev header image

zero dev's blog

zero dev's picture

A day in the life..

Working as a contractor you come into contact with a wide range of company 'cultures'. The longer you're there the more likely you are to experience the weird edges that don't marry up with the rebranding exercises.

I've been working at an agency for a couple of months now and I'm coming towards the end of the contract. One of the big things that changed about a month ago was I got a Mac to develop on. What I didn't realise was I also got a new first line technical support dude. Let's call him Algernon, or Algy for short (the names have been changed to protect the guilty).

zero dev's picture

Admin links dissapear on custom content

This is an ugly little hack to get around the fact that those lovely neat Admin module links disappear when you don't print $content in your tpl files. The other method would be to use something like contemplate, or panels to avoid the problem completly.

ok, here is the hack. 1. create a module admin_links:

zero dev's picture

Drupal: Remove title and breadcrumb from front page

When you have a panel or a front page design that does not require a breadcrumb or a title you can either use CSS or Drupal's template_preprocess_page function

By overriding elements of it in template.php in your theme folder you can alter the defaults and change a number of things. It looks like this:

©2010 zero-dev

Powered by Drupal, an open source content management system