Gossamer Forum
Home : Products : Gossamer Links : Version 1.x :

Problem with IsLinked MOD

Quote Reply
Problem with IsLinked MOD
Hi All,

I'm attempting to install my IsLinked MOD into Links SQL, but have struck a few problems.

Ive added the following (Red Text) to HTML_Templates.pl as in the original
# Set new and pop to either 1 or undef for templates.
($rec->{'isNew'} eq 'Yes') ? ($rec->{'isNew'} = 1) : (delete $rec->{'isNew'});
($rec->{'isChanged'} eq 'Yes') ? ($rec->{'isChanged'} = 1) : (delete $rec->{'isChanged'});
($rec->{'isPopular'} eq 'Yes') ? ($rec->{'isPopular'} = 1) : (delete $rec->{'isPopular'});
($rec{'isLinked'} eq 'Yes') ? ($rec{'isLinked'} = 1) : (delete $rec{'isLinked'});
But im getting the following errors on Build.
HTML_Templates.pm: Global symbol "%rec" requires explicit package name at Links/HTML_Templates.pm line 82.

HTML_Templates.pm: Compilation failed in require at nph-build.cgi line 33.
BEGIN failed--compilation aborted at nph-build.cgi line 33.
Any ideas what could be causing this, The IsLinked is in the Links table and the Links.def file.

Thanks in advance.


Subject Author Views Date
Thread Problem with IsLinked MOD mdj1 1963 Sep 13, 2000, 9:18 PM
Thread Re: Problem with IsLinked MOD
Stealth 1913 Sep 13, 2000, 9:34 PM
Post Re: Problem with IsLinked MOD
mdj1 1908 Sep 13, 2000, 9:41 PM
Post Re: Problem with IsLinked MOD
mdj1 1903 Sep 14, 2000, 6:03 AM