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

Re: [Andy] How to convert this to a global?

Quote Reply
Re: [Andy] How to convert this to a global? In reply to
Thanks Andy.

>>>

Not sure why you would want to grab from ClickTrack though, as all that contains is the IP's etc and Link ID's...

>>>

I would like to show last X number of clicked links. (I hope this is the right way, if not - is there some easier solution?) I am using this just for my own info, it is not available to users ...





I am using



sub {
my ($output,$sth,$link);
my $search_db = $DB->table('ClickTrack');
$search_db->select_options ('ORDER BY Created DESC Limit 20');
$sth = $search_db->select;
while ($link = $sth->fetchrow_hashref) {
$output .= Links::SiteHTML::display ('link', $link);
}
return $output;
}

I am getting: Unknown Tag: 'Title' Unknown Tag: 'ID' ...



How to "pull" them? (ID's and Titles)
Subject Author Views Date
Thread How to convert this to a global? Payooo 3617 Nov 10, 2002, 7:01 PM
Thread Re: [Payooo] How to convert this to a global?
Andy 3508 Nov 11, 2002, 1:30 AM
Thread Re: [Andy] How to convert this to a global?
Payooo 3509 Nov 11, 2002, 5:06 AM
Thread Re: [Payooo] How to convert this to a global?
yogi 3486 Nov 11, 2002, 5:10 AM
Thread Re: [yogi] How to convert this to a global?
Payooo 3426 Nov 11, 2002, 10:33 PM
Thread Re: [Payooo] How to convert this to a global?
Alex 3397 Nov 14, 2002, 3:45 PM
Thread Re: [Alex] How to convert this to a global?
Payooo 3397 Nov 15, 2002, 2:01 AM
Thread Re: [Payooo] How to convert this to a global?
Paul 3432 Nov 15, 2002, 2:05 AM
Post Re: [Paul] How to convert this to a global?
Payooo 3404 Nov 15, 2002, 2:37 AM