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

Re: [ic] Accessing variables defined in the catalog.cfg


At 09:44 AM 10/25/2004, you wrote:

On Mon, 25 Oct 2004, Boyer, Jim wrote:

> I know this should be simple but I sure can't figure it out.  I am
> setting a variable in my catalog.cfg as such:
>
> Variable WINHOST  True
>
> I am not having success reading this variable in the receipt.html page.
> I can print out the value of the variable, but I want to make a decision
> on the value of the variable.  I have tried the following but without
> success.  I have not found examples of this in the docs, but I could
> have easily missed them.
>
> [if __WINHOST__ ]
>
> [if __WINHOST__ eq True]
>
> [if @_WINHOST_@ eq True]
>
> [if [var WINHOST] eq True]
>
> What am I doing wrong with this simple test?

Try:

[if variable WINHOST]

Jon

I totally forgot about the 'variable' type. I imagine he can also do:

[if variable WINHOST eq 'True']

[/if]

- Ed


===============================================================
New Media E.M.S.              Technology Solutions for Business
11630 Fair Oaks Blvd., #250   eCommerce | Consulting | Hosting
Fair Oaks, CA  95628          suppressed
(916) 961-0446                http://www.newmediaems.com
(866) 519-4680 Toll-Free      (916) 961-0447 Fax
===============================================================
_______________________________________________
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.