webmaster's blog

Kompozer+Prince+Boom = Book!

People who want a well-reasoned blog should write their own or look elsewhere. Sometimes I stumble across a process or practice that seems to work fairly well yet might not be obvious to the average reader. One such process is producing a book.

CSS - once more with feeling

We all know CSS is a pit. Things which soar in one browser, crash in another. There is a reason for that.

http://www.webdevout.net/browser-support-css provides a neat list of things you probably don't know about CSS and browser developers don't either. I've been in pursuit of a CSS mechanism for printing and one of the things you would want for that purpose is @page. For some reason, "The size of a page box cannot be specified in CSS 2.1.". If anybody discovers the wisdom behind that, please clue me in.

Web Developer 1.1.6

A useful Firefox extension for exploring code generated by a CMS (Content Management System).

Web Developer can be downloaded from http://chrispederick.com/work/web-developer/ and installed by dragging the "xpi" file onto a Firefox window. Once installed, extensions must be enabled, sometimes configured and finally invoked with a restart or two in between. Web Developer is accessed through a Tool bar between the Bookmarks tool bar and "tabs" and the Menu item "Tools".

mod_rewrite

Clean URLs are almost taken for granted. Drupal 6 enables them automatically if certain requirements are met. "Dirty URLs" contain a "?" and used to prevent some "spiders" from "crawling" your site effectively.

FCKeditor - filters - fonts

Woke up this morning to find the home page - http://ls.net/ in a bad way. The cause was apparent, a user had posted an event which contained HTML code that broke the rest of the page.

Following the path of least resistance, I had set the default format to full HTML. PHP should only be enabled for people you can reach with a baseball bat. We have adopted several PHP restrictions to improve security but the power of PHP in malicious or casual hands is a loose cannon.

CiviCRM 2.1 Stable released for Drupal 6

Moving from Drupal 5 to Drupal 6 has been a bit like giving birth to an elephant. Not only has the gestation period been long but the back labor has been particularly painful. There are still loose ends but this announcement of CiviCRM 2.1 clears the way for membership organizations to take a serious look at Drupal 6.

install script for ubuntu and debian

usage: install_drupal user pass domain dbpass pdname

This script will create a user, apache2 configuration, dns configuration and a user file system read to invoke the Drupal install script;

HTML Filters

By default, Drupal's HTML filter strips tags which WYSIWYG editors like FCKeditor produces. To enable Drupal to render content in a manner consistent with the intent of authors using a WYSIWYG you can either make the default Input Format Full HTML or add tags to the filter at admin/settings/filters/1/configure.

cron.php

Some modules require regularly scheduled actions, such as cleaning up log files. Using cron can make these happen automatically.

starbuck@helen:~/public_html$ crontab -l
# m h  dom mon dow   command
15 * * * * /usr/bin/wget -O - -q http://starbuck.net/cron.php

If your Drupal site is hosted at LS.Net and admin/logs/status doesn't show a recent "Cron maintenance tasks",  contact the webmaster and have him set up a crontab like the one above.

Syndicate content