Проверить пустое ли поле drupal
09.08.2015
<?php
$field = field_get_items('node', $node, 'field_post_image');
if($field){
//Do something with the field
}else{
//There are no results
}
Веб-разработчик
09.08.2015
<?php
$field = field_get_items('node', $node, 'field_post_image');
if($field){
//Do something with the field
}else{
//There are no results
}