October 2008
Sun Mon Tue Wed Thu Fri Sat
« Sep   Nov »
 1234
567891011
12131415161718
19202122232425
262728293031  

Month October 2008

Back from SF, catching up.


Photo Credit: randomtruth on Flickr – used under CC license

Well, after three weeks, I’m back in Santa Barbara and have returned to UCSB just in time for two back-to-back midterms and a paper due on Thursday. The time in San Francisco was fun, but I’m glad to be home. While there, I registered as a communist, bought a Prius and was forced to marry Clay Aiken – I guess there’s some new law? In all seriousness, I saw more people wearing Barack Obama shirts in five minutes downtown than I have in Santa Barbara in the past twenty months. I’ll add a few photos to Flickr when I have a spare moment and sort out all the things I’m behind on.

Posting should return with some semblance of regularity later on this week.

In San Francisco, VCs – Call Me.

For those wondering about my whereabouts recently, I’ve been in San Francisco and its surrounding areas for the past week. I’ll be here for at least another week and a half for obligations I couldn’t get out of or complete closer to home. Keeping up with school work remotely isn’t too difficult and I, luckily, am keeping up with the reading and notes for my other courses. On the upside, I’m wandering around a city I haven’t been to in many years and am enjoying the cooler weather. It’s an opportunity to be in a place with some history and places to see, although there hasn’t been much time for that just yet. On the plus side, I have only been accosted by two hippies, but I escaped with my political ideologies and virtue intact. I’ve posted a few photos to Flickr and I plan to take a few more at more scenic locations before I head back to Santa Barbara. So, I just wanted to update on why posting has been infrequent as of late and why I might be harder to reach. The Flickr set is embedded below, if you can’t see it, click onto the static set.

Howto: Increase Drupal Title/Event/Node Length

Drupal limits the character length of a node title to 128-characters for a old and antiquated limitations of early versions of MySQL. There is a way to get around this by modifying part of the MySQL tables used for nodes and increasing the value a title can contain to the limit of 255-characters. This is extremely useful if you’re also using the “Events” module and you’re posting lectures and talks with lengthy names. You will also need to hook-into the Drupal installation through a module to alter how long the Drupal core-software will allows a title to be.

Through resources on the Drupal developer site and code posted by user “foxtrotcharlie”, I’ve created a module you can place in /modules that works with Drupal 5 and can be modified to work with Drupal 4 and 6.

To start out, you’ll need to gain access to phpmyadmin or your tool of choice to alter your site’s SQL database. Edit the string length of “title” to 255 characters in DB table “node” and “node_revision” or any value you wish, but might as well go for the biggest you can.

Once you do this, add the module I supply at the bottom of this post which is all set to go for Drupal 5 installations and should survive new updates of Drupal.

Download: Drupal Maxlength Module