Question #43428 on phpns changed: https://answers.launchpad.net/phpns/+question/43428
Status: Open => Answered alecwh proposed the following answer: Okay, you're doing it wrong. Shownews.php is NOT meant to be linked to (or shown) directly. It was intended to be included by another PHP document. I was a little confused what you wanted. I told you edit out the warning message that phpns gives in shownews.php, which is the ONLY thing you should have done with it. No more editing, styling, HTML adding. Nothing. So, what you need to do, is have your index include phpns (with any pre-include variables), and have ANOTHER page, say, single.php, include phpns too. That way, you can have your index link to single.php for each of the articles. To do this, you need to use $phpns['script_link']. Check the docs to see how that works. Remember, you can use template management to modify the styling/html for each of the news items. Preferences -> Template Managment -> New Template -- You received this question notification because you are a member of Phpns-team, which is an answer contact for phpns. _______________________________________________ Mailing list: https://launchpad.net/~phpns-team Post to : phpns-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~phpns-team More help : https://help.launchpad.net/ListHelp