I was theming my user profile and I noticed that activity stream was inside the 'summary' category. I usually hide this category/block. I created a small patch to take the block out of summary and now activitystream can be themed independently just with:
<?php print $profile[activitystream]; ?>
I don't know if there's a reason activitystream it's inside summary.
I just changed:
$account->content['summary']['activitystream'] = array(
to
$account->content['activitystream'] = array(
Please review.
| Comment | File | Size | Author |
|---|---|---|---|
| activitystream_nosummary.patch | 572 bytes | lelizondo |
Comments
Comment #1
johnnocI was looking for a snippet on how to print activity stream outside of summary and I came across this issue.
+1 Yeah I hope activitystream be taken out from the summary.
Comment #2
akalsey commentedPatch looks good. Will be checked into CVS soon
Comment #3
akalsey commentedThis is now in -dev
Comment #4
akalsey commentedIn RC1