Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
Scoop Box Exchange - Show Box: related_links 1.00

Author: Scoop Developers

Description:

This box generates the related links that go with stories. It pretty much just takes any link from the story and puts it in a list. It also always adds links to sites listed in the autorelated block if they are mentioned in the story

Box Code:

my $sid = $S->{CGI}->param('sid');

my $related = $S->related_box($sid);

my $content;
my $i = 0;
while ($i <= $#{$related}) {
$content .= qq{%%dot%% $related->[$i+1]$related->[$i]</A><BR>};
$i += 2;
}

return $content;
Display: Sort:
Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Scoop Site Scroller: Get one yourself!
Satanosphere
/* You are not expected to understand this. */

Login
Make a new account
Username:
Password:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search