Page 1 of 1

Automatically Add Pages

Posted: Tue Jun 29, 2010 12:27 pm
by rrtr0628
hello,

i'm trying to let my website members upload their content to a universal page, but the issue is when a page reach about 10 contents, i want to move the older contents to page 2 and 3 ...ect like forums and blogs...any idea how to do that please???

Re: Automatically Add Pages

Posted: Tue Jun 29, 2010 7:42 pm
by Jade
You need to use pagination. Basically you store all of the user uploaded content in a database and then you query that database for the top x number of results. Based on the total rows in the table you can calculate the number of pages and then display posts on each of those pages.

Re: Automatically Add Pages

Posted: Sat Jul 03, 2010 8:42 am
by rrtr0628
Thank you :)