Quicktips

DrupalEasy Quicktips are short, focused posts intended to accomplish a very specific goal. Quicktips are exclusively available first via our @drupaleasy Twitter account.

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.

New Module? Check Permissions!

One thing that consistently trips up both new and experienced developers when enabling a new module are "permissions". I can't tell you how many times I've enabled a new module then cursed my computer for a few minutes thinking that the module wasn't working properly - only to realize that I forgot to set some arcane permission on the admin/user/permissions page.

So, next time you download and enable that shiny new module, be sure to not only configure it using its settings page, but to check its permissions!