Shorten. Manuee – Putting the puzzle together. CCK formatters are pieces of code that allow you to render a CCK field content how you want.
In Drupal 6 this basicaly means a theme function. As an example, we will build a formatter for the field type 'nodereference'. Mustardseed Media Inc. Add a language switcher link to $primary_links. Last updated October 31, 2007.
Created on October 31, 2007.Edited by seanberto. Log in to edit this page. I'm posting this theming snippet that I added to page.tpl.php because it took me so long to debug, given the somewhat complex way that the translations.module api works. That's not a dig on the module - it's pretty amazing! Basically, I have a English/Spanish site and wanted to add a single menu item to my primary links that switches from English to Spanish and vice versa. Cufon your Drupal Theme in 4 Steps. I love Cufon.
It's easy, lightweight and fast. Cufon is scripts that embeds external font files in your webpage and it's gaining popularity rapidly. I see more and more implementations it mostly it just looks impressive. The headings on this site are also Cufon. Using Views Relationships, Arguments, and Attachments. This article is also available in French from KolossalDrupal.
There's an incredible amount of functionality that can be provided by the Views module, especially when it is combined with intelligent use of Node Reference fields. When you relate your site's nodes with Node Reference fields, these relationships can be easily leveraged to create some very useful views. I'm going to build a view for a sample music site. In the site, I have 3 related content types for "Band" nodes ("Black Eyed Peas", "Linkin Park", etc...), "Album" nodes ("Back in Black", "Bat Out of Hell", etc...), and "Events" (concerts, television appearances, etc...) Each of these content types has only the minimum fields to demonstrate the Views functionality that is the subject of this article. Via positiva. 2bits.com, Inc. - Drupal Development, Customization and Consulting. Drupal, CSS, Web Development, and the Myriad Iconoclasts.