Gossamer Forum
Home : Products : Gossamer Links : Development, Plugins and Globals :

Re: [wizcom] Recommend It Quick Problem

Quote Reply
Re: [wizcom] Recommend It Quick Problem In reply to
I don't know how that slipped by, but the headers need to look like:

Code:
## catch most basic coding errors, and keep mod_perl compatible.
use strict;

## you need to set this to your own local path!
use lib '/path/to/admin';

## initialize the Database, CGI and other basic objects.
use Links qw/$DB $IN $USER $CFG/;

# Required in _ALL_ scripts for Gossamer Community compatibility
Links::init ('/path/to/admin'); # no use, that was the line above

# Optional -- but if $USER is defined in the above line, this line is necessary.
Links::init_user ('/path/to/admin'); # no use, that was two lines above.

## define the other modules you'll need in the script
use GT::Mail;
use Links::SiteHTML;
use Links::Plugins;


The rest is commentary.


PUGDOG� Enterprises, Inc.

The best way to contact me is to NOT use Email.
Please leave a PM here.

Last edited by:

pugdog: Apr 22, 2002, 6:19 PM
Subject Author Views Date
Thread Recommend It Quick Problem wizcom 8154 Apr 19, 2002, 2:23 PM
Thread Re: [wizcom] Recommend It Quick Problem
pugdog 8011 Apr 19, 2002, 11:50 PM
Thread Re: [pugdog] Recommend It Quick Problem
wizcom 8044 Apr 20, 2002, 9:22 AM
Thread Re: [wizcom] Recommend It Quick Problem
pugdog 7953 Apr 21, 2002, 7:45 PM
Thread Re: [pugdog] Recommend It Quick Problem
wizcom 7974 Apr 22, 2002, 1:10 PM
Post Re: [wizcom] Recommend It Quick Problem
Andy 7913 Apr 22, 2002, 1:31 PM
Thread Re: [wizcom] Recommend It Quick Problem
Paul 7914 Apr 22, 2002, 2:41 PM
Post Re: [Paul] Recommend It Quick Problem
wizcom 7926 Apr 22, 2002, 3:07 PM
Thread Re: [wizcom] Recommend It Quick Problem
pugdog 7912 Apr 22, 2002, 6:17 PM
Thread Re: [pugdog] Recommend It Quick Problem
Paul 7931 Apr 23, 2002, 1:51 AM
Thread Re: [Paul] Recommend It Quick Problem
wizcom 7921 Apr 23, 2002, 6:03 AM
Thread Re: [wizcom] Recommend It Quick Problem
Paul 8002 Apr 23, 2002, 6:28 AM
Thread Re: [Paul] Recommend It Quick Problem
wizcom 7971 Apr 23, 2002, 6:52 AM
Thread Re: [wizcom] Recommend It Quick Problem
pugdog 7927 Apr 23, 2002, 7:24 PM
Thread Re: [pugdog] Recommend It Quick Problem
wizcom 7927 Apr 25, 2002, 1:12 PM
Thread Re: [wizcom] Recommend It Quick Problem
pugdog 7893 Apr 29, 2002, 6:44 PM
Post Re: [pugdog] Recommend It Quick Problem
wizcom 7867 May 2, 2002, 2:42 PM