Group Custom Theme Questions

We have a custom Theme for our site. One of our grous is treated like a subsite and we want different site header/footer widgets. Whats the best way to accomplish this? The widgets are currently set at the site level, so we are not sure the best way to approach this.

Parents
  • Hi Steven

    There are a lot of options to do this.

    - One way is to create another group theme for that group in particular
    - Another way is, in the widget itself, based on the group ID(s), hide or show specific widgets.

    A short example of the second option:

    #set ($currentGroupPath = $core_v2_group.CurrentGroupPath)
    #set($gpid=$currentGroupPath.get_Item(0).Id)
    #set($subsetgpid ="22")
    #if($gpid != $subsetgpid)
    $core_v2_widget.Hide()
    #end

    Hope this helps a bit. Let me know if you have more questions.

Reply
  • Hi Steven

    There are a lot of options to do this.

    - One way is to create another group theme for that group in particular
    - Another way is, in the widget itself, based on the group ID(s), hide or show specific widgets.

    A short example of the second option:

    #set ($currentGroupPath = $core_v2_group.CurrentGroupPath)
    #set($gpid=$currentGroupPath.get_Item(0).Id)
    #set($subsetgpid ="22")
    #if($gpid != $subsetgpid)
    $core_v2_widget.Hide()
    #end

    Hope this helps a bit. Let me know if you have more questions.

Children