Hide That Field!

So you have a content type that you created with CCK that has more than a few fields. In some cases, you don't want all of the fields to show up when viewing the full node - luckily, there's an easy way to hide individual fields without resorting to theming tricks or PHP code.

Simply go to the content type's "edit" page (assuming you're logged in as an appropriate administrative user) and click on the "Display fields" tab. From here you can hide or exclude individual fields from view in both teasers and full nodes.


And I was so lame)) Actually, indeed I used to cope with that fields through PHP, never knew that could be done in a much more easier and convenient way.
Just tried it today. Thanks to this post, now I'll loose much less time!

Mobile application development

Submitted by Guest (not verified) on Sat, 09/19/2009 - 03:27

How can I hide the description field (not a custom cck field)? Thanks

Submitted by Guest (not verified) on Sun, 11/08/2009 - 21:01

This only applies to CUSTOM fields.

I know there is an easy way to hide regular fields too.

Submitted by Guest (not verified) on Sun, 09/05/2010 - 21:29

Sign up to receive email notifications of whenever we publish a new blog post or quicktip!