pragmaMx Support Forum

Archive => veraltete bzw. unsupportete Systeme und Module => Alt Archive => PHPNuke 5.2-6.0 & VKP 5.5 => Thema gestartet von: Piedro am 28 Mai 2002, 14:50:02

Titel: read more link
Beitrag von: Piedro am 28 Mai 2002, 14:50:02
Hi,
I've got a small problem on my index page. When I post a small story without extended text, te 'read more' button is still displayed. How can I fix this bug? I looked in the index.php of the news module but I can't fix it.

Thanks,
Piedro :puzz
PS: I'm using nuke 5.5
Titel: Re: read more link
Beitrag von: Seth am 28 Mai 2002, 15:01:08
Hi Piedro!

I had the same problem some weeks ago.
In index.php in the News-Folder look for the following code:

if ($fullcount == 0 AND $acomm == 1) {
$morelink .= "$story_link"._READMORE."";
if (!is_user($user)) {
$morelink .= " | ";
}

You can delete these lines, because they are useless.
After that, you have only the 'read more'-Link if there's really 'extended text'.