While we all wait for multi-column layouts with CSS3 to become standard across all browsers, we have to put our faith in js to help us solve our column problems. Here are two things I like to use.
Columnizer
(Consider this a re-vamping of Scott's original post, located here.)
One of my recent projects was for a client who wanted to place inline images - and potentially captions - into the body text of a node, without any HTML knowledge. I decided to use Scott's solution, reworked to suit my client's needs.
The behavior of Drupal cck's single on/off checkbox field is a little different than other cck fields. Normally, a field has a label above its input element (text field, select list, ...). With a single on/off checkbox the field label as entered when creating the field does not appear on the node edit form. Instead, the label associated with the 'ON' value will appear to the right of the checkbox. This is the intended behavior and when the label associated with the 'ON' value is descriptive, it is intuitive enough on the node edit form.
Just a few quick tips today about using css to hide button or link text. This is especially useful when you can’t form alter to make the .
First of all, make sure to set this rule:
text-align: left;
Otherwise, the indent won’t work!
Also, make sure that these rules are set as well:
white-space: nowrap;
overflow: hidden; (or outline: none;)
text-indent: -9999px;
Although Drupal's taxonomy module very thoughtfully provides a term page which lists all nodes tagged with that term, site builders often want to customize what is displayed on the term page.
Of course, you could just ignore the default term page at taxonomy/term/% and build your own page, but then the term links so nicely provided on node pages and through views fields will not be the ones you want to use and you will have to output all term links yourself.
When I first started with Drupal, the exercise that helped me the most to understand how Drupal works was to create a simple blog. Now, back then, there were a lot of tutorials on how to do it using the blog module (which is great) but this is a learning experience so I’ll show you how I did it using CCK and Views.
First of all we’re going to download and enable a couple of modules we’ll need to get this done (If you’re somewhat familiar with Drupal I recommend using Drush for this).
