We should genericize the user's friends blocks so that they are viewable from any given node type or /user page, not just usernode. I think we can accomplish this by removing the code that checks if usernode exists and putting in a configuration option that allows admins to choose which node types or user page to display the block on. Any further configuration can be done via the block module's visibility settings.

CommentFileSizeAuthor
#1 urblocks_nodetypes.patch5.27 KBprfctns6@gmail.com
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

prfctns6@gmail.com’s picture

Assigned: Unassigned » prfctns6@gmail.com
Status: Active » Needs review
FileSize
5.27 KB

Jeff: This wasn't too much work, but it was still a bit more than a minor tweak, so I'm uploading a patch for your review, as opposed to just checking it in. Please look over the patch when you get a chance, and let me know if it's okay to check it in. Thanks.

sprsquish’s picture

Accepted. Thanks!

Feel free to commit.

prfctns6@gmail.com’s picture

Status: Needs review » Fixed

Thanks for the quick review, Jeff! I've committed the code.

sprsquish’s picture

Status: Fixed » Closed (fixed)