开发者

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.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