Upcoming events can be now shown on group pages (thanks again!), but I'd like to be able to show past events, too. I can't think of a way to do that with the available views.

Can support for gid arguments be added to the "event" view's block display? Having a group-specific calendar would be killer.

Comments

christefano’s picture

Can the event view's block display get some love? With so many events these days, it's getting harder to find old events without knowing something specific about them (like the exact date).

greggles’s picture

There's a couple of blocks in the event view. Can you clarify which one you're talking about? The divs from around it should be a telltale sign.

christefano’s picture

The "calendar block" display is the one I have in mind. Can this be updated so that we can filter by gid?

greggles’s picture

Assigned: Unassigned » greggles
Status: Active » Fixed

Alrighty - there is now a gid argument on that view as the default so it should work on any of the blocks it is displaying.

Note that you may need to provide the wildcard argument (all) for the date parameters to get the date to work.

christefano’s picture

Using "all" as the argument ends up listing every event on the site. Alternatively, I get a 404 when adding the gid as the argument. Can you take a look at http://groups.drupal.org/node/3002/og_panels/1183/panel_content and tell me what I'm missing?

greggles’s picture

The relationships I setup were wrong, now fixed.

That said, this block is kind of useless. The days are always linked even if there is no event on that date :/

There is an upcoming block which takes the same arguments which provides an html list of title and start date. That seems good to me.

christefano’s picture

Thanks for working on this. I ended up using the "calendar block" display after all. I selected "Node ID of top group" as the context and entered the gid as the argument. All links in the block are active (as you point out) but at least the links point to URLs like http://groups.drupal.org/event/2011-04-19/3002 and the "«" and "»" links will let our members view other months in the calendar.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.