Classe ad un termine
Ciao a tutti.
Ho bisogno di un aiuto per il seguente problema.
devo dare ad un elemento <li> in una vista un valore uguale al termine di quel nodo.
ecco cosa pensavo funzionasse ma che in realta non va
** file views-view-list.tpl.php
<div class="item-list">
<?php if (!empty($title)) : ?>
<h3><?php print $title; ?></h3>
<?php endif; ?>
<<?php print $options['type']; ?>>
<?php foreach ($rows as $id => $row): ?>
<li class="<?php print $classes[$id] . $term; ?>"><?php print $row; ?></li>
<?php endforeach; ?>
</<?php print $options['type']; ?>>
</div>praticamente speravo (^^) di poter mettere .$term per inserire il valore.
come posso risolvere?
Grazie
