Ning Developer Docs

My networks blog home page lists every single blog posted all-time. What page and what part of the code do I adjust to limit lets say 20 per page?

Here's the page in question:
http://www.sta.rtup.biz/profiles/blog/list

Views: 1

Replies to This Discussion

http://scripts4ning.ning.com

its all i need to say.
Actually, you will need to say a little more.

Can you give me a direct link to a forum post or blog that explains what I need to do or discusses this topic?
Hi Sta.rtUp.biz,

The blog listing pages will accept a url parameter in the format ?pageSize=20. The easiest way to put this in place is probably to edit the action_list() function in /widgets/profiles/BlogController.php and add something like this to it:

$_GET['pageSize'] = 20;

right after all of the includeFileOnce lines.

Thanks,
Phil

RSS

© 2026   Created by Ning Developer Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service