Joomla の記事にフィールドを追加していますが、空の場合は新しいフィールド (および "li") を表示したくありません。
これから
<ul>
<li>
<?php echo $this->item->direccion; ?>
<a href="<?php echo $this->item->urlMap; ?>" target="<?php echo $this->item->targetMap; ?>">Mapa</a>
</li>
</ul>
このようなものに:
<ul>
<li "if MOLA is empty not show this li">
<?php echo $this->item->MOLA; ?>
<a href="<?php echo $this->item->urlMap; ?>" target="<?php echo $this->item->targetMap; ?>">Map</a>
</li>
</ul>