Collaboration groups as "Multi-sites", "Organic Groups (OG)" and "Domain Access". Making the choice.

All forms of collaboration require some sort of centralized collaboration tool.
In Drupal this can be implemented with "Multi-Sites", "Organic Groups (OG)", and "Domain Access". These solutions all have their strengths and weaknesses.

The main issue however is when to choose "Multi-Sites", "Organic Groups (OG)", or "Domain Access".

First a short overview of the relevant points:


  • separate (sub-)domains
  • can use one or multiple databases

How do I add my own PHP functions to Drupal

When you need to add your own php functions to drupal, you can simply embed them in the content, but that is not the best way.

The best way to add your own PHP functions to Drupal, would be to create your own function library module.

Lets hypothetically call your PHP function library "myfunctionlib", you will need to change that everywhere to reflect your own naming convention.

To create the PHP function library module first create a folder "myfunctionlib".

In that folder create a file called myfunctionlib.module with the following content:

* Function Description
* @param function_parameter
* @returns function output description

function myfunctionlibone($type="page") {
// php function code
function myfunctionlibtwo($show="list") {
// php function code
//don't close with ?>

In the same folder create another file called "" with the following content:

How can I embed video in a drupal post?

The easiest and simplest way to embed video in a drupal post is by just copying and pasting the embed video code into the content you are making.

What you have to be careful about is the "input filter" you select for your content, most times the "Filtered HTML" filter will simply not display your embedded code, and the "Full HTML" filter will allow your embedded video code to be displayed and show your embedded video.

Of course if you have 'toyed' around with your input filters you have to make certain that the selected input filter allows the html code that is used to embed the video.

If your video embed code is javascript then you will need to enable the PHP Input module and select the php input filter for your video to show up.

As with all things drupal, there's also at least one module for this;

Copyright block: a footer with php code in drupal (The Module)

A follow-up on Copyright block: a footer with php code in drupal<.

I've had some requests to make this a module , so here it is, and there is nothing spectacular about it. It is just an example on how to make a simple block module.

Another question was if you could put drupal copyright footer block< in your theme. The answer is yes, but then you would not be able to switch it on / off or change themes as easy.

How to install a module?

To install modules in order to customize your Drupal install:

  1. Download the module. Make sure the version of the module matches your version of Drupal. It will appear in a compressed file format such as 'tar.gz'.
  2. Read the install instructions. If the module has an installation file (usually INSTALL.txt and/or README.txt), read it for specific instructions.
  3. Upload the module. There are 2 possibilities here, use one;

Upgrade Drupal to 6.12

Just updated BobbyMods to 6.12.

I also updated a couple of multi-site installations, and if you didn't hack core and put the themes and modules where they should go (as opposed to where-ever it works) it should be fairly easy.

5 Page Brochure Site Drupal 6.x Distro

Drupal 6.x Brochure 5 Page-Home

5 page brochure site distribution for Drupal 6.x, which allows you to easily focus on theming and implementing client brochure sites.

Syndicate content