Hi,
I try to filter out the "webform" content I added to my testing-commons site.
I do not see a way to filter this out at the homepage view ""What's going on".

It would be great if the homepage view became an editable view on which I could filter out the content type webform.

Thanks a lot for considering this!

Greetings,
Martijn

Comments

Honestly Illustrated’s picture

Agreed, we need a right way to filter things out of the "what's going on" feed.

Specifically, on criteria like content type or "publish to front page". There's the "/activity" view, and that covers the home page block as well, but "what's going on" is a Panels pane for which there is no UI editable view display.

stupiddingo’s picture

You should be able to override any view or panel via the UI or in code.

For the "what's going on" feed I believe you are referring to the authenticated homepage. It is composed of four views inside panels:

  • Primary Panel: /admin/structure/views/view/commons_homepage_content/edit/panel_pane_1
  • Recent Activity Sidebar: /admin/structure/views/view/commons_activity_streams_activity/edit/panel_pane_1
  • Featured on this site: /admin/structure/views/view/commons_featured/edit/panel_pane_1
  • Contributors: /admin/structure/views/view/commons_groups_contributors/edit/panel_pane_1

If you open commons_homepage_content you are able to modify the filter criteria for "Content:Type" and add a filter or sort criteria for "Content:Promoted to front page".

These settings also could be overridden as a feature or the panels replaced entirely with different views.

One way to figure out what view and what panel are where is to enable the "Contextual Links" module. It takes the inspect element hide-and-go-seek game out of figuring out what is rendering what where.

Honestly Illustrated’s picture

Version: » 7.x-3.2
Category: feature » support
Status: Active » Closed (works as designed)

Thanks, dingo. I missed this due to the difference in the naming schemes and the effect that has on list sorting in /admin/structure/views:

  • Commons Events - Upcoming Events
  • commons_homepage_content

Also you're right, I've been putting off enabling contextual links.

Swapping this to a support request on 7.x-3.2, since I think OP's question about webform content will also be answered by this. OP can reopen it if I'm wrong.

RobKoberg’s picture

The problem I have been having is updating the commons code. This reverts any/some changes I make to the commons views/pages/panelizer. Not really a problem currently, but I have been cloning and keeping an eye on the changes.

Honestly Illustrated’s picture

Rob, I suspect your issue may be coming from Features module packaging of what you have changed between installation, modification, then upgrade of Commons. Go into /admin/structure/features and notice that what we're changing, commons_homepage_content for example, is all packaged as fairly granular Features. When we change something like /admin/structure/views/view/commons_homepage_content/edit then we've overridden the Feature that it's bundled with.

It may be that in upgrading to a Commons that provides a higher-version packaging of that Feature, then the installer is choosing to upgrade the Feature, overwriting our changes to it.

There is a Features Override module that seeks to work around this problem.

Honestly Illustrated’s picture

Title: Make editable view of "What's going on" listing on homepage » How to edit view of "What's going on" panel on homepage

Hopefully a more accurate title.