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
($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: 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.
Regards
MDJ1
http://www.isee-multimedia.co.uk
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
Code:
# 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'});
Code:
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.
Thanks in advance.
Regards
MDJ1
http://www.isee-multimedia.co.uk