Drupal Planet

Drupagram module for Drupal Instagram views

Instagram in an fun and widely used service with its own API. So get on board with the Drupagram module to fetch and authenticate w/ Instagram including views integration. There are plans to add image caching support to store local versions of the Instagram images thus exposing them as files for image styles etc..

Simple to set up this great module, go for it….

Our new Drupal 7 site: this one for fun.

The New BBros.us site fresh for 2012, funner than ever.


• We committed to Drupal as our development platform at Drupal 4.7.

• We had built BBros.us in 4, 5, 6 and now 7.

• Here is my reflection on our new site. Caution adult content. ;) >>

Drupal Cumulus module for 3D Tagadelic clouds

The easy to use Drupal Cumulus module allows you to display your site's tags using Flash that rotates them in 3D. It works like a Tagadelic cloud, but is more visually exciting. The Cumulus module is easy to use, after installing you create and configure Cumulus Blocks

Drupal 7 Form in a Block or Node w/ PHP

A simple Drupal 7 Form in a Block example.

  • w/ basic form function
  • w/ validation and submission functions
  • errors return to the block area itself as well
  • note: Drupal 7 Form API ref
  • to remove error message from appearing w/in the element; remove the 2nd line w/ $temperrors and the following IF statement that uses it.

Alright Boys! Paste this PHP code into your block to get started:

Updated CrownedUp.com from Drupal 6 to Drupal 7

I upgraded CrownedUp.com from Drupal 6 to Drupal 7. Many of the modules we like to use have ripened in D7 so its time to start thinking about upgrading sites. This CrownedUp.com blog is ultra simple so I thought a good place to test pre client. I did realize that I actually had about a dozen extra modules enabled to start. It was a little bumpy on upgrade but worked fairly painlessly.

• To start w/ use the Upgrade process @ Drupal.org
• Read my short notes >>

Import Wordpress Blog into Drupal with Users from Comments

I need to import an entire Wordpress blog to a new Drupal install. I want the posts, pages, authors, taxonomy, comments, and the users who made comments. The last one being the hang up, we didn't want to lose any users from the community during this migration.

In the end I used Wordpress Import module, the User Import module, a little manual parsing and some simple SQL and now have 300 new users linked to their original comments. But I took the long road to this solution, read on and I will relate my journey.

UserProtect and RoleAssign: Get real! User access permissions weigh a ton!

Client management of users and roles via UserProtect and RoleAssign modules.

Yes we love the Drupal user registration and login system. But what if you want to allow a client role to manage their own users and roles with out endangering your admin user accounts, the client admin user accounts themselves and protect these administrative roles.

The short story is by using UserProtect and RoleAssign. Use the UserProtect module to protect user and roles as well as provide administrator overrides to specific users. Use RoleAssign to allow permissions to assign only specific roles to users. The tragic caveat is that a client user will need 'administer users permissions' to edit users and this exposes the 'User settings page' which may be to much power for a client to wield.

Read more if your are interested in my quick and dirty notes on UserProtect and RoleAssign in Drupal 6.x. -->

Using the CSS Injector module to Theme Drupal 6

The CSS Injector module allows Users with the proper privileges to insert CSS into a Drupal page (ie: a designer). It's useful for adding CSS tweaks without modifying the site's theme directly. This module is NOT a replacement for full-fledged theming.

Theme Drupal via Zen theme & CSS Injector w/ image support via IMCE

We want to be able to, at least during development, allow an artist/designer/user to develop the theme CSS for a site as well as upload images for use with the CSS. Via a Zen sub theme with the CSS Injector and IMCE module we allow a designer or other user to theme a Drupal site without having other upload capabilities outside of Drupal. When the theming is done we wrap both the CSS from CSS injector and the images uploaded via IMCE into a final Zen sub theme.

How-to create a simple Drupal XML node type

You want to use Flash or other dynamic elements in your Drupal site, you want these elements to reference dynamic XML (or minimally XML you can quickly change). You want a simple solution not overkill. You can code PHP and provide any of the data from your site but need to display an XML file.

Following are quick and dirty instructions to provide XML directly or generated by PHP in the body of a node. We do this by creating a new Content Type for XML, simplifying the templates, using PHP to create XML content and then the Path module to display the .xml extension to the node.


Subscribe to Drupal Planet