How can I link my article to other page?
So, I would like to have index.php page that only shows the titles of the articles, and when I click the title it will show the full article in fullarticles.php. Can this be done?
*****************
I have made a template called "headlines" that sounds like this:
<div>
<h1> <a href="{
<h2>{date} | Kommentit: <strong><a href="{
</div>
<div>
<h1>{sub_
</div>
*******************
Then I have this code in my index.php:
?php
/*
This file is used to generate articles managed by the phpns system.
Place this code wherever you want your articles displayed on your
website. The page that this code is placed in should have a .php
extension.
*/
$phpns['category'] = '33';
$phpns['limit'] = '20';
$phpns['template'] = '9';
$phpns[
//after variable declaration(s), include shownews.php
include(
?
*******************
Question information
- Language:
- English Edit question
- Status:
- Answered
- For:
- phpns Edit question
- Assignee:
- No assignee Edit question
- Last query:
- Last reply:
Can you help with this problem?
Provide an answer of your own, or ask juhohei for more information if necessary.