Empower developers with tools that assist with developing and debugging the frontend or backend of the site.

Drupal 7 port of Add To Head

Add To Head allows you to inject content into the $head, $scripts and $styles elements in the page.tpl.php. This is defined in profiles which can target URLS's.

Core Override

This module allows you to override individual functions in core without patching core.

Usage:
mymodule.module

/**
 * Take over taxonomy_get_tree() and drupal_get_form().
 */
function mymodule_core_override_info() {
  return array(
    'taxonomy_get_tree' => array(
      'file' => drupal_get_path('module', 'mymodule') . '/mymodule.overrides.inc',
      'callback' => 'mymodule_taxonomy_get_tree'
    ),
    'drupal_get_form' => array(
      'callback' => 'mymodule_drupal_get_form'
    )
  );
}

/**
 * Hijack drupal_get_form()
 */
function mymodue_drupal_get_form($form_id) {
  error_log("TOOK FORM");
  return call_user_func_array('drupal_core_drupal_get_form', func_get_args());
}

mymodule.overrides.inc

/**
 * Hijack taxonomy_get_tree()
 */
function mymodule_taxonomy_get_tree($vid, $parent = 0, $max_depth = NULL, $load_entities = FALSE) {
  // Do custom stuff here ... for now just use the original taxonomy_get_tree().
  return drupal_core_taxonomy_get_tree($vid, $parent, $max_depth, $load_entities);
}

This module was partially inspired by the technique used in the Leftandright - Nested Set Taxonomy module and by stream_wrapper override ideas of patrickd.

UUID Redirect

This module allows seamless redirection between viewing content on a public-facing website and editing it on a separate, centralized administrative site. It is designed for use with the Deployment and Universally Unique ID modules, as part of a comprehensive content-staging solution.

The simplest functionality it provides is for an administrator browsing the public-facing site ("Viewing Site") and clicking a standard "edit" link on their content to be automatically transported to the correct page on the administrative site ("Editing Site") at which that content is edited.

It has additional flexibility, however; it can be configured to perform similar redirects for any Drupal entity (e.g., taxonomy terms and users, rather than just node content) and for any path associated with that entity (not just the standard /edit path). It also has support for redirecting only certain "bundles" (e.g., node types); for example, if your use case requires Page nodes to be edited on the Editing Site site but not Article nodes, you can configure the module to only redirect edit links for Page nodes but leave the Article nodes alone.

Add FullAJAX

Module connect FullAJAX library to Drupal that allow use AJAX/AHAH technology on the Drupal sites without advanced knowledges.

Fullajax = AJAX (Asynchronous JavaScript and XML) + AHAH (Asynchronous HTML and HTTP).

Installation

  1. install libraries module
  2. download FullAJAX library and put it in to /sites/all/libraries/fullajax/fullajax.js
  3. install and enable Add FullAJAX module
  4. go to module configuration and enter there the right CSS content id from you real template, and set position where displayed the main content, it important for right content rendering
  5. now go to front page and check, now you have the full AJAX'd site ;)

Note for the default drupal template "bartik": Enable "Aggregate and compress CSS files" or use the option "seal:true" in FullAJAX configuration (just find FLAX.Filter.add({url:'/', id:addFullAjaxId}); and change to FLAX.Filter.add({url:'/', id:addFullAjaxId, seal: true}); ). It need for fix the css conflicts that can happen in this template after request

How it works

Twitter Follow Block

Twitter Follow Block

Twitter Follow Block is a simple but powerful jQuery drupal module to add a Facebook like-box style block for Twitter. There are plenty of options available to customize the Twitter follow block to match your site design.

A jQuery plugin to add Facebook like-box style block for Twitter

Configuration

  • Twitter Username
  • Height - the height of the Twitter Follow block in pixel.
  • Theme - there are two options.
    1. Light - displays the Twitter Follow block with Transparent background, Light color text and border
    2. Dark - displays the Twitter Follow block with Black background, Dark color text and border


Like this? Have a look at our Other Modules.


Corporate Contributors

Help and Support Us

Easy Module

The main advantage of Easy Module is that you get all the hooks' information directly from the pages Drupal provides for the API documentation, as well as this module allows you to expose the generator module as an open service. Easy Module internally uses a Web crawler to scan the hooks' API of Drupal 6/7 in order to keep them updated at all times.

Easy Module

provides a block with the module generation form ready to be embedded on any page you want. The process for generating a module is fairly simple, just specify the basic data of the module to be generated (name, description, dependencies, version of Drupal, and the hooks to implement), you can further specify whether you want to include a sample code for each implemented hook; Easy Module will use this information to generate a compressed package (. zip) of our module's files (.info, .README, .install and .module).

Pages

Subscribe with RSS Subscribe to RSS - Developer tools