1 (edited by 2012-10-12 12:26:32)

Topic: Show two articles

Sorry for my english, I hope I can explain my problem @@


I use cutenews to post news and stories in my site and I have an homepage with the news and another template for the "last chapter" with the link to a blank page where the story usually are shown with cutenews codes (this codes is in my header.php and the news code is in index.php).
If I click on that template on "show story", the story is shown without problem.

The problem is... when I want to see the news or a chapter linked normally and I click on the link that take me on the show_news.php, the same full story of that news/chapter appears in my header.php where is the other template for the last chapter (they have different categories to show!)
I'd like that template doesn't change but I don't know how to do it ç_ç

examples:

showing the short-story of the template "last chapter" (if I click on read more that takes me on a blank page where is show_news.php:
http://i.imgur.com/kCqjR.jpg

if I click on a chapter from the list, the chapter is shown like always but it shows on the "last chapter" template too:
http://i.imgur.com/LleNp.jpg


template on my header.php

<?PHP
$number = 1;
$template = 'lastchap';
$category = '12,13,14,15,16,17';
$PHP_SELF = 'story/episode.php';
include('/web/htdocs/mysite/cutenews/show_news.php');
?>

code in index.php and in pages where there are stories links

<?PHP
$number = 2;
$category = 11;
include('/web/htdocs/mysite/cutenews/show_news.php');
?>


and

<?PHP
$number = 35;
$template = 'arcs';
$category = 12;
$reverse = TRUE;
$PHP_SELF = 'story/episode.php';
include('/web/htdocs/mysite/cutenews/show_news.php');
?>


(oh, P.S. I use cutenews on my sites since 2004/2005 and I always love it. Great work, you are the best! <3)