Tag: web development

Media Code Sprint (Top 3 Goals)

Add CommentSource24Thursday, July 24, 2008By adminThe Media Code Sprint is underway! Here’s a cross-post from my blog detailing the goals of this sprint, which runs through Saturday. We need your help! Andrew Morton (drewish), Darrel O’Pry (dopry, remotely), and I are heading up a Media Code Sprint in Portland this week! Come help, in person

Read More
Drupal 6.3 Released

Add CommentSource14Monday, July 14, 2008By adminDrupal 6.3 was released on 9 July 2008. Among other things, this release fixes the core issue that was affecting the Views 2.0 module. Read more about this release at Drupal 6.3 and 5.8 released, fixing security issues

Read More
Is that site running Drupal?

These range from super easy stuff like checking for CHANGELOG.txt to checking the source for a reference to “drupal.css” (Drupal 4.7) to checking for common paths like taxonomy/term/1, and /user, (which might be aliased to something else with something like Pathauto/Path Redirect module), and so on. However, since Drupal 4.6, there’s a super geeky trick

Read More
Stupid Simple Web Scraping with SimpleXML

Add CommentSourceTutorialsBookmark/Search this post with:Delicious DeliciousDigg DiggStumbleUpon StumbleUponFacebook FacebookGoogle GoogleYahoo YahooTechnorati Technorati20Wednesday, February 20, 2008By adminThe other day, I was tasked with building a data scraper. Having never built such a contraption, I naturally turned to the Internets for preexisting code. I was horrified with what I found. The “free” PHP scripts (that’s “free” as

Read More
Enabling New Modules Via Update.php

Add CommentSourceTutorialsBookmark/Search this post with:Delicious DeliciousDigg DiggStumbleUpon StumbleUponFacebook FacebookGoogle GoogleYahoo YahooTechnorati Technorati16Wednesday, January 16, 2008By adminUPDATE: There’s a better way. I work with 3 other developers, all of whom have their own local sandbox of our site. Since we’re constantly adding new modules, I found a simple way to enable a new module via another

Read More
Enabling/Installing New Modules via Update.php: The Complete Solution

Add CommentSourceTutorialsBookmark/Search this post with:Delicious DeliciousDigg DiggStumbleUpon StumbleUponFacebook FacebookGoogle GoogleYahoo YahooTechnorati Technorati18Friday, January 18, 2008By adminIn our last episode of enabling new modules via update.php, Steve McKenzie pointed me to a better method: module_enable(). A quick test found, however, that it didn’t run the install files, and didn’t rebuild the module files cache. So after

Read More
Let Template.php Eat Static

Add CommentSourceBookmark/Search this post with:Delicious DeliciousDigg DiggStumbleUpon StumbleUponFacebook FacebookGoogle GoogleYahoo YahooTechnorati Technorati14Saturday, April 14, 2007By adminMy arch-nemisis is overly complex logic in template.php and page.tpl.php files. It seems to me that when a drupal codebase becomes brittle and unmaintainable, the culprit is usually going to be hundreds of conditional lines of php code in a

Read More