[ic] Table editor "Append HTML" field

Peter peter at pajamian.dhs.org
Thu Nov 13 02:01:52 UTC 2008


On 11/12/2008 02:21 PM, Rick Bragg wrote:
> On Wed, 2008-11-12 at 17:11 -0500, Jeff Boes wrote:
>> I have some complex logic that I want to apply to create a link within a table
>> editor setup. I've written a user tag, and configured the table editor for a
>> particular field to be:
>>
>> [edit_image file="_UI_VALUE_"]
>>
>> for the "Append HTML" setting. However, when the tag is invoked, it reports that
>> the literal "_UI_VALUE_" was passed in, not the substituted value of the field.
>>
>> Is there a way to get the macros expanded before the tag is processed? Is there
>> some other way to access the current row from within my usertag?
> 
> I think you need 2 underscores wrapping the variable
> try:
> [edit_image file="__UI_VALUE__"]
> 
> If not, maybe try:
> [tmp ui-value]__UI_VALUE__[/tmp]
> [edit_image file="[scratch ui-value]"]

If you're going to do that, may as well just do:
[edit_image file="[var UI_VALUE]"]


Peter




More information about the interchange-users mailing list