Thank Micker.
I look this, and I will tell you.
But it seems this plugins can't do what I have to do.
In fact, I have to put some php code in the Item HTML of relation field, because this custom HTML is repeated for each relation item choosen.
At this time, I put this in my custom HTML of my relation field :
Code:
<tr><td>{{title}}</td><td>{{field1}}</td><td>{{field2}}</td><td>{{field3}}</td></tr>
And here is the code in my template (item.php) :
Code:
<table><tbody><tr><th>Title</th><th>Field1</th> <th>Field2</th><th>Field3</th></tr>
<?php echo $this->fields['my_relation_field']->display;?>
</tbody>
</table>
So, when I choose a related item, it display with its values in a table and it's great.
But now, I want to add another column with some php code for each related item. Like this :
Code:
<tr><td>{{title}}</td><td>{{field1}}</td><td>{{field2}}</td><td>{{field3}}</td><td>--SOME PHP CODE--</td></tr>
In this case, the php code could repeat itself for each item.
I don't know if I'm understandable.