Hello,
how to remove specific field from code bellow? Something like this item->fields_by_groups['']['field-key']); ?>
<?php if(isset($this->item->fields_by_groups[null])):?>
<dl class="dl-horizontal fields-list">
<?php foreach ($this->item->fields_by_groups[null] as $field_id => $field): ?>
<dt id="<?php echo 'dt-'.$field_id; ?>" class="<?php echo $field->fieldclass;?>">
<?php if($field->params->get('core.show_lable') > 1):?>
<label id="<?php echo $field->id;?>-lbl">
<?php echo $field->label; ?>
<?php if($field->params->get('core.icon')):?>
<?php echo HTMLFormatHelper::icon($field->params->get('core.icon')); ?>
<?php endif;?>
</label>
<?php if($field->params->get('core.label_break') > 1):?>
<?php endif;?>
<?php endif;?>
</dt>
<dd id="<?php echo 'dd-'.$field_id; ?>" class="<?php echo $field->fieldclass;?><?php echo ($field->params->get('core.label_break') > 1 ? ' line-brk' : NULL) ?>">
<?php echo $field->result; ?>
</dd>
<?php endforeach;?>
</dl>
<?php unset($this->item->fields_by_groups[null]);?>
<?php endif;?>
Hello,
how to remove specific field from code bellow? Something like this item->fields_by_groups['']['field-key']); ?>