Topic: News Archived and New in the same page

Hello,
i've more than 2000+ News and the news.txt file is heavy almost 10Mb, so i want to archive all the old news for refresh the news.txt and i want to post old and newPost in the same page, like this example
NOW
http://thumbnails107.imagebam.com/27002/53ae7b270010614.jpg
HOW I WANT
http://thumbnails105.imagebam.com/27002/625acc270010617.jpg
Is this possible?

Re: News Archived and New in the same page

Nobody?  https://cutephp.com/forum/style_emoticons/default/ohmy.gif

Re: News Archived and New in the same page

You can use $number for it

Example
$number = 3000;
include("path/to/show_news.php");

More -  index.php?mod=help&section=archives

Best regards,
CN Support team

Re: News Archived and New in the same page

https://cutephp.com/forum/style_emoticons/default/blink.gif if i use this code i will see 3000 posts in one page...

Re: News Archived and New in the same page

BTW Yesterday for a test i've archived 2000 News in a Test cutenews folder. Now i see 0 in Active News and 2000 in Archives, i got a new Post and now i see 1 Active News. And is Ok. The strange thing is that in the pages i see both the new Post and the older ones like the second image example. The code in the page is:

<?php $number = "10"; 
include("cutenews/show_news.php"); 
?>

This is Great, but it's normal?
P.S.The version is 1.4.5

Re: News Archived and New in the same page

Yes, by default, if there is not so many news as in the parameter 'number' so the news is taken from the archive. You can change it placing the option $only_active = true before the news output

Best regards,
CN Support team

7 (edited by 2013-08-20 12:28:56)

Re: News Archived and New in the same page

Hmm... there is a way for keep old and new posts forever?

Re: News Archived and New in the same page

Anyone?