[ic] Table editor "Append HTML" field

Rick Bragg lists at gmnet.net
Wed Nov 12 22:21:41 UTC 2008


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?
> 
> -- 
> Jeffery Boes  <><
> jeff at endpoint.com
> 
> _______________________________________________
> interchange-users mailing list
> interchange-users at icdevgroup.org
> http://www.icdevgroup.org/mailman/listinfo/interchange-users
> 

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]"]

rick



-- 
This message has been scanned for viruses and
dangerous content by Green Mountain Network, and is
believed to be clean.




More information about the interchange-users mailing list