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
Comments
Comment #1
lowVocal commentedComment #2
lowVocal commentedComment #3
lowVocal commentedComment #4
WISEOZ commentedlowVocal,
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!
Comment #5
KingMoore commentedthis has been very helpful. I have been battling with getting the OG breadcrumbs and context working with Panels. Nothing is as it seems.
Comment #6
sepeck commentedfeel free to add it to the handbooks. any registered drupal.org account can add.
Comment #7
lowVocal commentedWiSeOz --
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.
Comment #8
lowVocal commentedReally glad I could help!
Comment #9
lowVocal commentedI 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.
Comment #10
sepeck commentedoh, 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 :)