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: suppressed [mailto:suppressed On Behalf Of Davor Ocelic Sent: Thursday, July 28, 2005 3:46 PM To: suppressed Subject: 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 _______________________________________________ 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.