amariotti.com

  • about
  • blog
  • portfolio
  • resumé
  • modules
  • contact
Home

Recent blog posts

  • Text Formatter Module
  • Cool Apache ReWrite Trick
  • New RSS Feed
  • Find My iPhone
  • Congratulations, Drupal!
  • Re-Launched on Drupal 6
  • Copying + Pasting from Word into Drupal
  • Page Not Found on Node Creation
  • 1 Year
  • Happy Birthday WWW!
more

Recent comments

  • Turning off PHP suhosin
    36 weeks 1 day ago
  • The code for D5 is posted
    36 weeks 3 days ago
  • Repost the code please :)
    37 weeks 9 hours ago
  • Hi, very nice post. I have
    38 weeks 3 days ago
  • Great post! I'll subscribe
    38 weeks 5 days ago
  • Cool! It works perfectly..
    40 weeks 13 hours ago
  • I'm having the same problem.
    40 weeks 5 days ago
  • Hello again. It's working but
    40 weeks 6 days ago
  • I'm having the same issue, it
    40 weeks 6 days ago
  • Yes, when I open the page I
    40 weeks 6 days ago

Blog tags

drupal drupal 6 drupal issue liquidweb module modules that I love os x random rss Salesforce.com software theming
more tags

cck

Hiding CCK Fields when using Contemplate Module

amariotti — Mon, 08/11/2008 - 15:22

At work I am building some pretty complex content driven pages with Contemplate. I have some node data being displayed in the main content area and the rest in a dynamic block using Views Arguments. To keep a better handle on the data being displayed I am the Contemplate module, which I have found to be an extraordinary module for what it can do.

I ran into an issue today where I wanted to hide the label to the field if the field was empty. After some searching online and digging I couldn't really find anything, so I did a little research on my own and was able to come up with the solution. Here it is:

  • cck
  • contemplate
  • tricks
  • amariotti's blog
  • 4 comments
  • Read more
  • 4047 reads
Syndicate content
  • about
  • blog
  • portfolio
  • resumé
  • modules
  • contact