Archive for 2009

Adding Facebook Share to Drupal

Saturday, November 7th, 2009

Adding facebook share to drupal

I’ve seen a few people on drupal.org how to implement Facebook Share and asking for modules, etc. However with the share widget provided by Facebook it’s really very easy to implement FB Share at the template level. To make it really easy, use CCK.
(more…)

Drupal Theme Notes

Wednesday, October 14th, 2009

liver

Recently I was asked to summarize the parts of a drupal theme. I came up with the following semi-literate guide to my own theme framework, sp0xx6 for Drupal 6. This is not a very technical guide but I think it’s none the less important to document my perspective, especially for newcomers to drupal who are having a hard time with the way information is presented on drupal.org.

Please note: The text below makes reference to a set of theme files for Drupal themes. That theme is sp0xx6. You can download sp0xx6 from google code. For free. To keep. Forever. Drupal rocks! Thanks to everyone on drupal.org that makes my life easier and more interesting.

.info

The .info file registers your theme with drupal along with your theme’s regions (area’s content appears in) your CSS and javascript.

template.php

Your template file allows you to customize practically everything in your theme. You can rewrite the appearance of forms, lists, links, taxonomies and add all sorts of functionality.

(more…)

whodunnit.v3

Friday, September 11th, 2009

pl00 v2

Wednesday, June 17th, 2009

pl00 is my wordpress theme. You’re looking at it. And pl00 v2 is the latest version of this theme.

pl00 is a minimal theme that is easy to customize

pl00 is a minimal theme that is easy to customize

Why did I create pl00? Because I was sick of digging through lots of code to make little changes to the stock themes provided with wordpress. pl00 uses a tiny bit of css, most of which is from my lightweight stylesheet template called ‘lifto’. I can’t take all of the credit for pl00 though – the tabs are straight from the grandmaster himself, Doug Bowman.

keywords:
fixed width, three columns, valid CSS, valid XHTML, white, simple, widgets, widget ready, 3columns, right sidebars, SEO friendly, gravatars, hover effects, text-only (well, mostly text-only).

Here are some extra vanity shots of pl00 on flickr. Sexy!

Download pl00.zip from wordpress.org.

Drupal AJAX Plugins

Sunday, June 14th, 2009

Lately I’ve been trying to understand how AJAX is changing the experience that Drupal users will be having in the near future. This is particularly important as a Drupalista given the redesign currently under way. Here are some great looking modules that should be ready a bit sooner than the redesign. Warning: these modules might not be ready for primetime yet.

(more…)

Things that have impressed me lately — 06 10 2009

Wednesday, June 10th, 2009

Drupal forms are awesome, until they suck and then there’s always
http://www.lullabot.com/articles/modifying-forms-5-and-6

The sugary sweetness of the media temple knowledge base
http://kb.mediatemple.net/

Simon Schama’s A History of Britain documentary series
http://en.wikipedia.org/wiki/Simon_Schama%27s_A_History_of_Britain

A site that catalog’s all of the very best SMS messages that people send
(864): sometimes i wish i was able to text my cat and tell him i miss him and that i’m thinking about him
http://www.textsfromlastnight.com/ (Warning: NSFW) via @creativestable

Calgary 09

Saturday, May 16th, 2009

This past Tuesday Love&Olson played at Cantos in Calgary with Steve Gibson and Adam Tindale. This was the 9th Exploding, Plastic & Inevitable and that makes our upcoming show at Computational Aesthetics EPI’s 10th show. For the performance we used video and audio samples from the Cantos synth collection and we rocked out pretty hard. Hopefully we’ll get our hands on some of the video documentation that was shot. Love&Olson will also be playing next weekend with Jackson 2bears at the Vancouver Island School of Art in Victoria on the night of the Art Crawl and the closing for Assume Nothing. Don’t be fooled, just because we’re not listed on the AGGV page doesn’t mean it ain’t so.

But Cantos was just the start of the week — we went on to open Grand Theft Bicycle at the Stride Gallery on Friday night. I have some shots of the opening up on flickr, but they’re not the best quality. Hopefully some one will share their pictures on facebook or something. GTB will be showing at Stride until June 20th so if you live in Calgary get your ass off the couch and go try it out.

Upcoming Shows

May 22, 2009 – Art Crawl at VISA with Jackson 2bears
May 30, 2009 – Exploding, Plastic & Inevitable at Computational Aesthetics (the ‘Large Room’ at theĀ  Delta Victoria Ocean Pointe hotel in Victoria)

Stride Gallery
http://www.stride.ab.ca

Cantos Foundation
http://www.cantos.ca

to the batcave [video]

Monday, April 27th, 2009

linitski clip [video]

Wednesday, April 22nd, 2009

the s3cr3t drupal formula

Sunday, March 8th, 2009

A Quick Start Guide for a Standard CMS Using Drupal 5

These are the basic steps I go through each time I make a Drupal site. They are not a secret. The very fact you’re reading it means it could not possibly be a secret. Nice try, though.

A Drupal site can be made in many different ways, the steps below will lay the ground work for a site that is user friendly and behaves itself. This guide is not intended for hardcore development geeks or first time users – it’s just a blueprint for creating a safe and solid CMS with Drupal.

I’ll be expanding this post and also creating another page for Drupal 6 sometime soon. Keep your pants on. Thanks to Amy Steen for her input on this guide!

PS. There are lots of ways to make a site with Drupal and if you think you have a way I’d love to hear about it.

s3cr3t formula

  • Download and install the latest version of Drupal 5
    • Make sure to set the database collation to UTF8_General_ci
  • Create some sub directories in sites/all directory (sites/all/modules and sites/all/themes)
  • Register your admin account, pick a secure password
  • Change user registration settings to “Only site administrators can create new user accounts” (user management > user settings)
  • Create writeable files directory (follow alert box) – this directory will hold the files you’ll upload
  • Run cron for the first time (follow alert box)
  • Configure “clean-urls”, you might need to edit .htaccess (site config > clean urls)
  • Install some base modules into sites/all/modules directory:
  • administration menu – installs a helpful menubar at the top of the page
  • backup & migrate – an insurance policy in case of a site meltdown
  • poormanscron – cron’s important for a lot of things but indexing your site so that it can be searched is the most obvious
  • token – you don’t need to know, but it’s neccessary for a lot of things to function properly
  • image – allows the uploading and management of images
  • lightbox2 – images can be overlayed on the current page
  • FCKeditor (must be configured) - is a great text editor
  • IMCE – makes managing file uploads easier
  • mollom – spam blocker
  • pathauto – useful if you want to organize your URL’s by year, title, etc
  • Enable extra core modules like uploads, path alias, etc.
  • Change default input to full html (site config > input formats) Note: if you’re intending your site to have many users you’ll want to leave the default input format as is
  • Create “default” role (user management > roles)
  • Configure “default” role for fck-editor

And that’s it, at least for now. There’s lots left to do on your way to making a fully functional site, but hopefully this will give you a headstart. I’ll be updating this guide as often as is necessary, please let me know if you’ve got suggestions.