Drupal

EA using Drupal on Battlefield-Heroes.com

I was just having a look around the Battlefield Heroes website and noticed a familiar footprint in some of the elements that give away almost all Drupal sites. It’s great to see EA using Drupal for one of their official game sites.

They have linked the Drupal user module into the main EA account system, but after creating an account it returns you to the familiar /user/<uid> page.

Drupal's update.php script redirecting to homepage and not updating

While upgrading a couple of different Drupal (5.x) sites, I ran into an annoying issue where the update.php script just redirected to the sites homepage after the "Select Version" page. The server in question has PHP's mod_security enabled which has caused some problems with other sites in the past, so I think it's related to that, but I'm not totally sure.

Any way, the fix is to add the following line of code to your update.php script before line 794

How to track Drupal comments as goals in Google Analytics

I was inspired by this episode of SEOMoz's whiteboard friday where Rand talks about tracking non-traditional conversions (like when someone posts a comment on your blog) so I decided to check out how easy this was to do in Drupal.

Salesforce.com for Google Apps

Google has just announced Salesforce.com for Google Apps. This is something that I'm really excited about because we use Salesforce.com as our CRM system and we also work with several large enterprise clients to integrate their web marketing with their Salesforce.com CRM system.

Using the TinyMCE template plugin in Drupal

On my RC news blog there are quite a few elements that are used on a regular basis in news posts (eg specifications tables, etc). It's a major pain in the ass recreating these elements again and again, and now that I've got a few other writers on board, it's getting hard to keep everything consistent.

How to setup FeedBurner Stats on Drupal

FeedBurnerI just setup FeedBurner Stats tracking code on this blog and had a few problems with the Drupal code that FeedBurner supplies. The main problem is that it doesn't get the proper page URL when put into a block.

Putting javascript tracking codes in blocks has a number of benefits, the main ones being that you can use the block visibility settings to show it only for specific user roles (eg - not site administrators).

The code that Feedburner provide is:

How to track Webform module submissions as goals in Google Analytics

I use the webform module on almost all of the Drupal sites that I develop. It may not be the most elegant solution (although you can make it look almost any way you want with a bit of theming), it makes creating contact forms dead simple.

Pathauto module not bulk generating new aliases

I was in the process of building a new site today and wanted to rebuild all my URL aliases to use a better format (the site is not yet live, so I didn't have to worry about the search engine impacts of it). I deleted all the current aliases in the system (Site Building > URL aliases > Delete aliases) and told Pathauto to rebuild them (goto pathauto configuration screen and check the "Bulk generate aliases for [nodes/categories/users] that are not aliased" checkboxes) but I was told by Pathauto that no aliases had been generated.

Robot Replay Module for Drupal

I just created a small Drupal module to make it easier to add the Robot Replay javascript tracking file into the pages of my Drupal sites.

Syndicate content
Drupal Association: Individual Member Google Qualified Individual