Drupal

A Drupal Photoblog Recipe

Tags:

Caution this is a long detailed post!

I had a recent requirement to build a photoblog website for my daughter who has just started to learn about photography.

After evaluating a number of different product including: gallery 2, cheesecake, pixelpost and photostand to name a few I decided that none of these would match with my requirements. With a few years experience and having built several Drupal powered sites I decided to investigate the possibilities.

When you think of a photoblog Drupal is probably not the first application that comes to mind. But, it is relatively simple to create a stylish, scalable and very functional photoblog with Drupal.

Google Analytics and Drupal

Tags:

You've just downloaded and installed and activated the google_analytics Drupal module, added your Google Analytics User ID but it's not working. You check the page source, but the script does not appear.

You are aware that the script does not show up when you are on admin pages (and of course you wouldn't want it to) and you have checked from your home page.

If you are using a custom theme, the answer may be simple. Check you page.tpl file to make sure that you have the following line just before the closing <body> tag:

Drupal Embedded Gallery 2 and Caching

Gallery 2 embedded in Drupal can make a good combination. When you combine two of the best open source software packages together you end up with a versatile gallery/CMS combination.

As your site grows you may however experience some issues with server load and start to look at caching to reduce server load. Both Gallery 2 and Drupal can be configured from their respective admin interfaces to achieve this.

Theming Specific Content Types Within Drupal

Tags:

Sometimes it is easy to overlook the obvious and search for a far more complex answer than is necessary. Different types of content(nodes) within your Drupal design may call for a different layout. With Drupal 5 it is extremely easy to create new content types and apply a new template for each content type.

The creation of new content types is now a core function within Drupal from Administer > Content Types > Add Content type - the "Type" field is the machine readable name for your new content type. Additional field types including image, text, email and URL can be easily added by installing and activating the Content CCK module.

Displaying Drupal Mission on Every Page

Tags:

Sometimes it may be desirable to display the mission on every page of your Drupal powered website rather than just the front page. With your PHP powered theme this is extremely easy to achieve.

Find the section in your themes page.tpl.php file that has the following code (or similar):

Syndicate content