Hi
I have the following obstacles:
The counter in the list to display the items inside the module, I'm using a class based on that account, with the following code:
<?php if(count($items)): ?>
<ul>
<?php foreach ($items as $key=>$item): ?>
<li class="slide-<?php if(count($items)!=0) echo $tag->name; ?>">
The initial idea was to use it well:
<li class="slide-<?php echo $tag->name; ?>">
But always gives me the "$tag->name" one after. That is the kind that should go in the first "li" it puts the next and the first leaves him empty.
I tried different ways and always is the same.
I can guide that I can do.
An image of what happens:
imgur.com/bSzuJFt
Thank You!