Drupal Knowledgebase

OSU Drupal documentation

Oregon State University has a section of their website with Drupal documentation:

http://oregonstate.edu/webprojects/drupal/ 

OG webcast

Webcast about OG:

http://zacker.org/magic-groups-screencast 

Sorting Groups by most active

A patch for Organic Groups, which sorts by post count:

http://drupal.org/node/200897

Tutorial on Organic Groups

Full tutorial on setting up OG, by a guy who is enthusiastic about the module!

http://articles.techrepublic.com.com/2415-3513_11-169265.html 

Reviewing the Archives -- Archive Module

Here is a module which helps users navigate the node archives.

 http://drupal.org/project/archive

 Primary visual aid is a calendar block. 

Some ideas on a document management solution

http://groups.drupal.org/node/7342

Hiding content from Drupal's search system

What happens if you want users to be able to access some content (user bio nodes, for example) if they navigate to it directly, but don't want that content to appear in search results? Drupal doesn't offer any way to do that by default, but your custom module can use the same behind-the-scenes hooks used by the security system to control exactly what search results are presented to users.

http://www.lullabot.com/articles/hiding-content-drupals-search-system

Node Profile -- How To module mashup

A fairly clear how-to on the creation of a CRM using Node Profile can be found here:

http://www.mybesinformatik.com/content/custom-role-dependent-user-profiles 

CCK - dependant drop-downs - pairing taxonomy fields, skills database

Here is an example, at tutorial actually, for creating a dependant drop-down set of fields in CCK and Taxonomy.

The idea being that, for example, you first select a Country,

and then the Province field only shows you provinces in that particular country,

and then the City field only shows you cities in that province.  It manages the risk of having a city field with 100,000 cities loading into the form.

 http://blue.live4all.co.il/~mooffie/cms/node/15

Theming the search form

Some tips:

http://mydrupalblog.lhmdesign.com/theming-search-submit-button-css-cross-browser-compatible-solution 

User Profile Configuration

Passing along this site which gives the precise modules they used in their user profile configuration:


http://shellmultimedia.com/node/274

node_profile

node_family

usernode

and others. 

Node referencing

CCK versus Taxonomy for node referencing

Interesting solution using views: http://groups.drupal.org/node/4142

Limiting visibility of blocks to users

This piece of code, added to the 'Page specific visibility settings' section of a block's configuration, limits the display of the block to authenticated users:

<?php
  global $user;
  if (!$user->uid) {
    return TRUE;
  }
?>

It is used to hide the 'Options' block in the right column of this site, once a user logs in. 

To use CiviCRM or not?

Discussion thread about using CCK/Views instead of CiviCRM: http://drupal.org/node/86165

Code to assign all permissions to a role

Useful snippet of code to assign all permissions to a role. In the code below, role 3 is addressed.

Upgrading Drupal 5 to new D5 version

A post at http://geeksandgod.com/forum/all-about-drupal/security-upgrade-drupal-5-... suggest a 'simple' way to upgrade when the new version is a security fix, without changes to the database or other more complex changes:

Useful resources related to internationalisation issues

The OpenConcept website has a section,'Notes on Setting up a Drupal Site for Internationalization'

http://openconcept.ca/blog/kevin/i18n 

 

Tips if pages loading slowly

Some tips from a post on the support email list:

From: Larry Garfield <larry@garfieldtech.com>
Subject: Re: [support] SLOW LOADING

First off, make sure you're running with page caching enabled. Cached pages are drastically faster than non-cached pages. Unfortunately they only work for anonymous users.

Nancy's Information Site (Drupal Cookbook)

Some good stuff here, on a variety of subjects:

http://nanwich.info/DrupalCookbook.htm