UtopiaSoftware Forums

Full Version: Only news you click in headlines
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi Brian,

as I said in the troubleshooting part there's a second thing that bothering me

when you click on on of the headlines, you go to a page where all the news is on, and you'll scroll automatically to the one you picked

what I would like is that only the one I clicked is shown and not the complete page with all the news that's posted.

Is that possible??
I think what I would do for this is link headlines to the comments page.

Remove this from comments.php if you have comments turned off:
if ($commentsallowance != '1')
{
unp_msgBox($gp_invalidrequest);
exit;
}

Open the headlines_displaybit template and replace this:

<a href="{$siteurl}#unpnews{$newsid}">

With this:

<a href="{$unpurl}comments.php?action=list&amp;newsid={$newsid}">

Let me know if that accomplishes what you wanted.
and again, thank you very much
this works and does exactly what I want

I left the comments enabled, so didn't have to delete that string from comments.php
Excellent. You're welcome.

Smile
Reference URL's