Door Gerben op 21 december, 2011 - 11:13
Although not technically a Template Snippet, this tip saved the day numerous times.
CSS sprites are very usefull in reducing page load and fluid mouseover effects with background images. Creating sprites and the appropriate CSS is a time consuming process however. But Brian Grinstead made our life a lot easier. Visit his website at instantsprite.com and see for yourself. You can upload all your images and the tool automatically creates the sprite and the CSS for you. Very fast and usefull when theming your Drupal theme!
Door Gerben op 15 december, 2011 - 07:57
First off in our Drupal Template Snippets series is this HOWTO. You can add a custom menu in your page regions with a block, but sometimes you might want to make sure the menu is always there. And you do not want to worry about someone accidentally removing the menu block from your site. Well, here is a snippet to add a custom made menu to your page.tpl.php.