Disabling or enabling modules manually in the database

If you need to manually disable a module you can do so in the database. Before you start, do a mysqldump (or export) of your Drupal db to a local file in case things go wrong and you need to roll back.

Accessing MySQL

In order to perform these commands one must have access and proper permissions to execute MySQL commands. These commands can be executed with GUI like phpMyAdmin, or just the MySQL command line interface.

phpMyAdmin

To disable a module via phpMyAdmin you must login to phpMyAdmin. Then you must locate the database where Drupal is installed. Once you have done so look for the "system" table. Click and open it. Click to browse the table. Find the record for the module that is causing the problems and select the edit function. Set the status to "0" and save.

MySQL command line

To disable a module using the MySQL command line, run the following SELECT to look at the state of your data before the change. This will help you to find the full name of the module too.

MySQL Commands

See all the modules enabled:
SELECT name,status FROM system WHERE type='module';

See if a particular module is enabled:
SELECT name,status FROM system WHERE name='module_name';

Disable your module, set the status to 0 for the module name that you want to disable.

CiviNode and CiviNode CCK: Integrating CiviCRM Contacts into Drupal Content

CiviNode is a module and API that exposes CiviCRM contacts, groups, and other CiviCRM object types to other Drupal modules. It's designed to make CiviCRM easier to use and integrate with all of the Drupal tools and techniques you already use to create websites.

CiviNode has been largely superseded by native functionality since CiviCRM 2.2, notably direct integration with Views. CiviNode's features include

  • Add CiviCRM contacts or groups as fields in a Content Construction Kit (CCK) data type. Currently, you can add pop-up menus for both groups and contacts. CiviNode CCK also makes use of CiviCRM's native Dojo widget set to give AJAX-style access to contacts.
  • Restrict a CCK field to contacts from a single group, or pull contacts from you entire CiviCRM data store.
  • Display a contact as a link, a CiviCRM profile (a collection of contact fields), or as a link into CiviCRM.
  • Display CiviCRM-based CCK fields using the Views module.

Calculating average speed

D'Arcy Norman has a Computed Field example in which he calculates the average speed of a bike trip, rather than filling it in manually:

Computed Field settings (leaving other fields at their defaults):

Making a node link to itself

These examples demonstrate how to output the node ID (nid) for the current page in the form of a link to itself.

Installation and upgrading

Installation is done in the usual way: just drop the module into your selected modules directory and enable the module.

Drupal 7
Drupal 5-6

Making sure you got the Events entered correctly (EoL D5.x)

Current status of Event module and all information here.

The Event module was end of life at Drupal 5.x and is not in current development. Please do not read further if you are working with Drupal 6,7, or 8.

Pages

Subscribe with RSS Subscribe to RSS - Site administrators