Wednesday, June 24, 2009

Drupal Zen theme

My latest Drupal-based website is going to be based on the Zen theme. What a joy! If only I had discovered it earlier. Really simplifies things and makes the theme come to life quicker. At least for now it is (1st day of serious development work). So if you're clicking around finding a Drupal 5.x theme, might as well try Zen first.

Incidentally, I've stumbled upon the and its 960 grid system which looks fantastic for future work. Loved the way the grid is defined and controlled. Dead simple, works without hassle across browsers.

Oh. And I hope to finally start using reset.css as a standard way of "equalizing" browser behavior. 960 ship their code with reset.css based on (I think) Eric Meyer's original reset (or was it Dave Shea?). Life is great.

Drupal 6 and Panels

As I was starting out work on a new website to be implemented in Drupal, I was finally getting around the idea of using version 6 that everyone seems to be happily using for many months now.

My typical usage of Drupal consists of heavily relying on Panels and Views to pull-off the website's structure. It was somewhat of a shock to discover that Panels 2 is sort of abandoned in favor of Panels 3 for Drupal 6. That would be fine if it wasn't for the fact that Panels 3 is really still in heavy development. After several attempts to try and use it (followed by a patch from the 'dev' branch) I realized that I might end-up having a bit too many issues with Panels 3 to try and deploy it for this project. And since I still can't figure out what do people use if they're not using Panels to pull-off complicated structures I decided to go back to Drupal 5. Sigh. Sadly.

Wednesday, June 17, 2009

Switching to Mac

Very excited with my new MacBook Pro.

However, two steps forward one step back: I have a Rails application that reads MS Excel files via win32ole Ruby library. In Mac OS X that does not work and I now have effectively no way to run the application on my Mac until completely re-coding the part that deals with Excel! What a disaster.

Have found info suggesting the use of OpenOffice which should work on both OS X and Windows but that still is going to require coding time. *sigh*

C# UserControl not displayed in toolbox

Weirdest thing.

If you create a C# (VS2005) UserControl, ineriting UserControl and implement an interface that is defined in the same project in which the user control resides your toolbox will happily show your control. In addition, you can add it to various forms you may have. Everything is as expected.

However, if you attempt to implement an interface defined in a separate project (class library) referenced by the project where the user control resides everything falls apart. Forms that have been showing the user control will not load their designer and the user control tends to disappear from the toolbox.

I have no idea why this is so.