I
I
Iskander Mammadov2015-02-06 19:07:00
PHP
Iskander Mammadov, 2015-02-06 19:07:00

How to display the value of the material field (node) in a specific place on the page.tpl.php page in Drupal 7?

There is a template file page.tpl.php and a material of type "University". This material has a "City" field.
How can I display the value of this field in a specific place on the page and apply CSS styles to it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
archelon, 2015-02-06
@Gugr

field_view_value($entity_type, $entity, $field_name, $item, $display = array(), $langcode = NULL)

https://api.drupal.org/api/drupal/modules!field!fi...
or here:
php-include.ru/stati/fieldviewvalue

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question