Home N-13 News Forums Help Search
RegisterForgot password?
How to add image to post necklacesdiscou
Known bugs - 4.0.3 necklacesdiscou

Latest N-13 News 4.0.3

What is N-13 News?
Where can I get help?
Known bugs

Forums Help & Support full story to be shown on a different new page.
Hackerzlab
Posted on 29 Mar 2010, 07:25:20

Access: Member
Total Posts: 31
Joined: 2009-09-25

m using the latest version v3.4 and running on my localhost.

this is what i have for http://localhost/1.php so far.

Code:

<?php
$static 
= true;
include 
'news/index.php';
?>
<hr>
<?php
$static 
= true;
$nppage = '2';
$template = 'headlines';
include 
'news/index.php';
?> 
<hr>
<?php
include 'news/index.php';
$template = 'headlines';
?>


the full-story is shown on the same page like this: http://localhost/1.php?id=2 and the two includes with static set to TRUE are still shown. i want to remove this two static includes as i want the full story to have a different layout with more static includes and remove the old static info.

is there a way i could show the full story to a new page say something like http://localhost/new-page.php?id=2
this way i can have new static includes and remove the old one.

i hope u understand my point.


#2161
Hackerzlab
Posted on 29 Mar 2010, 07:38:58

Access: Member
Total Posts: 31
Joined: 2009-09-25

okay. i got it.

edit the template used and put a custom link:
Code:
<a href="2.php?id={id}">full story</a>

its working. great script.
#2162
Last edited by Hackerzlab at 2010-03-29 07:41:06 Reason:
Network-13.com © 2013