[support] How to hide a CCK field (label and value) if value is empty

Shai Gluskin shai at content2zero.com
Mon Jul 20 16:46:29 UTC 2009


Massimilliano,

Hmmm, I think you are describing Drupal/CCK's default behavior...
labels don't show up for empty content... but maybe I'm dreaming.

Shai

On Mon, Jul 20, 2009 at 12:08 PM, Massimiliano
Marini<max.linuxtime at gmail.com> wrote:
> Hi all,
>
> I've made a CCK content where some field are not "Required".
>
> What is the best way to hide during visualization  (label and value)
> if value is empty?
>
> It's recommended to use a module, for example:
>
> http://drupal.org/project/contemplate
>
> or there is another better way?
>
> --
> Massimiliano Marini - http://www.linuxtime.it/massimilianomarini/
> "It's easier to invent the future than to predict it."  -- Alan Kay
> --
> [ Drupal support list | http://lists.drupal.org/ ]
>


More information about the support mailing list