By jdeyburg on
Sorry for the newbe question. I am trying to setup a social networking site using Organic Groups and am very new to drupal ... so I apologize for the simple question. How do I change the default display when someone selects an organic group. So in other words, when someone selects a group, I would like the default page to show a paragraph about the group ( from the group node) and a menu with items such as "blog", "forum", "users", etc.
I have played around with the view module .. but am hopelessly lost. Any good documentation I should be looking at?
Comments
=-=
I don't believe you need views.module to do what you seek. Have you read through the documentation here : http://drupal.org/node/206712
views creates lists of data, it doesn't theme your OG page.
Wow.. that was a quick reply
Wow.. that was a quick reply ... I will take a look. Thanks!!!
OK ... still a little
OK ... still a little confused. Should I be looking at themes? The reason I thought views is because a list of groups, etc seem to be done with views.
Any other ideas? Opinions?
Any other ideas? Opinions? Any documentation suggestions?
=-=
my apologies this slipped off my radar.
have you taken a look at groups.drupa.org ?
what you see there is what OG can do, is it not simiar to what you are asking ?
?
I have been looking at that group ... and the OG module does exactly what I need. But there is not a lot of documentation about customizing the views. I know the OG module does use the View modules for a lot of it's functionality, including the front page of a group.
Frankly, I think I have a general lack of understanding of how Drupal operates.
Thanks for the reply!
Should I be looking in the themes documentation
Still hopelessly lost. Should I be looking in the themeing documentation?
=-=
Hiya John,
I've not forgotten about you. My knowledge of OG isnt so extended that I can rattle off exactly what to do in your case. That could also be why there aren't many respondents in the thread. It's going to take a length of time to hash out and write up.
I intend to set up a demo site with OG on it and see what kind of information I can provide for you that way. We can both learn something!
I don't think themeing is 100% the answer either.
Ultimately for the menus, I believe you would create a menu and add it to the group path, but don't quote me.
I also have an odd feeling the blocks that list the groups may be a standard block ? but again don't quote me.
Very generous
Wow, going through the work to setup a demo site is very generous. Do you ever take freelancing work?
=-=
: ) came back to report that demo site was up and I see you are moving forward! good deal!
It won't go to waste as there is much more I should understand about this module.
as far as freelance work, it depends on the task. If it's something out of my realm I don't. I'm honest about what I can and cannot accomplish.
I have a corporate intranet
I have a corporate intranet setup using og. VeryMis is indeed correct-- what you ask for is available with default og out of the box. You might need to enable the "group details" block at admin/build/blocks-- that's the group specific menu links. As for a paragraph about the group-- just navigate to the groups home page, you should have an "edit" link for the node there.
You need to crawl before you can run--- get default og up and running and play around with the configuration to learn it's limits. Then you'll be in a better position to decide what/how to customize.
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
I reinstalled Drupal to clarify my issue
I am currently running Drupal 5.9. Maybe 6.x looks different?
I reinstalled drupal so I can see what groups looks like out of the box (I have been making changes for two days now!). When you first setup groups, the group homepage defaults to the view og_ghp_ron. That view is quite simply a view that displays the Group name and then proceeds to list every node associated with the group. So blog entries, stories, forum postings,etc are all listed in order by which they were created without regard to type or any logical formatting.
There is a menu, but the group menu is placed on the left sidebar by default.
I would like to have something a little bit nicer looking. I think I need to edit the view, but frankly the views module seems limited to only displaying lists. I can not see any other way to making the homepage of the OG something other then a view. So my task now is to understand how to edit and theme views. Does that make sense?
I really appreciate all of the help!
I can not see any other way
Not quite. Recently, og added support for panels pages. For an idea of what you can do see the drupal dojo group page. Very cool stuff. On the first link above, there's a link to a screencast that goes into how to use them. Also, on the dojo site is a pretty good screencast on theming views you might want to take a look at. Learning how to theme views is a skill well worth having-- once you grok it, you'll make plenty of use of it. Same thing with panels-- once you learn it, a whole new world of content presentation will be open to you.
On my site I ended up not wanting a view on the main part of my ghp at all and just added some blocks with views in the sidebars. In the version of og i'm using I had to trick/hack og into not displaying any nodes (if you specify a blank view, og "helpfully" inserts some random node listing there). If you want to know how to not have any node listing at all, let me know. But I'm hopeful this has been addressed in the latest version that has panel page support.
===
"Give a man a fish and you feed him for a day.
Teach a man to fish and you feed him for a lifetime." -- Lao Tzu
"God helps those who help themselves." -- Benjamin Franklin
"Search is your best friend." -- Worldfallz
Thanks everyone for your help
I figured out a solution that will work until I get more proficient at Drupal.
I created a panel page with the home directory node/%/. That seems to have done the trick. Now Drupal display the panel page instead of the views page. And of course I have a few views that are now blocks displayed in the panels page.
I would really like to thank everyone for your help!!!!
=-=
@ jdeyburg - Glad you are up and moving forward.
@ Worldfallz - Thanks for the help!