This site generally serves as a web-log for the technical side of my life. It is here I post links, best-practices articles, and the like.
If you have any questions for me, please ask. cheers!
Ok. So I just finished rewriting my Drupal Script Library for the second time.
The first time was the rewrite to use a Git based install rather than using CVS.
This time, I got rid of the SCM checkout meme altogether and switched over to using 'drush dl' to deploy new modules.
There are some things I miss about not using CVS/Git/whatever to retrieve code. Lost is the (easy) ability to see what has changed in a code base. Lost is the near-trivial means of updating. (Well, it was trivial w/ CVS -- with Git, less so.) One thing I won't miss will be the HUGE amounts of needless Git metadata that became part of the installations. (Useless from a site deployer standpoint, anyway.) This will certainly speed backups.
You may ask why I have a script to do drupal/module updates at all if I'm just wrapping 'drush dl'. I find my scripts easier to use, generally. They also do a fair amount of pre-validation before performing operations. This validation has saved me more than a few times. Additionally, they leverage my preferred drupal site structure and are available from anywhere on the path (i.e. I don't have to use a cwd inside a site deployment to operate on the site.) YMMV, of course.
I'm always having to look this up on drupal.org, so I thought I'd just put it here once and for all.
(FWIW, you can read about it here: http://drupal.org/node/764100 among other places.)
To enable the firefox spell check when using the fckeditor module, add these lines to the file
FCKConfig.FirefoxSpellChecker = true ;
FCKConfig.BrowserContextMenu = true ;
I always add it to the very bottom of the file so as not to confuse the update process as this is a diff to a file under git control.
For the ckeditor module, it's much the same. Add these lines to the file
config.disableNativeSpellChecker = false;
config.browserContextMenuOnCtrl = true;
This post describes the work I have done to create "template sites". Template sites are Drupal installations created and maintained with initial setup done to speed the creation of a new site. The template sites can be duplicated onto a new domain and database loaded with a single simple script.
The conversion of the Drupal project to Git took me somewhat by surprise. I have recently found some time to upgrade my Drupal script library. Before the upgrade, this library used CVS to install Drupal and contributed modules and to query the status of installed components. Now that CVS usage is no longer supported, I had to modify the relevant scripts to check-out and update Drupal core and contributed modules via Git instead.
I am a Java developer and use Eclipse most every day. However, as you can see on this blog, I do a fair amount of Drupal work and have dabbled in writing Drupal modules.
A few releases of Eclipse ago, I spent quite a bit of time installing the eclipse PDT project on top of my eclipse for Java installation. I remember it taking quite a bit of time to sort things out.
The other day I sat down to write a Java program to solve a Triazzle puzzle (ask me if you want it) and noticed that the version of eclipse installed on my personal machine was rather dated. So, I downloaded and installed the lasted version of the Helios release.
I figured I might as well install the PDT on top of it and looked thru my notes on how I did it before. Well, it turns out that this is a very well supported operation now.
For the simple directions, see the PDT page on the eclipse wiki:
So today I finally got around to installing VirtualBox on my lappy. I had been using VMWare for many years. I had bought a license several years ago, upgraded a couple times, and had used VMWare Player after it was made free (as in beer). Often, however, I found myself having to patch the source for the kernel modules to get them to compile on my Fedora install.
I had often heard good things about VirtualBox so I thought I'd give it a shot.
First I had to decide between the two editions -- the free (for personal use / evaluation), but closed source standard edition and the open source edition (OSE). I decided to install the non-open-source edition as I have need of some USB devices.
The rpmfusion rpm repository provides yum access to the OSE version of VirtualBox; but to install the standard version via yum, one must install the virtualbox.repo available straight from
Sun Oracle. I followed the instructions on this page
...and it worked fine.
This is a mini-tutorial on how to attach an image. If I sent you to read this and you still have questions, just let me know!
To upload an image:
This process will create various-sized thumbnails you can reference. Those thumbnails will have prefixes added to the file name to differentiate them.
I'm writing this page mainly as a way to not have to type it all in any more. I do/have-done a fair number of free websites for various groups and causes. I've done some paid sites as well. Often I find myself walking someone thru what a theme is and how I can bust them out a simple site quick if they choose to use a free theme. The rest of this page is that discussion.
This page discusses a Drupal website, specifically the visual design (or template) of the site. This is known as the "theme" in Drupal speak.
Drupal is a "Content Management System" -- a system that allows people to modify the website by using the website. Generally, a user will log in and then add and update pages, and update the operation of the site. Drupal makes this fairly easy. Drupal has a modular design which is used by many community contributions that have been created for the Drupal system. These contributions provide with enormous power to make a high-functioning website.
A Drupal website be broken down into three things:
The introduction for the event was: