I understand that adding a few lines to the following code (item.php K2), I can achieve the above objective .... can you help me? Pleaseeee
......
......
<ul>
<?php foreach ($this->item->extra_fields as $key=>$extraField): ?>
/*
here... add a condition ... ie, do everything that follows provided the extrafield id is different to 9, in the event that the ID is 9 must add 1 ... to be 10 and keep doing what you are doing
*/
<?php if($extraField->value): ?>
<li class="<?php echo ($key%2) ? "odd" : "even"; ?> type<?php echo ucfirst($extraField->type); ?> group<?php echo $extraField->group; ?>">
.....
........ etcétera
I look forward to your help and grateful
......
......
<ul>
<?php foreach ($this->item->extra_fields as $key=>$extraField): ?>
/*
here... add a condition ... ie, do everything that follows provided the extrafield id is different to 9, in the event that the ID is 9 must add 1 ... to be 10 and keep doing what you are doing
*/
<?php if($extraField->value): ?>
<li class="<?php echo ($key%2) ? "odd" : "even"; ?> type<?php echo ucfirst($extraField->type); ?> group<?php echo $extraField->group; ?>">
.....
........ etcétera
I look forward to your help and grateful