[ic] variables

Webmaster Grandfather Clocks Plus webmaster at grandfatherclocksplus.com
Fri Jul 29 11:12:17 EDT 2005

Thanks everyone for all your responses, lots of help. I have been trying to
read as much as I can about it. The reason I'm needing the variables is
because I'm creating a template and want the values easily changeable. (I
just used the $site for an example). Thanks again.

-----Original Message-----
From: interchange-users-bounces at icdevgroup.org
[mailto:interchange-users-bounces at icdevgroup.org] On Behalf Of Davor Ocelic
Sent: Thursday, July 28, 2005 3:46 PM
To: interchange-users at icdevgroup.org
Subject: Re: [ic] variables

> Okay this should be easy, but I don't know enough about Interchange or
> I'm just trying to make a basic variable that I can put into some html 
> code, this is what I'm trying to do:
> [perl]
> $site = "icdevgroup";
> return $site;
> [/perl]
> <html>
> <a href="www.$site.org">ICDEVGROUP.ORG</a>
> </html>

Am I right in assuming you would be satisfied with this:

a) in catalog.cfg:

Variable SITE icdevgroup

b) in HTML Page:

<a href="www.__SITE__.org">ICDEVGROUP.ORG</a>

interchange-users mailing list
interchange-users at icdevgroup.org

More information about the interchange-users mailing list