Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Re: template directory

Quote Reply
Re: template directory In reply to
Don't know if this is significant, but I tried to make a few changes, aand looked at the variables.

In the above, I tried to do:

my $INPUT = shift;

at the top of _compile. Then, access items in that directly, but it shows up as empty.

Shouldn't I have been able to access that, and then change the 'shift' in the &load_template call with $INPUT ?

If I look at the GT::CGI object itself, it holds what I though _should_ have been passed by the $IN->get_hash , and accessible via the $INPUT=shift.

Oddly, the template is now displaying, but that is probably because the parse routines are accessing the $IN variable (GT::CGI object) directly

PUGDOGŪ
PUGDOGŪ Enterprises, Inc.
FAQ: http://postcards.com/FAQ


Subject Author Views Date
Thread template directory pugdog 5900 Dec 3, 2000, 9:51 PM
Thread Re: template directory
pugdog 5792 Dec 3, 2000, 10:43 PM
Thread Re: template directory
Alex 5781 Dec 4, 2000, 9:36 AM
Thread Re: template directory
pugdog 5784 Dec 4, 2000, 12:03 PM
Thread Re: template directory
Alex 5768 Dec 4, 2000, 12:17 PM
Thread Re: template directory
pugdog 5770 Dec 4, 2000, 12:50 PM
Post Re: template directory
Alex 5746 Dec 4, 2000, 1:04 PM
Thread Re: template directory
Alex 5760 Dec 4, 2000, 1:09 PM
Thread Re: template directory
pugdog 5764 Dec 4, 2000, 1:39 PM
Thread Re: template directory
Alex 5740 Dec 4, 2000, 2:55 PM
Thread Re: template directory
pugdog 5743 Dec 4, 2000, 9:56 PM
Thread Re: template directory
Alex 5710 Dec 6, 2000, 1:24 PM
Post Re: template directory
pugdog 5701 Dec 6, 2000, 3:55 PM
Thread Re: template directory
Alex 5761 Dec 4, 2000, 9:35 AM
Post Re: template directory
pugdog 5779 Dec 4, 2000, 12:10 PM