Context

Context ConditionsReactions

< Untagged >

group-listingThe list of available groups on the sitePath:
 groups
 groups/*
 ~groups/mineBlocks:
sidebar last
 Create a group
 Current user's groups
 Most active groups
 Newest groups
content top
 Featured groups (slider)group-listing-mineA listing of your groupsViews:
 groups_my_groups_listing -- PageBlocks:
sidebar last
 Create a group
 Newest groups
 Most active groups

Activity

activityAn activity dashboardPath:
 streamBlocks:
sidebar last
 
Recent notices
 Recent content
 My groupsactivity-stream-most_active_usersAdds the "Most active users" block to the activity stream pagePath:
 streamBlocks:
sidebar last

 Most active usersAggregatoraggregator-groupThe group aggregator pagesPath:
 node/*/aggregator*Blocks:
sidebar last

 Group menu
 Group members and admins

Blog

content-blog-pageThe blog pageViews:
content_blog_page -- Page Blocks:
sidebar last

 Group create content selector
 Latest blog post commentsgroup-blog-nodeA blog node inside a groupOG - group type context:
 Group
Node type:
 Blog entry Blocks:
sidebar last

 Latest group blog posts
 Latest group blog post commentsgroup-tab-blogsThe blog tab on a groupViews:
 group_tab_blogs -- Page Block:
sidebar last

 Latest group blog post comments

Bookmarks

bookmarksThe bookmarks pagePath:
 bookmarks
 user/*/bookmarksBlock:
sidebar last

 Most bookmarked

Discussion

content-discussion-pageThe discussion pageViews:
 content_discussion_page -- Page Block:
sidebar last

 Group create content selector
 Latest blog post commentsgroup-discussion-nodeA discussion node inside a groupOG - group type context:
 Group
Node type:
 DiscussionBlock:
sidebar last

 Latest group discussions
 Latest group discussion commentsgroup-tab-discussionsThe discussion tab on a groupViews:
group_tab_discussions -- Page Block:
sidebar last

 Latest group discussion comments

Document

content-document-pageThe documents pageViews:
 content_document_page -- Page Block:
sidebar last
 Group create content selector
 Latest document commentsgroup-document-nodeA document node inside a groupOG - group type context:
 Group
Node type:
 DocumentBlock:
sidebar last
 Latest group documents
 Latest group document commentsgroup-tab-documentsThe document tab on a groupViews:
 group_tab_documents -- Page Block:
sidebar last
 Latest group document comments

Event

content-event-calendarThe event calendarViews:
 content_event_calendarBlock:
sidebar last
 Group create content selector
 Recently added events
 Past events
 Latest event comments content-event-pageThe event pageViews:
 content_event_page -- Page Block:
sidebar last
 Group create content selector
 Calendar
 Recently added events
 Past events
 Latest event commentsgroup-event-nodeAn event node inside a groupOG - group type context:
 Group
Node type:
 EventBlock:
sidebar last
 Upcoming group events
 Latest group event comments
 Past group eventsgroup-home-eventsEvents block for the group home pageNode type:
 Group (Node form: Yes)Block:
sidebar last
 Upcoming group eventsgroup-tab-events (Modified)The event tab on a groupViews:
 group_event_calendarBlock:
sidebar last
 Recently added group events
 Past group events
 Latest group event commentsgroup-tab-events-calendarThe event calendar for a groupViews:
 group_event_calendarBlock:
sidebar last
 Recently added group events
 Past group events
 Latest group event commentsprofile-me-eventsAdd events listings to user profiles when viewing your own profileContext:
 profile-meBlock:
sidebar last
 Upcoming events in my groups

Group

group-contextThe context of a groupOG - group type context:
 GroupBlock:
sidebar last
 Group create content selectorgroup-homeThe group home pageNode type:
 GroupBlock:
sidebar last
 Group menu 
 Group members and admins
 Latest group contentgroup-home-status-boxAdds the status update box to the group home pageNode type:
 GroupBlock:
content
 Facebook-style Statusesgroup-home-treeThe group hierarchy treeNode type:
 GroupBlock:
sidebar last
 Subgroups 

Home

homeThe community homepage<none>Block:
sidebar last

 Join & learn more
 Latest featured content
 Most active groups
 Recent notices
 Popular tags
content top
 Homepage Commons information
content
 Group showcase

Notices

noticesNotice listing and nodesNode type:
 Notice
Views:
 recent_notices -- Page  Block:
sidebar last
 Create a notice
 Latest notice comments

Poll

   content-poll-pageThe poll pageViews:
 content_poll_page -- Page Block:
sidebar last
 Group create content selector
 Latest poll commentsgroup-home-pollPoll block for the group home pageNode type:
 GroupBlock:
sidebar last
 Latest group pollgroup-poll-nodeA poll node inside a groupOG - group type context:
 Group
Node type:
 PollBlock:
sidebar last
 Latest group polls
 Latest group poll commentsgroup-tab-pollsThe poll tab on a groupViews:
 group_tab_polls -- Page Blocks:
sidebar last
 Latest group poll comments

Profile

profile-about-meUser profile when viewing your about page<none>Blocks:
sidebar first
 Profile image and action links
 Current user's friends
 Find new friends
sidebar last
 My groupsprofile-about-otherUser profile about page when viewing another user<none>Blocks:
sidebar first
 Profile image and action links
 About user
sidebar last
 User's groups
 Current user's friendsprofile-meUser profile when viewing yourselfUser page:
 User profile
  Active for: Current UserBlocks:
sidebar last
 Profile image and action links
 My groups
 Current user's friends profile-me-inviteAdd invite sender to your own profileUser page:
 User profile
  Active for: Current UserBlocks:
sidebar last
 Invite a friendprofile-me-status-boxAdds the status update box to the user profile pageUser page:
 User profile
  Active for: Current UserBlocks:
sidebar last
 Facebook-style Statusesprofile-otherUser profile when viewing another userUser page:
 User profile
  Active for: Other UsersBlock:
sidebar last
 Profile image and action links
 About user
 User's groups
 Current user's friendsprofile-other-status-boxAdds the status update box to the user profile pageUser page:
 User profile
  Active for: Other UsersBlocks:
content
 Facebook-style Statusesprofile-trackThe user profile track pagePath:
 user/*/track
