Hi all
I have a question about override template
I have create From include Groupx Fields (with different fields inside) i use Seb_One template
in my article i have different instance of my groupx
How create UL unordered list from my Groupx result in template override ?
MY Template code :
<?php foreach($cck->get( 'fab_videos' )->value as $gx){ ?>
<a href="/<?php echo $gx['video_fabricant_link']->value; ?>" data-mediabox="width[1000];height[563];controls[controls];src[<?php echo $gx['video_fabricant_link']->value; ?>];autoplay[autoplay]"><img src="/<?php echo $gx['video_fabricant_tbn']->value; ?>" alt="Voir la vidéo" /><span><?php echo $gx['video_fabricant_title']->value; ?></span></a>
How separate the result of my groupx to different <li>
<ul>
<li>
<a href="/<?php echo $gx['video_fabricant_link']->value; ?>"
data-mediabox="width[1000];height[563];controls[controls];src[<?php
echo $gx['video_fabricant_link']->value;
?>];autoplay[autoplay]"><img src="/<?php echo
$gx['video_fabricant_tbn']->value; ?>" alt="Voir la
vidéo" /><span><?php echo
$gx['video_fabricant_title']->value; ?></span></a>
</li>
<li>
<a href="/<?php echo $gx['video_fabricant_link']->value; ?>"
data-mediabox="width[1000];height[563];controls[controls];src[<?php
echo $gx['video_fabricant_link']->value;
?>];autoplay[autoplay]"><img src="/<?php echo
$gx['video_fabricant_tbn']->value; ?>" alt="Voir la
vidéo" /><span><?php echo
$gx['video_fabricant_title']->value; ?></span></a>
</li>
</ul>
Sorry for my bad english im french ;)
Thank you so much for your help