logo

Extra Block Types (EBT) - New Layout Builder experience❗

Extra Block Types (EBT) - styled, customizable block types: Slideshows, Tabs, Cards, Accordions and many others. Built-in settings for background, DOM Box, javascript plugins. Experience the future of layout building today.

Demo EBT modules Download EBT modules

❗Extra Paragraph Types (EPT) - New Paragraphs experience

Extra Paragraph Types (EPT) - analogical paragraph based set of modules.

Demo EPT modules Download EPT modules

Scroll

The field name is not displayed.

22/02/2025, by Anonymous (not verified)
Forums

Hello, could you please help me with how to display the field name? The field is called Article Number, and it only contains some digits. I want it to display as: Article Number: digits. The material type is called
dobavittovar, and the field type is field_articul. I placed the file node.tpl.php in the theme folder and also created the file node-dobavittovar.tpl.php, where I call the necessary fields. I call it like this - <?php print $node->field_articul[0]['view']; ?>, everything displays well, but without the field name, just the digits - and I would like to have it displayed again as - Article Number (field name) + some digits (the value of the field or whatever it's correctly referred to, probably the content of the field). In the field display settings, this field has a header at the top, and the summary is plain text.

It seems I've covered everything, what and how I'm doing