Akopia Akopia Services

[Date Prev][Date Next][Thread Prev][Thread Next][Interchange by date ][Interchange by thread ]

Re: [ic] how to use a variable in a usertag in flypage.html



At 02:01 PM 03/21/2001 +0530, you wrote:
>how do i use $somevariable defined inside a usertag defination in
>catalog.cfg in flypage.html
>

Make it the return value of your Usertag:

sub {
         ...
         return $somevariable;
}

...or push it into a scratch variable in the Usertag:

sub {
         ...
         $Scratch->{somevariable} = $somevariable;
         return '';
}

then you can get at it with [scratch somevariable] (of course the usertag 
will have to have been called beforehand).

- Ed L.


===============================================================
**** Virtual Hosting w/private IC Installation, $65/month! ****
---------------------------------------------------------------
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================


_______________________________________________
Interchange-users mailing list
Interchange-users@lists.akopia.com
http://lists.akopia.com/mailman/listinfo/interchange-users


Search for: Match: Format: Sort by: