Bug Reporting / Issue Tracking
Mike Milano — June 2, 2010 - 9:38pm
Here's an article I wrote over at Code Newbie about bug/issue tracking. It's nothing revolutionary but you might be able to relate to the bug report examples.
http://codenewbie.com/articles/all/bug-reporting-issue-tracking
Code Newbie vBulletin 4 / Drupal 6 Integration Project
Mike Milano — June 2, 2010 - 7:58am
This past week I've been porting a custom article system I wrote for Code Newbie to Drupal. The forums remain in vBulletin and that is the master user system.
The tricky part here is that the Code Newbie user base is in vBulletin. Surprisingly enough it wasn't that difficult utilize Drupal's user_external_login_register(). function.
Drupal 6 to 7, a first glimpse
Mike Milano — May 9, 2010 - 11:05pm
Today I finally started porting a module over to Drupal 7. I didn't read up in depth on the changes and just dove in and started learning based on the PHP errors and features that were not working.
I'm not going to go into anything too in depth here as there is good information out there already, but I took some notes and will point out some changes I had to make with the module I was working on.
Admin settings path
Spokeo a Spam Source?
Mike Milano — May 5, 2010 - 6:30pm
About a week ago my sister sent an email out to her family and friends because she was surprised to see her name and former address listed on www.spokeo.com. She advised everyone to de-list their info.
I searched for my name and found normal info that would be public record. I wasn't too alarmed by this and didn't proceed to attempt to de-list my information.
Today however, I was wondering what it took to de-list your name. More specifically, I was wondering if they request email addresses.
Backup the old database before you create a new one
Mike Milano — March 12, 2010 - 7:13pm
Maybe this is more a 'note to self' than anything else. No matter how much you think you won't need a database when you drop it, just make a backup before you do anyway.
Today for example, there is a server which has 2 environments on it: dev.example.com and staging.example.com. The client said they had pending changes on staging. We knew the client was only working on one environment.
So I thought it was safe to copy the staging environment over to dev, and I did!
Firefox SQLite Manager Addon
Mike Milano — February 23, 2010 - 1:44am
I was looking around for a decent SQLite database manager and came across an addon that works just great!
SQLite Manager by Tarakant Tripathy and Mrinal Kant
https://addons.mozilla.org/en-US/firefox/addon/5817
It supports the SQLite3 format which gives you more robust support from more data types to views and triggers.
Adding IDs to all Fieldsets
Mike Milano — February 5, 2010 - 11:42am
A themer on a project I was recently working on needed a lot of CSS IDs added to fieldsets throughout the site.
Fortunately, there's a theme_fieldset() function in includes/forms.inc
I was able to copy that function into the phptemplate.php file, obviously change theme_ to phptempalte_ in the function name, and then add logic that adds an ID based on the fieldset name if an id does not already exist.
Here's the code:
/** * Format a group of form items. * * @param $element * An associative array containing the properties of the element.
A Note from a Concerned Google Chrome Fan
Mike Milano — December 14, 2009 - 10:57am
5 days after the beta release of the Google Chrome web browser for Mac & Linux, the (anonymous) Chrome user contacted me about this site:
"Would be nice if your website worked reliably in other browsers than just IE, Firefox for example it's buggy on 1st load and Chrome it's ... buggered."
Q-Views
Mike Milano — November 11, 2009 - 10:58pm
Q-Views is a module I came across while browsing through new modules on drupalmodules.com.
It's been a while since I've been so impressed with a module. This allows you to create views based of SQL. You allow it to analyze your SQL and it will populate a list of options for each field your query returns.
You can write module hooks to handle the query output on a per-field basis, or you can write the handler directly in the configuration.
Carl Sagan Day
Mike Milano — November 10, 2009 - 12:55am
"If you wish to make an apple pie from scratch ...
... you must first invent the universe"
I don't often move off the subject of code on this site, but Carl Sagan has always been an inspiration on numerous levels.
November 7th, 2009, which is the 75th anniversary of his birth, has been declared the 1st annual Carl Sagan Day.
... And here's a nice remix tribute via Youtube to the man.
