Skip to main content

Home/ Groups/ Drupal for Developers
Daniel Gregoire

How many RSS subscribers? | VenturaCottage.com - 2 views

  •  
    Quick snippet for adding number of subscribers to RSS feed by looking at accesslog. See comments for (better) alternatives.
Daniel Gregoire

20 APIs in 20 Days: Remember to Bring Your Tokens | Trellon - 3 views

  •  
    One of a series in 20 api's, Token module.
Daniel Gregoire

Views Slideshow Theming | Drupal Video Podcast - 3 views

  •  
    Video about views_slideshow and theming
Daniel Gregoire

Example Varnish VCL for a Drupal / Pressflow site | Drupal - 1 views

  •  
    Example Varnish configuration, used for optimizing site performance with file and database caching.
Richard Sheppard

Backpack: Debugging Drupal - 4 views

  •  
    This page is linked from the Devel Module's project page http://drupal.org/project/devel . I don't know how long the link has been on the project page, but it looks very handy indeed.
Daniel Gregoire

3 Tips For Using External Libraries With Drupal | Engineered Web - 4 views

  •  
    Good tips for using external libraries with Drupal.
Daniel Gregoire

How to define page callbacks that you don't want to render using page template in Drupa... - 1 views

  • Method 1 : Printing your stuff and exit
  • Method 2 : Printing your stuff and returning NULL
  •  
    Callbacks, and how to get just the output (without template calls, etc.).
Daniel Gregoire

PHP 5.2.10 .debs for Ubuntu 10.4 (Lucid) | The Jibe Multimedia, Inc. - Business Solutions - 0 views

  •  
    Resource for .deb file for PHP 5.2 on Lucid Lynx (Ubuntu 10.04), since we only have deb's for 5.3 by default, which makes Drupal contributed modules unhappy.
Daniel Gregoire

drupal_hash_base64 | Drupal API - 0 views

  •  
    Drupal 7 function for generating url-safe sha-2 hashes.
Daniel Gregoire

The New Way To Generate Hashes In Drupal 7 | Engineered Web - 0 views

  •  
    Explanation of shift away from md5 to sha-2. See links to Drupal 7 api for (really easy) functions for generating url-safe sha-2 hashes.
Daniel Gregoire

Drush Make and PressFlow | Lullabot - 4 views

  •  
    "Drush make" in the spirit of *nix 'make' command, allows developers to create make files that will automatically download project files (Drupal.org and external).
Daniel Gregoire

Create your own API Site in Drupal 6 | drupal.org - 2 views

  •  
    Method for setting up a local/mirror copy of api.drupal.org. Core and contrib explained (though see comments for more details).
Daniel Gregoire

AJAX-ifying Drupal Node Forms | Stella's Website - 8 views

  •  
    Another tutorial on adding AJAX to Drupal 6 forms with FAPI. Based on poll.module like others. This process is not as straightforward as some, which is why it has been improved upon in D7.
Daniel Gregoire

Wrapper ID (form-item) not displayed for Checkboxes / Radio Buttons CCK Fields | drupal... - 1 views

  •   if (!empty($element['#id'])) {    $output .= ' id="'. $element['#id'] .'-wrapper"';  }  else { // if we can't get the #id from $element['#id'] just build it from $element['#name']    $id=explode("[value]", $element['#name']);    $output .= ' id="'. $id[0] .'-wrapper"';  }
  •  
    Small fix for giving radio/checkbox form elements a proper ID on their wrapper. By default in 6.16 and CCK, no proper CSS ID is given to the wrappers of radio buttons and checkboxes, making it impossible to theme the layout of those elements in the form (specifically for me, the node edit forms).
Daniel Gregoire

Multi-step Forms in Drupal 6 using variable functions | pingVision - 1 views

  •  
    Unique method for handling multistep forms in Drupal.
Daniel Gregoire

node_example.module | Drupal API - 0 views

  •  
    Basic creation of programmatic custom content type
Daniel Gregoire

How To Create Users Programmatically In Drupal 6.x - 1 views

  • <?php $newUser = array( 'name' => 'username', 'pass' => 'password', // note: do not md5 the password 'mail' => 'email address', 'status' => 1, 'init' => 'email address' ); user_save(null, $newUser); ?>
  •  
    Create users programmatically. A bit less involved than creating nodes; you just need to populate an array with values, don't need to cast it into an object.
Daniel Gregoire

Batch API | drupal.org - 0 views

  •  
    Another Batch API example, handbook
Daniel Gregoire

Batch operations | Drupal API - 0 views

  •  
    Basic Batch API explanation
‹ Previous 21 - 40 of 456 Next › Last »
Showing 20 items per page