I recently had to implement a contextual OG calendar using Calendar.module, Date, CCK, Views and Panels 2. I also had to write a theme function override to maintain breadcrumb context from group_node to Year, Month, etc.

I have produced a complete, illustrated step by step, complete with argument handling code and theme override and would love to share it.

I worked with Ted Sirbinsky of Lullabot and MothersClick fame on solving this problem.

Would you like to see it?
I'd like to make it widely available. It would be a good document for the community.

Here's a link:

http://vineyardvoice.org/files/how_tos/groups_walkthrough/index.html

CommentFileSizeAuthor
#7 Picture 1.png52.92 KBlowVocal

Comments

lowVocal’s picture

Category: support » task
lowVocal’s picture

Title: A New Walk Through: Contextual Group Calendar and breadcrumbs Using Calendar module, Views and Panels 2 » Contextual Groups Calendar and breadcrumbs Using Calendar module, Views and Panels 2 — Step by Step
lowVocal’s picture

Title: Contextual Groups Calendar and breadcrumbs Using Calendar module, Views and Panels 2 — Step by Step » Contextual Groups Calendar and breadcrumbs Using Calendar module, Date, Views and Panels 2 — Step by Step
WISEOZ’s picture

lowVocal,

Can you describe how your Panels Page is set up first? I followed this tutorial to set up an OG/Panels2 group home page which looks somewhat different than the screenshot you show of configuring the Panels Page: http://www.tejasa.com/node/160.

When I follow that other tutorial I end up breaking the links to "Create ..." within my OG. Also, my mission statement doesn't show up. I was just hoping maybe you could share what you did to get your OG/Panels2 page set up.

Thanks!

KingMoore’s picture

this has been very helpful. I have been battling with getting the OG breadcrumbs and context working with Panels. Nothing is as it seems.

sepeck’s picture

feel free to add it to the handbooks. any registered drupal.org account can add.

lowVocal’s picture

StatusFileSize
new52.92 KB

WiSeOz --

I created a view og_ghp_view. The default group view is og_ghp_ron. (I modified and renamed the og_ghp_ron view.)

I then selected this view as the Group Home Page in the OG config under "Group Home Page" (see screenshot). I only have one "Group" node type. Moshe has several.

I then placed this view into a two-column stacked panel. This allowed for any group-specific activity to be viewed in the panel (Top is empty and Bottom is the og_ghp_ron view.)

The two "middle" columns contain the Group Details block (add stuff to the group) and the tabbed mini panel.

Hope it helps.

lowVocal’s picture

Really glad I could help!

lowVocal’s picture

Title: Contextual Groups Calendar and breadcrumbs Using Calendar module, Date, Views and Panels 2 — Step by Step » Drupal Handbooks Entry
Status: Active » Closed (fixed)

I have entered this into the Handbook:

Step-by-Step: Contextual Group Calendar Using Calendar module, Date, Views and Panels 2

Although I will be happy to address comments and questions as I can, I will close this "issue," as it is no longer appropriate here.

sepeck’s picture

oh, btw, welcome to the docs team. You now have handbook maintainer rights which means you have access to the documentation filter which has upload and img tag access. You can upload the graphics and switch filters if you want to add images :)