Gossamer Forum
Home : Products : Gossamer Mail : Discussion :

Re: [diversity] Inserting additional scripts within templates

Quote Reply
Re: [diversity] Inserting additional scripts within templates In reply to
Alex is talking about a global (admin => Templates => Globals), where:
"run_script" would go in the code text field, and
"sub { my $output = `/path/to/cgi/script.cgi`; return $output; }" goes in the description textbox.

Then you can use <%run_script%> in your templates.

Adrian
Subject Author Views Date
Thread Inserting additional scripts within templates diversity 3840 Feb 19, 2002, 12:17 PM
Thread Re: [diversity] Inserting additional scripts within templates
Alex 3750 Feb 19, 2002, 12:21 PM
Thread Re: [Alex] Inserting additional scripts within templates
diversity 3760 Feb 19, 2002, 12:36 PM
Post Re: [diversity] Inserting additional scripts within templates
Alex 3740 Feb 19, 2002, 12:53 PM
Thread Re: [diversity] Inserting additional scripts within templates
brewt 3743 Feb 19, 2002, 12:56 PM
Thread Re: [brewt] Inserting additional scripts within templates
diversity 3729 Feb 19, 2002, 1:33 PM
Thread Re: [diversity] Inserting additional scripts within templates
Alex 3745 Feb 19, 2002, 1:50 PM
Post Re: [Alex] Inserting additional scripts within templates
diversity 3716 Feb 19, 2002, 1:54 PM