may i do the forum and blog modules work with the og ??? i mean, when i go to specific forum, the og blocks disapear, but i need that not happen, what can i do!??
thanks in advanced
If you created forums before you installed og / og forum then you will need to migrate your forums into your groups. Otherwise, simply use the og forum administration to create new group forums. The link is in the "group details" block.
As for blogs, you can do this any number of ways. Generally, if you need a blog for every user and you want user blogs to be associated with groups then set the blog content type to be a standard group post. Then, when users are in their groups and creating blog posts those posts will be associated with that group.
There are other ways to handle blogs and groups, though. For example, you could have a corporate blog (more than one author), which you could set up as a closed group to which your authors belong. Then, you only need to use the story type as the group post. Snap, you have a blog.
Aldo Martinez Selleras wrote:
may i do the forum and blog modules work with the og ??? i mean, when i go to specific forum, the og blocks disapear, but i need that not happen, what can i do!??
thanks in advanced
look, i have modify the page template for my own content type "group_node", them i add links for control the group, ex, forums, blogs, them, i'm using views and panels for that, and i want the forums and the blog be show in the views and the panel, and the og_forum don't let me do that.
when i click in Group Forums links inside the group details block, i go in the forum container referenced to my group, but the group details block disapear... i need this block stay here!
There is a patch for og_forum which keeps you in the group when you go to forums. Search the queue, or google to find it. If you don't know how to apply a patch, you can google that too. There are instructions somewhere on drupal.org.
As for getting the forums onto your group homepage, within a panel pane, this is not directly supported. However, I recently asked this question here and got a great answer. I'm quoting it below for your convenience (thanks again, David):
-------------------------------------------------
This is a bit hackish but I've don'e this successfully using panels2 by using custom PHP code. It involves being able to read a module's menu_hook though and write a little PHP, and being careful about security (cause you can bypass menu security this way.
The basic outline:
1. Determine the function being called in the menu_hook, 1. Create a minipanel (just to abstract the logic and security) 2. Ad a snippet of custom PHP code that calles the function. 3. Be extra careful to set security on this minipanel as it bypasses the menu security mechanism.
In your example, the forums page could be loaded into any Panel by including the following custom php pane in your mini-panel.
$block->content = forum_page();
This mini-pane can then be inserted into any block you have. Here's a more intense example where I'm passing context data to the php custom page to add the view cases page to a form that passes node id into the function being called.
$block->content = casetracker_cases_overview($context->data->nid,'state:6');
Your question has sparked some interesting ideas for me with regard to creating a module that does this more generically based on the data that's already in the menu system :) . Especially once we get to drupal 6 and wildcards in the path. Wow the possibilities are endless.
Hope this helps.
Aldo Martinez Selleras wrote:
when i click in Group Forums links inside the group details block, i go in the forum container referenced to my group, but the group details block disapear... i need this block stay here!