July 9, 2015 at 9:31 am
#6086
Thang Nguyen
Moderator
Dear,
I just change it as follow. Plz check again.
<table class="table-data-sheet">
{assign var=feature_ids value=[]}
{foreach from=$features item=feature}
{if !$feature.id_feature|in_array:$feature_ids}
{$feature_ids[]=$feature.id_feature}
<tr class="{cycle values="odd,even"}">
{if isset($feature.value)}
<td>{$feature.name|escape:'html':'UTF-8'}</td>
<td>{$feature.value|escape:'html':'UTF-8'}</td>
{/if}
</tr>
{/if}
{/foreach}
</table>
Thanks!
Useful
Recent Topics
Support Policy
- The time respons: 1-2 days
- Official hour: Mon-Fri / 9am-5pm
- Location time: GMT + 7
- Official hour: Mon-Fri / 9am-5pm
- Location time: GMT + 7