Wednesday, December 13, 2017 02:11 am EST

Drupal 6

Bri's picture

Theming Drupal 6 Login Form or Login Block

Often times people want to theme the drupal login page or the login block for the theme they are using. If you need to go beyond just changing the CSS and want to actually add markup to the login form, this will show you how.

First you are going to need to locate the template.php file in your theme folder. We need to add some code to that file. Open up the template.php file for your theme and add the following:

Bri's picture

Configuring Drupal 6 With Google AdSense Module

I had some trouble when I initially tried setting up AdSense ads on my drupal 6 site. Here are some instructions to help you get it working if you are experiencing trouble.

If you haven't already, download the AdSense module form http://drupal.org/project/adsense

Bri's picture

Creating Drupal Template Suggestions

Chances are that you have wanted to create a new template as you work on your Drupal sites. Perhaps the blog page needs to have some markup that varies from your typical page.tpl.php template. Adding some lines of code to the template.php file inside the theme you are using can help you achieve this. By default Drupal will look for templates that match the name of a content type. For example, if you created a template called node-blog.tpl.php, Drupal would recognize it and load it on pages that contained blog content.

Bri's picture

Adding new Regions to a Drupal theme

Have you ever wanted to add a new region to the theme your using? Well in Drupal 6 you can, and it's not very difficult. A region is a section of your template where information, such as blocks, can be placed. By default there are 5 pre-defined regions. They are as follows:

Bri's picture

Changing the output of the $submitted variable using Drupal

As you might already know, you can pick which content types contain the $submitted by information that Drupal includes. If you are not already aware, you can go to admin/build/themes/settings/global and choose which content types you would like to have that information. As you add new content types, revisit this page to alter the settings.

Syndicate content