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

Re: [ic] variables


> 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>

_______________________________________________
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.