Web Development Blog
How to programmatically create Views in Drupal 6
01.14.2010 10:08PM by Evan Johnson
CMS, Web Development
So, this stumped me for a while. I needed my small custom Drupal module to select a bunch of nodes based on a CCK Date field and the Publish status. It is a pain to query the CCK tables directly, so every forum post I could find told me to do this via Views. That’s all well and good, but the instructions for doing this all involved creating...
Comment [2]
Unobtrusive jCarousel page/tab external controls with jQuery
01.14.2010 10:49AM by Evan Johnson
JavaScript, Web Development
I am using the very slick and enjoyable jCarousel plugin for jQuery on a new project to display featured content on the front page. I wanted to use the external controls to allow users to easily jump between slides. However, all the examples I found required hard-coding the control links into the document HTML. This is not best practice because when JavaScript is disabled and the...
Adding the "rel" and "title" attributes to image links in CKEditor 3
01.08.2010 12:37PM by Evan Johnson
Web Development, JavaScript
CKEditor is the new and improved successor to the venerable FCKeditor JavaScript WYSIWYG editor. I've used TinyMCE and FCKeditor before, but this was my first time trying out the new CKEditor 3.1. I am using it on a new Drupal website via the Drupal CKEditor module. The problem I ran into, however, is using Lightbox2 on images inserted via CKEditor. CK does not provide a...
Comment [16]
Configuring and compiling Nginx and PHP-FPM on Ubuntu for Magento, Part 3
01.03.2010 06:47PM by Evan Johnson
Web Development, e-Commerce
This is the 3rd and final article about installing Magento on Nginx with PHP-FPM. Part 1 is here, and Part 2 is here.
This part explains how I set up my public web directories, and how I did the Nginx configuration files for a Magento site. One of the tricky things about switching to Nginx from Apache is that Nginx does not use .htaccess files or the usual Apache...
Web Design Blog
