Hi
i have 2 email field in the same types. The first for ask a question and the second to report an abuse. Each one with different settings.
in article view i can see 2 buttons... but both of theme point at first one
if can click on the first button i get the first button popup. If i click on the second button i get the first button popup again.
here the code in my custom template. each button works like ID12
<div class="dbottoni"> <?php echo $item->fields_by_id[12]->result; ?> </div>
<div class="dbottoni"> <?php echo $item->fields_by_id[7]->result; ?> </div>
if i change the order in the template, each button works like ID7
<div class="dbottoni"> <?php echo $item->fields_by_id[7]->result; ?> </div>
<div class="dbottoni"> <?php echo $item->fields_by_id[12]->result; ?> </div>
how can i solve?
thanks in advance
marco
Hi
i have 2 email field in the same types. The first for ask a question and the second to report an abuse. Each one with different settings. in article view i can see 2 buttons... but both of theme point at first one
if can click on the first button i get the first button popup. If i click on the second button i get the first button popup again.
here the code in my custom template. each button works like ID12
if i change the order in the template, each button works like ID7
how can i solve? thanks in advance marco