Page 1 of 1
News and Memory
Posted: Wed Mar 21, 2007 12:28 pm
by chris..
Hi all,
I've a huge amount of news items which requires more and more memory to display (I've set php memory up to 48M to see news - admin side I mean). Is there a way to avoid that or limit the number of news displayed, like NMS (where you can choose the number of users you want to see per pages).
If not, maybe think about it for the next release..
Re: News and Memory
Posted: Wed Mar 21, 2007 12:33 pm
by cdrik
there is the eoption number (or numbers i don't remember) in the news tag to specify how many news to display.
{news number="5"} for example. Browse the tag help to see all options of the news tag
Re: News and Memory
Posted: Wed Mar 21, 2007 12:37 pm
by chris..
I know about this tag, but I was talking about the admin side - backend if you want.
Re: News and Memory
Posted: Wed Mar 21, 2007 2:43 pm
by Vin
48MB?!! For shame!

For how many news does the minimal limit 8MB suffice anyway?

Re: News and Memory
Posted: Wed Mar 21, 2007 4:23 pm
by chris..
For info : I've about 200 news items.
Another problem maybe linked to this one : I'm trying to make some more categories to make it clearer to manage. But after 14 categories, the module bugs : whatever I try to do, it asks me to download or open "moduleinteface.php".
Re: News and Memory
Posted: Thu Mar 22, 2007 8:17 pm
by chris..
Actually :
I've 13 categories (2 principals and 11 sub-cat') but when I try to make a new one, it asks me to open "moduleinterface.php".
After that, whatever I do with the news module, it asks me the same until I delete the last category created directly in MySQL (via phpmyadmin).
Say what now !
Re: News and Memory
Posted: Fri Mar 23, 2007 4:51 am
by cyberman
chris.. wrote:
Is there a way to avoid that or limit the number of news displayed,
You mean pagination. No. You have to hack source.
If not, maybe think about it for the next release..
Feature Request ?
Re: News and Memory
Posted: Fri Mar 23, 2007 11:08 am
by chris..
Solved with 64Mo.
Is it really a solution ?
Re: News and Memory
Posted: Fri Mar 30, 2007 6:39 pm
by Vin
That thing about moduleinterface.php is odd...any idea what's going on?