Hi,
In a content type I have a cck field which is compulsory for the users when they create that type of content, however I don´t want show the field after they created or edited the content.
How can i do that? because I´m not using a view to show the content is the default view. I guess that i can do that with css, but the point is the cck has the same class than others. How can i avoid that?
I´ve seen within the the options of cck I have the possibility to use php, maybe there I can indicate that it print with particular div, however i don´t know php and how can i do that.

anyone could help me?

thank you and sorry for my english!

Comments

vj’s picture

<div class="field field-type-text field-field-test22">
    <div class="field-label">test22: </div>
        <div class="field-items">
           <div class="field-item odd"> Display none </div>
        </div>
   </div>
</div>

for above eg use following css

.field-field-test22 {
  display:none;
}

So try use field name from your content type(go to your content type->manage fields)
Hope this will help you

skat’s picture

Thank you for your answer