Clear Drupal caches with PHP

• Clear the Drupal 6 & 7 caches with PHP via a small form.
• Drop the following Drupal 6 or 7 PHP in a node or block w/ proper permissions.
• Use at your own risk.

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

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 >>

Format Drupal WYSIWYG editor to match theme CSS, including paragraph spacing.

I need the format of the WYSIWYG, w/ CKeditor pane, to match the display when viewing a node. Specifically I need this for clients so that they understand what they are actually formatting. You know What You See Is What You Get. Often you have a semi nice WYSIWYG editor but this does not perfectly match the display of the node.

First this means I want to hide all the extra formatting that can be added by Cut & Paste into the editor. A simple Cut & Paste will add all sorts of style elements. Second I need to remove the extra padding at the bottom of paragraphs, so that a single line break is a single line break.

following are my quick notes:

Modify Ubercart invoice template and sort by SKU

I needed to modify the Ubercart invoice template. This invoice template appears to the user online and in email and is also used by the store admin to review/print/email/etc. invoices.
I needed to do some light modifications like; modify "Products on order:" to list products one per line as well as sort products by model (a SKU in my case).

  1. Changing the general template is easy, info about the templates files can be found here:

come into my Webform, using the Drupal Webform module

Following are my quickie notes about the must use Webform module. Whether your needs are a simple Email signup, contact form or for more complex submissions Webform is likely where you will start.
The Drupal Webform module adds a webform node type to your Drupal site. Webforms can be used as newsletter signups, questionnaires, contact/signup/request forms, surveys, polls or a front end to an issue tracking system.

CrownedUp is wearing the Drupal Wabi theme

CrownedUp has been sitting to long in its birthday suit and I have yet to find the time to do some of that C.Z.I. magic I like to brag about. So I was shopping for something clean, simple and configurable for a quick facelift. The Drupal Wabi theme has some great features: colorable theme, 2 column and 3 column layout, liquid and fixed. So I thought what the heck. CrownedUp is now wearing the Drupal Wabi theme.

Drupal Wabi theme: http://drupal.org/project/wabi
• enable: Home » Administer » Site building » Themes

Import flat sites with Drupal Import HTML module

Import HTML module
Module looks like very useful option for importing flat HTML sites into a drupal install, I tested it out. Some features include: maintain URLs, re-create menu structure, validate & improve markup, import Metadata and will operate over thousands of pages.
• Import HTML module project page
- √ the help: very good documentation

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.


Subscribe to Drupal