drupal

Vendor Branches for Modules

Use Subversions "vendor branch" capabilities for managing Drupal module installation and updating.

Ross Burton's Vendor Branches in Subversion is a decent explanation of how vendor branching works.
CodeGobbler has an article on SVN repository structure for Drupal projects that includes using svn:externals for modules.

Adding a module to your local Drupal repo
Check out a copy of the module section of your local Drupal SVN repo:

cd /tmp

Upgrading

How to upgrade various components of your Drupal site.

Your Drupal install includes a status report feature (http://www.example.comt/admin/logs/status that let's you know if your core install of Drupal has any updates available.

We highly recommend using the Update Status module for monitoring whether your currently installed modules are up-to-date (as well as Drupal itself). It can email you notifications if new releases are available.

Technology:

Checking out modules from CVS

Keep up-to-date with rapidly changing modules by checking them out from Drupal's CVS repository.

Checking out a module from CVS
Rather than just downloading a tarball, you can use CVS to checkout modules from http://cvs.drupal.org. Navigate to the folder where you want to store the module and check out a the module:

cvs -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib \
checkout -d modulename -r revisiontag contributions/modules/modulename

So if you want to check out, for example, cck-5.x-1.7.tar.gz, the command would be:

cvs -d:pserver:anonymous:anonymous@cvs.drupal.org:/cvs/drupal-contrib \

Using Input Filters

Link

Add a complete link to your CCK content types; including URL, title, and optionally a target attribute.

Technology:

Multi-Site Setup

Multisite allows you to host multiple websites from a single Drupal codebase. Each individual site has it's own database and configuration. Sites can share modules and themes, or they can be specific to an individual site.

Create another site
Create a directory to hold the site specific files and configuration:

cd /path/to/your/drupal/install
cd sites
mkdir www.mynewsite.com
cd www.mynewsite.com

Copy the default settings.php from a fresh install of Drupal or, if you followed our Drupal instructions, the copy you made of it:

cp ../default/settings-original.php settings.php
chmod ugo+w settings.php

Create modules and themes directories for themes and modules that will be specific to this particular site:

Technology:

Cool Drupal sites

Authenticate Drupal to OS X Server's Open Directory

Your Drupal website can authenticate users stored in OS X Server's databse, Open Directory.

These settings worked for OS X Server 10.3 (Panther). Not sure how compatible they are with Tiger and Leopard.

LDAP Integration settings
LDAP Port: 389
Base DN: cn=users,dc=yourdomain,dc=com
UserName attribute: uid

LDAP Groups settings
Groups exist as LDAP entries where a multivalued attribute contains the members' CNs
Nodes containing groups (one per line): cn=groups,dc=,dc=com
Attribute holding group members: memberUid

Webserver configuration

Instructions for configuring Drupal sites on Apache, Lighttpd and nginx.

Apache Virtual Host Configuration
Enable the virtual host config file in /usr/local/apache2/conf/httpd.conf by uncommenting it:

# Virtual hosts
Include conf/extra/httpd-vhosts.conf

Edit /usr/local/apache2/conf/extra/httpd-vhosts.conf and add an entry for your new Drupal install:

ServerName www.domain.com
#ServerAlias *.domain.com
DocumentRoot /var/websites/projectname/drupal-5.10

Options Indexes FollowSymLinks
AllowOverride All

MySQL Configuration

Set up the MySQL database for your Drupal site.

MySQL configuration

....my.cnf parameters for InnoDB...

Database Setup
Create the Drupal database:

/usr/local/mysql/bin/mysqladmin -u <username> -p create <databasename>

Log into MySQL:

/usr/local/mysql/bin/mysql -u <username> -p

Create a user and grant it the appropriate privileges for your database:

Technology:

Pages

Subscribe to RSS - drupal

Recent Updates

  • 11 months 1 week ago
    1.27.2 update
  • 11 months 3 weeks ago
    Drupal 10/11 config
  • 11 months 3 weeks ago
  • PHP
    11 months 3 weeks ago
    PHP 8.3.11 and AlmaLinux
  • 11 months 3 weeks ago
    New version of Pound
Error | Production Monkeys

Error

The website encountered an unexpected error. Please try again later.