Hi,
Ah, cool - didn't see that =)
In that case, you could edit (in /admin/Links.pm) it to:
require GT::SQL::Condition;
my $cond;
if($IN->param('preview_page')) {
$cond = GT::SQL::Condition->new(isValidated => '=' => 'Yes');
} else {
$cond = GT::SQL::Condition->new(isValidated => '=' => 'Yes');
}
$cond->add(ExpiryDate => '>=' => time) if $CFG->{payment}->{enabled};
$cond;
}
Then call the detailed page via:
page.cgi?g=Detailed/ID.html;preview_page=1
Hope that helps :)
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!
Ah, cool - didn't see that =)
In that case, you could edit (in /admin/Links.pm) it to:
Code:
sub VIEWABLE() { require GT::SQL::Condition;
my $cond;
if($IN->param('preview_page')) {
$cond = GT::SQL::Condition->new(isValidated => '=' => 'Yes');
} else {
$cond = GT::SQL::Condition->new(isValidated => '=' => 'Yes');
}
$cond->add(ExpiryDate => '>=' => time) if $CFG->{payment}->{enabled};
$cond;
}
Then call the detailed page via:
page.cgi?g=Detailed/ID.html;preview_page=1
Hope that helps :)
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!