read more link

Begonnen von Piedro, 28 Mai 2002, 14:50:02

⏪ vorheriges - nächstes ⏩

0 Mitglieder und 1 Gast betrachten dieses Thema.

Piedro

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

Seth

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'.