This site is not supported for Internet Explorer 6. It might look funny or even not function properly if you are using this browser.
You upgrade Flash as soon as they get a new version. Why not get an updated browser?
Try Firefox, Chrome or if you love and breath Microsoft than IE7.
As many of you have heard I am leaving my job at The Florida Times-Union and Morris Communications to continue in the Drupal community with Mediacurrent. It was not an easy decision to leave the Times-Union. I started there as an intern in the last semester of college helping Ryan Garfat with Super Bowl coverage and all the sports coverage of the year.
Adding a file upload field to user profile form - Drupal 6
Even though many are using Drupal 7 now I recently had to come up with a way to add a custom file upload field to a user profile form. Though content profile would be the preferred way to do this the client needed to keep using the core profile module. hook_form_alter was the obvious route to go. Here is what I did:
Basically you can base the code off the picture upload in user.module and create a custom module for your form_alter:
I'll be attending Drupalcamp Atlanta on September 29, 2011. Look forward to seeing former co-workers/developers at the event. Anyone at the event can catch me on twitter @kbasarab or on gTalk IM (kbasarab). Looking forward to meeting lots of new developers there. If you are looking for further information about me you can view my resume here as well.
Since I started doing dynamic PHP development I've been using the trusty mysql_* functions that PHP provides. These have worked great for me throughout the years but I've been on a kick to make my programs a bit more secure. I've long since verified data input but it still didn't seem to be good enough.
Photos from the O'Brien family reunion in Manchester, NH. August, 2010.
This is a quick and super easy way to mimic the functionality of a content type in your Drupal install. On the site I'm working on we wanted to replicate functionality for two content types. Now the Drupal way would say to use the same content type and filter them with taxonomy or even a CCK field. In this instance the two content types currently offer the same functionality but there is reason to believe that in the future one will get a lot of changes or even a completely different layout then the other so it was decided to keep them separate.
Many Drupal modules integrate with the Token module and it is used in almost every Drupal install for defining path aliases and even custom breadcrumbs. Its so popular that in the upcoming Drupal 7 release token is integrated into core.
If you're developing your own custom module why not integrate with token and allow your users more flexibility with what they can do with your content? With two simple functions you can easily integrate your module with Token.
In trying to keep the amount of new views created on the site I'm working on I wanted to programmitcally change certain portions of a view to use the same output but different inputs. In background I'm using Drupal 6 with Views 2 API.
Specifically I wanted to change the number of items and node type filter. Though this could be expanded to changing the sort, arguments or fields returned as well.
On the last iteration of kBasarab.com I started working on a recipe system to keep track of various recipes. I had one working that I liked but I wanted to do more with it. With learning and becoming a Drupal developer the new kBasarab.com is based on Drupal. So for a recipe system I logically turned to the Drupal community for a way to organize recipes. Alas I found the recipe module.
Over the 9/11 weekend I took a trip to New York to visit Lisa who is now living in Hoboken, NJ. Got in super late Thursday evening and covered all parts of the city I hadn't done before. Brooklyn Bridge, Chinatown, Little Italy, Upper Westside, etc... Sunday evening we managed to end up right in front of Radio City Music Hall for the 2009 MTV Video Music Awards. Photos from the trip are now over in the galleries so check them out.
View photos from New York City and the MTV Video Music Awards.
Welcome to kBasarab.com - Kevin Basarab's home on the web. Here you will find my blog entries, photo galleries and more. I'd eventually like to add some genealogy on the Basarab name to the site but am looking for the best way to do this. I currently work as a web developer for The Florida Times-Union using Drupal CMS and do wedding videography on weekends. I am also available for contract/freelance work. If you have any ideas or comments please feel free to contact me.