Gossamer Forum
Home : Products : Gossamer Links : Discussions :

Can the hits be dynamically built for static pages?

Quote Reply
Can the hits be dynamically built for static pages?
If that question doesn't make sense, let me explain:

Version 3.1.0

When a user clicks on a link, naturally, the logic flows through jump.cgi here: (jump.pm)

Code:

unless ($rows) {
eval {
$clicktrack->insert({ LinkID => $id, IP => $ENV{REMOTE_ADDR}, ClickType => 'Hits', Created => \"NOW()" });
$links->update({ Hits => \"Hits + 1" }, { ID => $id }, { GT_SQL_SKIP_INDEX => 1 });
};
}

I would expect I could add a link of two of logic after the "$links->update" that would rebuild the index.html page for just this one LinkID.

Would someone please tell me the code to "make it so"?

Thanks,
Roger
______________________________
Roger "Teresk" Brown
Stratics Central Content Director
Stratics Forums Programmer
Guild Forums Administrator
teresk@stratics.com