F
F
FlexStat2021-12-17 17:22:19
Drupal
FlexStat, 2021-12-17 17:22:19

Why can't a new field be displayed in a node for a certain type of Drupal 7 material?

Subject question, there is a certain type of material in which I am trying to display the title_2 field, I see the field in the admin panel, fill it in, the values ​​​​are saved, but when I open the output page I do not see it. In other types, for example "Page"
field is displayed. Why this can happen, I double-checked everything, it seems that there is some kind of restriction on the output of fields for this type, but where it is not clear.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
FlexStat, 2021-12-17
@FlexStat

For this type, a custom template was set, it was necessary to find it in the site files and render the field programmatically:
<?php print render($content['title_2']); ?>

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question