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

Products: Gossamer Links: Development, Plugins and Globals: Re: [afinlr] Showing Links on Forum pages: Edit Log

Here is the list of edits for this post
Re: [afinlr] Showing Links on Forum pages
Hi,

Mm.. not sure. I tend to use a custom routine in scripts that need to "connect" to multiple instances of GLinks/GForum/GCom etc;

Code:
sub loadConnection {

my $path = $_[0];
my $NEWDB = new GT::SQL (
def_path => $path,
cache => 0,
debug => $_[1] || 0,
subclass => 1
);

return $NEWDB;

}

..although this should work better in your case:

Code:
my $NEWDB = new GT::SQL (
def_path => $path,
cache => 0,
debug => 0,
subclass => 1

);
my $cat_tbl = $NEWDB->table('Category');

Not sure if this formatting helps in your instance?

Cheers

Andy (mod)
andy@ultranerds.co.uk
Want to give me something back for my help? Please see my Amazon Wish List
GLinks ULTRA Package | GLinks ULTRA Package PRO
Links SQL Plugins | Website Design and SEO | UltraNerds | ULTRAGLobals Plugin | Pre-Made Template Sets | FREE GLinks Plugins!

Last edited by:

Andy: Mar 27, 2007, 1:33 AM

Edit Log: