Closed (works as designed)
Project:
Activity Stream
Version:
6.x-2.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
28 Jul 2008 at 04:21 UTC
Updated:
21 Jan 2010 at 13:33 UTC
Alright, now onto the fun stuff.
This patch adds a field to admin/settings/activitystream that allows you to configure the number of items to display on the global /stream page, and on the individual user's profile page.
As far as I can tell the only way to change this currently is by editing the module directly.
| Comment | File | Size | Author |
|---|---|---|---|
| activitystream-items_per_page.patch | 2.16 KB | eojthebrave |
Comments
Comment #1
akalsey commentedInstead of adding yet another setting, I've updated the module to honor the existing Drupal setting for the number of posts to show on a page.
Comment #2
akalsey commentedComment #3
planctus commentedSorry to reopen this issue...i ran into this looking for a setting to configure the number of items for the activity stream block.
I think we can live with a setting more, while it doesn't make really sense to decide the number of items in the activity stream block basing on the number of posts in the home page.
I've never used that setting as i usually need to build a custom home page, but this time i had to decide whether to build a view to use it as the home page or rebuild the activity stream block in order to have how many items i liked...I chose the first, it was easier, but it wasn't a good situation to find you in, by the way.
Thanks for this powerful module.
Da.
Comment #4
akalsey commentedNot going to happen. Between themes and views there's a lot of ways to create a stream page or block and show however many items you want on it. There's no need to add a setting in for it.
Heck, you could even write a tiny module to expose a block of whatever size you'd like.
Comment #5
Vollzeitaffe commentedUnfortunately neither the patch nor the module is working for me. The patch is not applyable, perhaps it was made for a different version.:
The module doesnt really work too. I copied the above code into a module file and created info file as well. I am able to activate the modules and the users activity stream block. But the Block it self is not working . doesnt appear on the site.
Somebody can help or knows an more easier way to get more then 10 activity stream items visible?
Shnifti
Comment #6
akalsey commentedHave you tried using Views? Activity Stream fields are all exposed to Views so you can build a block or a page with a wide variety of sorting and content options.