[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[ic] Nested [if] ... ?


Howdy...

I am trying to figure out how to do something like the following:

[if-item-field active_flag]
[then]
	[if-loop-data options o_modular]
		[page [loop-code]]
	[else]
		[order [loop-code]]
	[/else]
	[/if-loop-data]
	<img src="__THEME_IMG_DIR__buynow.gif" border="0" align="top"></a>
[/then]
[/if-item-field]

Meaning, that if the field 'active_flag' is set by having a value, then the rest of the code evaluates. However, when I use this, the [if-item-field...] is output as text and not interpreted... the inner if is parsed, but the outer is not.

What is wrong with this code?  What would be a better way to do this?

Thanks,


Tomas

-- Strategic Solutions for the Rest of Us (tm) --------------------

 http://newwebmakers.com  - - - - Custom E-Solutions; E-commerce,
  data mining solutions, websites, and other effective solutions to
  real-world requirements.

  "If everyone is thinking alike then somebody is not thinking..."
                        -- George S. Patton
_______________________________________________
interchange-users mailing list
suppressed
http://www.icdevgroup.org/mailman/listinfo/interchange-users


Mail converted by mhonarc 2.6.15
This archive provided courtesy of JSW4.NET, Internet Hosting Services for Small Business.