Page View or Additional Blocks

awakenedvoice - June 3, 2008 - 01:10
Project:FriendFeed
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active
Description

Thanks for starting on this module. I'm testing it over at http://sandbox.awakenedvoice.com/. It would be nice to be able to have a page view for the streams that has similar settings to the blog. I guess you could also drop the block into the content section. If that were the case then perhaps the option to have more than one FriendFeed block would be good.

Rob Safuto

#1

Rob Loach - June 6, 2008 - 19:56

On my blog, I was going to use the block in the content area, but then decided to use:

<?php
$feed
= friendfeed_user_feed('RobLoach');
$output = theme('friendfeed_user_feed', $feed);
?>

Do you know how to add multiple blocks of the same type with the Drupal API?

#2

awakenedvoice - June 6, 2008 - 22:56

Thanks for the reply Rob. I usually avoid queries in nodes since I'm not that good with sql but your code snippet does the job just as well. I'm not familiar with the Drupal API and how to create multiple blocks. I could always put the code snippet in the block though.

Rob Safuto

#3

czarphanguye - June 24, 2008 - 13:22

This is a nice idea, and the ability to create another block to filter just twitter (for example) while the original block displays all friendfeed items would be superb.

... must try snippet.

Regards,

Czar

#4

awakenedvoice - January 18, 2009 - 17:08

Does that code snippet from response #1 still work? I recently tried embedding it in a page and it displayed nothing. PHP was selected as the input filter. If there is an updated snipped I would really appreciate it if you could post it here. Thanks.

Rob Safuto

 
 

Drupal is a registered trademark of Dries Buytaert.