Well I think your right, I have no idea really.
I want to setup a conditional where, depending on my radio button data
it would return option 1, 2 or 3 (class alignement tags in this case)
I was thinking of generating these conditions from the radio buttons:
Left ,center or right to produce output. * holding head
hmmm. I'm now convinced the anne rice addon will help replace the img
tags, those tags will vary depending on weither there is caption in the
field or not and finally that last decision will once again be ajusted
depending on the alignment chosen.
I think I have the Caption field condition okay, this code is to hopefully
place an image in a table with a caption underneath, the caption will
wrap according to the table size determined by the image:
- Code: Select all
<If: Field: CustomField_img_caption1>
<table width="5" border="0" cellpadding="0" cellspacing="0" class="floatimgleft">
<tr>
<td width="5" nowrap><FilePath: CustomField_Text_image1></td>
</tr>
<tr>
<td><div align="justify" class="newsroom_update">
<Field: CustomField_img_caption1></div></td>
</tr>
</table>
<If: Else>
<table width="5" border="0" cellpadding="0" cellspacing="0" class="floatimgleft">
<tr>
<td width="5" nowrap><FilePath: CustomField_Text_image1></td>
</tr>
</table>
Now these tables need to be aligned with css according to the radio button.
then finally the output results would have to replace the [img1] tag in
the Text field, can anne rice replace a word with this much code?