12-07-2007, 05:04 AM
Hi there!
I'm using the last version of UNP.
Everything's working fine at the moment, but i encountered a problem with the headlines. I think I know how to fix it, but I can't find the file containing the piece of code to change.
The thing is that when I click on any of the headlines, it goes to the index page of the site instead of the news page. I've noticed that when I roll over any of the links, the status bar displays the following (supposing the ID of the news to display is 5):
www.website.com/#unpnews5
I'm guessing it should actually be www.website.com/unp/news.php#unpnews5 (supposing the name of the folder containing UNP is called unp).
I'm not completely sure but I think I should change the outcoming code for the link to display and add "unp/news.php" before the string that gets the ID of the news???
If that's the case, where should I do that? I can't see anything in the headlines.php file. If not, could you let me know how to fix this little problem?
Thanks a lot!!
I'm using the last version of UNP.
Everything's working fine at the moment, but i encountered a problem with the headlines. I think I know how to fix it, but I can't find the file containing the piece of code to change.
The thing is that when I click on any of the headlines, it goes to the index page of the site instead of the news page. I've noticed that when I roll over any of the links, the status bar displays the following (supposing the ID of the news to display is 5):
www.website.com/#unpnews5
I'm guessing it should actually be www.website.com/unp/news.php#unpnews5 (supposing the name of the folder containing UNP is called unp).
I'm not completely sure but I think I should change the outcoming code for the link to display and add "unp/news.php" before the string that gets the ID of the news???
If that's the case, where should I do that? I can't see anything in the headlines.php file. If not, could you let me know how to fix this little problem?
Thanks a lot!!