drupal

Drush make file for subthemes | drupal.org

February 6, 2012 - 12:16am

My first foray with scss/compass and I'm checking out the Sasson contributed theme, which has built-in support.

Super cool, check this out (this will download Sasson, create a sub-theme and enable it):

drush dl sasson
drush cc all
drush sns "My theme"
drush en mytheme
drush vset theme_default mytheme

You can have full control on the theme name and machine name with:

drush sns "Full Name" machine_name

Environment Indicator | drupal.org

February 5, 2012 - 3:36pm

Took me a while to hunt this one down. I'd seen it months ago, and am finally getting around to using it. Somehow all of the search terms I used weren't doing the trick. Finally found it through the D.O modules page using:

  • Category: Developer
  • Compatibility: 7.x
  • Status: Full projects
  • Search: dev stage
  • Sort by: Most installed

The Environment Indicator adds a coloured strip to the side of the site informing you which environment you're currently in (Development, Staging, Production etc).

Misery | drupal.org

December 17, 2011 - 2:28pm

Punishment delivery module:

Misery is a module designed to make life difficult for certain users.

It can be used:

  • As an alternative to banning or deleting users from a community.
  • As a means by which to punish members of your website.
  • To delight in the suffering of others.

From: Misery | drupal.org

Protecting your Drupal module against Cross Site Request Forgeries (CSRF) | Drupal Scout

December 17, 2011 - 12:27pm

The solution to this problem is a secret value associated with the action that is not easy to calculate called a token. When the form or link to take an action like deleting the account is sent to the browser the site sends along a string that includes something unique and only known by the site and the user. When the request is submitted the site validates that the token is still present and is appropriate for the action being taken. If it doesn't validate, the action is denied.

Commerce Module Tuesday: Commerce File (Screencast) | Commerce Guys

December 14, 2011 - 12:29pm

Commerce File is an outstanding and mature module that allows you to sell downloads. It uses Drupal 7's private file system and provides a field that can be added to a product for the downloadable item. If you're interested in Commerce File, you may also be interested in the Commerce Downloads distribution, which comes with Commerce File completely preconfigured for use.

Randy Fay (December, 2011): Commerce Module Tuesday: Commerce File (Screencast) | Commerce Guys

Pages

Subscribe to drupal