Web Hosting Talk







View Full Version : Newspro help


sianews
06-15-2001, 12:33 AM
Not having much luck else where, so maybe someone here knows.

I'm using FullStory in Newspro. Here's my ndisplay.pl file:

#This adds the link to the full story IF there is one
#When "New Text" is blank, no link is made

if ($newstext) {
$newshtml .= qq~ <br><b>[</b><a class="full" href="newspro/fullnews.cgi?newsid$newsid">Full Story</a><b>]</b>~;
}
$newshtml .= qq~<p>~;

if ($newslink) {
$newshtml .= qq~ <br><b>[</b><a class="full" $newslink>Full Story</a><b>]</b>~;
}
$newshtml .= qq~<p>~;


In npconfig I created another form called $newslink. As you can tell form the above, I want to either have "Full Story" link to my site, or an outside one ($newslink). From what I figure an elsif needs to be stuck in there somewhere. Unfortunatly, me capabilites prevent me from going further. Any help would be apperciated.