Skip to main content
edited tags
Source Link
avpaderno
  • 97.9k
  • 15
  • 164
  • 284

List of CCK fields under a Group Field? D6group field

For a section of our site, we need to show fields, even if they are empty. A helpful suggestionA helpful suggestion has been to edit content-field.tpl.php and remove the following part.

<?php if (!$field_empty) : ?>
<?php endif; ?> 

(http://drupal.org/node/339850#comment-1179923)

But I don't want ALLall empty fields to show up,up; only a handful that are under a Field Group in my custom content type should be shown.

I'm looking for a way of saying, "Show all fields under group X in content type Y"Y."

Does such a thing exist?

List of CCK fields under a Group Field? D6

For a section of our site, we need to show fields, even if they are empty. A helpful suggestion has been to edit content-field.tpl.php and remove the

<?php if (!$field_empty) : ?>
<?php endif; ?> 

(http://drupal.org/node/339850#comment-1179923)

But I don't want ALL empty fields to show up, only a handful that are under a Field Group in my custom content type.

I'm looking for a way of saying, "Show all fields under group X in content type Y".

Does such a thing exist?

List of CCK fields under a group field

For a section of our site, we need to show fields, even if they are empty. A helpful suggestion has been to edit content-field.tpl.php and remove the following part.

<?php if (!$field_empty) : ?>
<?php endif; ?> 

But I don't want all empty fields to show up; only a handful that are under a Field Group in my custom content type should be shown.

I'm looking for a way of saying, "Show all fields under group X in content type Y."

Does such a thing exist?

Source Link
mikeDOTexe
  • 352
  • 1
  • 3
  • 12

List of CCK fields under a Group Field? D6

For a section of our site, we need to show fields, even if they are empty. A helpful suggestion has been to edit content-field.tpl.php and remove the

<?php if (!$field_empty) : ?>
<?php endif; ?> 

(http://drupal.org/node/339850#comment-1179923)

But I don't want ALL empty fields to show up, only a handful that are under a Field Group in my custom content type.

I'm looking for a way of saying, "Show all fields under group X in content type Y".

Does such a thing exist?