[ic] variables

Davor Ocelic docelic at mail.inet.hr
Thu Jul 28 16:45:31 EDT 2005


> Okay this should be easy, but I don't know enough about Interchange or Perl.
> 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:

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



More information about the interchange-users mailing list