Drupal

Installation and Setup for Node Reference View

The Node Reference module defines a field type for use by the Content Creation Kit (CCK) to reference one node from another. It works very good and allows you to add a greater amount of complexity to your site. The only problem with the Node Reference module is that the default display options for the referenced node field are very limited. But thanks to the Node Reference Views module, you can use all the formatting power of the Views module to display your referenced node field.

Installing and Configuring Tagadelic in Drupal 6

Having built two fairly robust and strongly interlinked taxonomies to aid in categorization, SEO and navigability of my site, I decided I wanted one of those (old school) tag clouds to display my lexicon. After waiting for the enormous drupal modules page to load, I decided the best route to follow would be to use Tagadelic, though it appears that I may have to use helper modules to get the fully customizable effect I am looking for.

According to the module description found on the module page of your site: Tagadelic makes weighted tag clouds from your taxonomy terms.

Formatting Timestamps in Drupal

Most data dealing with times and dates is stored as a as a standard Unix timestamp in Drupal. Examples of this are the node creation and revision dates, or the user creation, login, and access dates. If you access this data directly from the database you will retrieve this highly illegible timestamp. Good thing that Drupal provides a function for formatting dates: format_date().

Adding Links in Drupal with the l() Function

In Drupal you should know that you never want to hardcode a local URL into your nodes or blocks. Firstly as your site expands the node may show from places you do not currently imagine thus breaking your paths. Secondly if you try to bypass this by using a full/direct URL, you are going to be up shit creek without a paddle when you migrate the URL. The link l() function should be used for adding links so that manipulations, like localization and URL determinations, can happen on the output.

I can't Tab in Safari or Control+Option+Tab

As a Drupal developer and Mac fanatic, I find myself frequently entering scripts into textareas in Safari. I also like my code to be well formatted with the proper amount of tabs for indents. If you found this post than you probably are also frustrated with the fact that the tab key is reserved for switching focus between onscreen widgets. Two or Four spaces is a common alternative to the tab for scripting, but once I start counting to 12 while pushing the space bar, I get a little antsy. So today I put on the hardhat and did a little experimenting on how to create a tab in Safari.

Czech Flash Cards Bonus

I had a little time to spend in my Drupal workshop this evening and I cooked you all up another view on the ever popular Czech flash cards. Additionally I have incorporated another batch of cards bringing the total count above the 200 mark.

Flash Cards for Learning Czech

I am in the process of learning the Czech language. To help myself along, I decided to make some flash cards to drill myself with. Being the geek that I am, I decided that I should create the cards digitally. Now I want to share my results with the rest of the Czech-learning world.

Adding GD Support to PHP in Mac OS 10.5.5

So you just got a sweet new MacBook Pro, turned on your web server, uncommented the PHP include, got mySQL up and running and talking to PHP and Apache through the proper socket. You are awesome, but you don't stop there. You install Drupal 6+ and get a big fat error on the first page, "You Don't have GD support." Ouch, but don't worry, I am here to hold your hand.

Syndicate content