[ic] [if file ...] tag
Jason Kohles
interchange-users@interchange.redhat.com
Wed Jan 30 11:00:01 2002
On Wed, Jan 30, 2002 at 07:41:32AM -0800, john j wrote:
> this URL and its content say
>
> http://interchange.redhat.com/cgi-bin/ic/docfly.html?mv_arg=ictags04.37
>
> Tests for existence of a file. Useful for placing
> image tags only if the image is present.
>
> [if file /home/user/www/images/[item-code].gif]
> <IMG SRC="[item-code].gif">
> [/if]
>
You have to use named parameters if you want to inerpolate:
[if type=file term="/home/user/www/images/[item-code].gif"]
<IMG SRC="[item-code].gif">
[/if]
--
Jason Kohles jkohles@redhat.com
Senior System Architect (703)786-8036 (cellular)
Red Hat Professional Consulting (703)456-2940 (office)