I have a custom content type, let's call it seo_data
. I want that the user will be presented, in the Admin view, with some of the fields, not all, depending on the context. So for some nodes, based on nid and other database queries, the user will see, for example, fields field_image
and field_image_alt
or field_video
and field_video_alt
. So, sometimes the user will see the fields corresponding to video or image, depending on some values in other data.
The question is about how can I, programmaticaly (prefered) or with a custom module, present just a bunch of fields.