[support] Need help for og views themes
Pierre Rineau
pierre.rineau at makina-corpus.com
Tue Oct 5 06:50:45 UTC 2010
On Tue, 2010-10-05 at 11:18 +0530, sushil wrote:
> Hello All,
>
> I am trying to build a social networking site using Organic Groups(OG),
> I am creating various types of group posts (content types) and relating
> the content types to each groups, I am managing it with 'OG' modules
> group post setting while editing the content type. We can select a theme
> for a particular group from enabled themes. These all posts
> automatically takes its Parent groups theme.
> But now the problem is When I create Views, I want to show the view in
> groups theme. (can we manipulate theme of views by URL arguments?)
>
> Thanks in advance! =)
>
> --
> Sushil Hanwate
With some bits of code in a custom module you could to the trick. Could
be a hook_init() implementation which check if you are displaying such
view, then set the og context. It's not the best but it could work.
Pierre.
More information about the support
mailing list