Force hook exit

Component type

module

Categories

Maintenance status

Development status

Downloads

775

Component created

Component changed

This is a simple module for Drupal 6 that does its best to guarantee that hook_exit() gets called, even if a module exits early with exit().

The reasoning behind this module is that lots of modules in Drupal 6 print output and then call exit(). This is commonly used to output JSON, for example. Usually that's fine, but calling exit() stops the regular request process. Depending what you're doing in your hook_exit() it may be important to ensure its execution, thus this module was created.

CSS JS Total Control

Component type

module

Categories

Maintenance status

Development status

Downloads

1989

Component created

Component changed

Short Introduction

Makes it possible to manage themes' CSS and Javascript files with no coding and via theme .info file.
IE conditional comments support for both CSS/JS, replacing and disabling core and contributed modules' CSS/JS files, adding inline JS/CSS, Regular expression support!, are just few of the special features it offers.

Example how to use tableselect with #options

Component type

module

Categories

Maintenance status

Development status

Component created

Component changed

This module is an example module based on the fabulous guide Adding checkboxes to a table

@Credit: mexicoder, ronan.orb, drupalshrek, nohup,Zahor

Purpose of the module

How to use tableselect with the following:

  • '#multiple' FALSE
  • tableselect with radio buttons
  • How to set #default_value
  • How to put them in a custom block

Tableselect with options

DInstagram

Component type

module

Maintenance status

Development status

Component created

Component changed

DInstagram is intended to be a small Drupal module that implements the Instagram api and a way to access all current endpoints.

Simply Fieldable Files

Component type

module

Maintenance status

Development status

Component created

Component changed

Simply Fieldable Files provides an easy way to add fields to the File entity type.

This module simply:

  • uses hook_entity_info_alter() to make Core's File entity type fieldable.
  • adds a page callback (and a permission) to add fields and manage their display.

To use: