I saw that topic before but i thought it didnt match my problem.
I tried the options in that praticular topic and the only code that shows some changes are the last one that you gave.
- Code: Select all
if($schedule){
$where[] = 'date > '.(time() + $config_date_adjust * 60 - 86400);
}
else{
$where[] = 'date < '.(time() + $config_date_adjust * 60);
}
$schedule = false;
But after a browser refresh suddenly an article with the date 9th April 2007 (yesterday) appears.
So that one didnt workled properly for me.
I found myself a different way to keep the articles active on the 'Agenda' page.
If i add an article with the date of tomorrow, i set the time 1 minute before midnight.
After that time the article moves to the 'Archive'. It works this way, but i rather want to have it without setting the time by hand.
