Introducing: Drupal Wallpaper Repository (2.OH!)

Posted on Dec 21, 2007

Theming Drupal Comments, Exemplifying with Garland

Posted on Dec 4, 2007

Part 1 - enhancing the comment layout

When browsing the drupal showcase forum I notice that few people take the effort the theme the comments, which is strange because comments are not only a very popular feature, but also exceedingly easy to theme!. For this comment theming tutorial we're going to spice up the comment template of the default Garland theme with some additional styling and a date widget just like the one in my latest free drupal theme Delicious Fruit.

Before starting with this tutorial, open up the garland theme folder and open the comments.tpl.php file. Our first...

Announcing All Drupal Themes: Drupals ally in providing free professional themes

Posted on Nov 25, 2007

With this blog post I'm launching my new website, sooperthemes.com . I made this site firstly, because I've heard many complaints about Drupal having comparatively very few goodlooking themes. The second reason for making this site is that I have used drupal and it's modules so much without being able to give much in return, as my php skills are not (yet) sufficient to write good standards-compliant modules.

Whats on sooperthemes.com now:

Whats coming up the coming 2-3 weeks:

  • plenty more tutorials, some more advanced theming topics probably
  • 2 more themes, a port of Delicious Fruit by Dieter
  • ...

Automagically placing adsense inside content

Posted on Nov 17, 2007

This is my first ever blog post, so I'm going to keep it simple, and start with this easy trick to add adsense to your articles. This trick does not require the usage of the adsense module, or any other module. Actually, this trick does not even require adsense, because in essence, we'll be creating an in-content block in wich you can put any type of advertising you like.

First of all, we're going to create a new block region. Put the following code in your template.php file, if you don't have one, create a template.php file and put it in the directory of your theme:

function yourtheme_regions() {
return array(
'right' => t('right sidebar'),
'left' => t('left sidebar'),		
'content' => t('content'),
'header' => t('header'),
'footer' => t('footer'),
'incontent' => t('in content')
);
}

Make sure that you replace ...