I have installed the OG and disabled Drupal blocks / regions in Panels. It works fine, but I also have to disable Drupal blocks / regions for all Content Types which are Group Content, when I show them in full view.
How can I achieve this goal?
I know that I can prevent it in admin / structure / block, but is there a smarter way?

Comments

NotGoddess’s picture

Take a look at Panels. You can create a panel override for group pages and disable blocks/regions (usually sidebars only, but depends on theme) just for those pages.

I'm unique, just like everybody else.
If I helped, please pay it forward, backward or sidelong.

zarne’s picture

Thans for your answar, but can uou or someone else tell me how/where I can create a panel override for group pages?

NotGoddess’s picture

You'll have to play a bit to verify...doing this from memory.
But you'd enable the default node/% override.
Add a new variant with a selection rule of Node:Bundle == your group type.
I believe there is a specific 'is group' selection you can also use if you want to override all, or use in tandem if you have variance in groups and some nodes of that type aren't groups, etc.

Then move that variant above the generic override (if you have one) and it should be in place.

I'm unique, just like everybody else.
If I helped, please pay it forward, backward or sidelong.

zarne’s picture

Thank you very much, now I can solve my problem.

zarne’s picture

It works nice, but how can I get OG group content to open in full view inside the OG Group.
Hope there is someone who can help with this too?
It would be really great!

NotGoddess’s picture

remember how you added selection rules to limit that variant to the group node only?
Well, if you want to use the same variant, you need to add your group content selector (type or is group content).
If you want to use a slightly different arrangement (e.g. diff blocks/panes, diff order) then you can create a new variant and set the selectors appropriately. If you want -almost- the same layout but a few things different, the clone the group variant and change the selectors - that'll also clone the block/pane settings you currently have in place for the group so you can alter them.

I'm unique, just like everybody else.
If I helped, please pay it forward, backward or sidelong.

zarne’s picture

Yes, I used Selection rules, and selected: OG: Node is an OG group

As I understand you, I have to go in to Selection rules again, and there find: type or is group content. But that I can't find, so I must have misunderstood something :-(

I hope you or someone else can guide me a little bit more.

You can see my site and group here http://ourefriskole.dk.linux82.wannafindserver.dk/node/161