Drupal 6: CCK field is being hidden
I've been trying to add a custom fields into a custom content type, everything is good except the new field is not displayed though it appears in the HTML
with display: none;
attributes, also new field isn't excluded from the di开发者_StackOverflow中文版splay.
What is the problem here?
Sultan
Have you used CSS to hide another CCK field somewhere?
It sounds like a CSS rule was meant to hide another CCK field but was not specific enough and is now accidentally hiding fields you want to see.
For example, if you have a CSS rule of:
div.field {
display: none;
}
meaning to hide a different field, it will hide all your CCK fields. (it may not be div.field
of course)
If it has display: none
it's not showing up. Change it do display: block
or just remove it.
精彩评论