Drupal Dojo Group Barnraising

joshk's picture
Start: 
2008-03-30 11:00 US/Pacific

Download screencast from DrupalDojo.com
View/embed from blip.tv

Many have heard of the "new functionality" coming to groups.drupal.org, and I'm happy to say that thanks to the diligent work of Moshe and Earl, the era of og_panels is here! This addition to the Organic Groups module allows unprecedented opportunities for us to make our group home much more useful.

Tune in on Sunday for a little jam session on this. We'll riff on how best to set up the group, and I'll tape a short screencast documenting how all group admins can make use of these awesome new tools.

Groups:
Login to post comments

about the screencast.

oskar_calvo's picture
oskar_calvo - Mon, 2008-04-07 16:39

Hello joshk, first of all thank by the video.

I'm sorry to say that I can not learn to much about it because I thing that you don't explain a few thinks. Also, I have been checking drupal.org and drupadojo to be sure that I don't have to read nothing else.

My problem is that I don't know what are the module that are needed, only og?.

Also the access control, How I have to configure it. Maybe you think that those kind of thing are for dummys, but the best documentation is that begins with the easy and finished with the hard.

For instance, in the video I see that you go to this url: node/number/og_panels/form trough a tab, I am not able to get that tab. And If I try to go throught the url with the group owner user, Drupal told me that I don't have permission to do it.

I'm really intenrested in og because I'm doing spanish documentation of the modules as you can see in my blog:
http://www.documentados.com/blog/oskar.

Thanks

Oskar


Oskar, This screencast was

Senpai's picture
Senpai - Sun, 2008-04-13 22:04

Oskar,

This screencast was showing off the added functionality that Panels2 integration brings to Organic Groups. It was not intended to show anyone how to install or configure a module. Just FYI.

Senpai (my d.o account)
Drupal | Community Plumbing
Drupal | The Website Building System created by the Community and for the World


Hey Oskar, You asked 'My

shavenyaknz's picture
shavenyaknz - Mon, 2008-04-14 00:45

Hey Oskar,

You asked 'My problem is that I don't know what are the module that are needed, only og?'. He answers that question within the first minute, he says you need Og along with 'Panels' and 'Views' ...


wow

WorldFallz's picture
WorldFallz - Thu, 2008-04-10 23:53

that's all i can say. Seriously, this kind of functionality (og, panels2, etc) is going to CATAPULT Drupal past all the other CMS's out there-- OS or commercial. very cool stuff.

and thanks for doing a screencast of it so quickly-- reading about this has no where near the impact of seeing it in that screencast.


A few of those unexplained things...

micah's picture
micah - Sun, 2008-05-25 04:52

First, let me thank you for an excellent video. Yesterday, I was on og-5.x-5.4 with no working panels, and tonight I've got my first group panel home page working with og-5.x-7.2 and panels-5.x-2.0-beta3.

The screencast got me 90% of the way there, and I went back and watched a couple of parts as I worked. However, as Oskar mentioned above, it didn't explain a couple of things. I spent a lot of the day searching for answers. I almost posted requests for help here twice, but I eventually battled my way through trial and error to figure them out. If there is documentation (or better yet, a tutorial) on how to create Panel Views somewhere, I'd like to know where, because it would sure make life easier.

When I watched the video, I already had the latest versions of og, panels and views installed, and had existing groups created and working. When I tried to mimic the video, there were a couple of items missing from the list when I wanted to add content.

The first was the ability to add a specific node. I found this by enabling the Legacy Node Panes module. Since this is deprecated, I'll probably try to do this another way.

It took me a while to notice that "Welcome Message" is an option under "Organic Groups" when adding content. That tripped me up a bit, so I thought I'd mention it here for anyone else muddling through this.

The hardest part for me was building the panel views that were used in the video. I found the default og_recent_type_term view in admin/build/views fairly quickly, but it took a lot of poking and prodding to make it work like the video. Here's what I ended up doing:

In admin/build/views, click the Add button next to og_recent_type_term and create a new view called og_recent_type_term_teasers. Leave all of the settings the same as the default, except change the page type from "List View" to "Teaser List."

In admin/panels/views create panel views for both og_recent_type_term (titles only) and og_recent_type_term_teasers (teasers). Set the panel view titles so you can find them when building your panel page later. Set the view type to "Embedded" or your views will mangle your page title and breadcrumbs.

The panel view settings contain sections for Node and Taxonomy arguments, Set these both to "Input on pane config."

Under the paging section, I also checked the three boxes for "Allow the pane configuration to modify"... so I could set these when I used them instead of in advance.

Those are basically the steps I needed to get this working. I may have missed some things, or not done it the best way possible, so I welcome feedback on this. But I decided that since I couldn't find that info anywhere else, I'd go ahead and share it here. Hope it helps someone!

Micah


Really useful

peashooter's picture
peashooter - Mon, 2008-05-26 05:36

Thanks for that Micah,

I've been struggling with Panels 2 and Organic Groups too. I had it mostly figured out, but I was getting mangled (repeated) breadcrumbs, so your tip about setting view type to 'embedded' was gold, thanks.

If you do ever figure out how to add a specific node without the Legacy Node Panes module, please let me know!

Thanks again


Specific Nodes

micah's picture
micah - Tue, 2008-05-27 15:54

Peashooter,

I played with that a little bit yesterday. I wrote a View that basically returns only one node per group based on title. Seems a little overkill, but it works. The way I'm using this, it almost makes more sense to just write it as custom content within panels, so I'm not sold on it.

In some respects, I'm not sure I've found the most efficient way to handle this. Then again, maybe the most efficient way would be with a custom page template.

The cool thing I'm discovering about this is that it will allow me to keep Panels editing restricted as an administrator function, but allow group owners to edit the nodes that make up the panel pages, so I kind of get the best of both worlds, at least for the one site where I'm now using this.

Micah