Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.5
Component:
Usability
Priority:
Minor
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Anonymous (not verified)
Created:
17 Sep 2009 at 09:58 UTC
Updated:
18 Mar 2018 at 21:40 UTC
Jump to comment: Most recent
Comments
Comment #1
Anonymous (not verified) commentedThis is related to #324049: Layout issues with long fields but it's not a duplicate, as I'm still interested in the difference.
Comment #2
markus_petrux commented- The hidden formatter for field and fieldgroups hides the output completely.
- The exclude checkbox in "Display fields" screens hides the field from full node view, but $FIELD_NAME_rendered variables are still available in node templates.
Comment #3
Anonymous (not verified) commentedOkay, so the help text is a bit confusing, as I understand it to be the other way around ("Use the 'Exclude' checkbox to exclude an item from the $content value passed to the node template.")
But thanks for the explanation. I understand, that we need both features.
Comment #5
diond commentedThis post might need to be clarified, as the contradicting information is confusing.
Earl Grey seems to be correct, from what I see when using the Devel Module ...
1.) Exclude (checkbox) completely hides the whole variable and the display.
2.) Hidden (in the dropdown) simply hides the display but keeps the variable available in the node (Hidden is simply another "formatter", like the rest of the selection in the display drop down)
Please let us know.
Comment #6
thommyboy commentedi stumbled upon this- as far as i realized, setting "hidden" completely disables the rendering for that field.
that was very important to me because i just "excluded" some fields from teaser view but still got performance-issues because their field-templates got called and rendered the field (without adding it to $content).
so if you don't want to display a special field, it should be set to hidden i think...?
Comment #7
ufku commentedFormat <Hidden>: not rendered + not printed
Exclude checkbox: rendered + not printed
Comment #8
tahiche commentedI was going bunkers with this!!. Thanks for the tips.
I have to say this is not clear, and it´s a very basic function.
Hidden - that sounds like it´s there but you can´t see it, which is actually what "Exclude" is!!. It´s the wrong way around. Exclude seems to say it´s excluded from display (but available as a variable).
Come on, something hidden is there, but hidden...
Agree?
Comment #9
thommyboy commentedagree ;)
Comment #10
soulfroysEveryone I know who is starting to learn Drupal confuses these options. Surely needs to be revised.
Comment #11
2dareis2do commentedWhats the difference between rendered and printed?
I guess the key part id this:
Use the 'Exclude' checkbox to exclude an item from the $content value passed to the node template.