Is anyone else experiencing a problem with plugins not being able to access the GT::SQL::Display::HTML::Table->toolbar method?
Here's an example from one of the sample Gossamer plugins that doesn't seem to work either:
my $db = $DB->table('SearchLog');
my $nh = $IN->param('nh') || 1;
my $mh = $IN->param('mh') || 5;
my $sth = $db->query_sth ($IN);
my $hits = $sth->rows;
my $tb = $DB->html($db,$IN)->toolbar ($nh, $mh, $hits, $IN->url);It appears that $tb is always empty, no matter how many pages of results there are to display.
When calling admin.cgi, if I specify nh=2, it will display the second page, and nh=3 displays the third, but it will never display the toolbar.
I last played with this back in the Alpha days, but I'm pretty sure that this is the same code which worked back then. Can anyone point me in the right direction here, I've been staring at it for a while now and I'm stumped.
Thanks in advance,
-Steven
Here's an example from one of the sample Gossamer plugins that doesn't seem to work either:
Code:
use Links qw/$IN $DB $CFG/; my $db = $DB->table('SearchLog');
my $nh = $IN->param('nh') || 1;
my $mh = $IN->param('mh') || 5;
my $sth = $db->query_sth ($IN);
my $hits = $sth->rows;
my $tb = $DB->html($db,$IN)->toolbar ($nh, $mh, $hits, $IN->url);
When calling admin.cgi, if I specify nh=2, it will display the second page, and nh=3 displays the third, but it will never display the toolbar.
I last played with this back in the Alpha days, but I'm pretty sure that this is the same code which worked back then. Can anyone point me in the right direction here, I've been staring at it for a while now and I'm stumped.
Thanks in advance,
-Steven