User role:
 authenticated user Blocks:
sidebar last
 Profile image and action links
 Current user's friends 

Sitewide

globalShow on every pageSitewide context:
 Always activeBlocks:
header
 User meta info
 Header login block
footer
 Commons information

User browser

   user-browserVarious block to show on the user browser pageViews:
 user_directoryBlocks:
sidebar last
 User statistics
 Online users 
 Newest usersuser-browser-most_active_usersDisplay the most active users in the communityViews:
 user_directoryBlocks:
sidebar last
 Most active users

Wiki

content-wiki-pageThe wiki pageViews:
 content_wiki_page -- Page Block:
sidebar last
 Group create content selector
 Latest wiki commentsgroup-tab-wikisThe wiki tab on a groupViews:
 group_tab_wikis -- Page Block:
sidebar last
 Latest group wiki commentsgroup-wiki-nodeA wiki node inside a groupOG - group type context:
 Group
Node type:
 Wiki pageBlock:
sidebar last
 Latest group wiki
 Latest group wiki comments

 

Comments

francis55

How do I hide stuff listed here

I'm trying to hide the "Current user's friends" block

Attempts up to now:

  1. I deleted the Friends relation
  2. I tried editing the block's visibility options
  3. I created a role specially named hidden that nobody is associated to, and limited the visibility of the block to that role
  4. I looked into the theme developer, found that the block referred to a template named block-sidebar_last-views-profile_friends-block_1.tpl.php; I then created an empty file with that name in my theme directory

The block is still there... I think there's something about overriding Drupal Commons I haven't understood.
 

francis55

OK, so I'm using CSS again

A bit silly, but it works, I found the id of the offending block using Firefox+Firebug (right click > Inspect Element), then put the following in the .css file of my theme:

div#block-views-profile_friends-block_1
{display:none;}

just it's a waste of time computing items and then hiding them...