Editing widgets on multiple forums

I have a site setup with multiple subgroups, each having multiple forums under them. When I edit the widget layout on any singular forum, those changes are applied to every forum in that same subgroup. Is it possible to have each forum with its own unique widget, or will the same layout always be applied to each forum?

Parents Reply
  • You could create multiple copies of the widgets you want on the page and add logic to the top of the content script of the forum-specific widgets that checks for the current form using code similar to the following:

    #set($forumId = false)
    #set($forumId = $core_v2_forum.Current.Id)
    #if (!$forumId || $forumId != TARGETFORUMID)
        $core_v2_widget.Hide()
    #end

    Where you replace TARGETFORUMID with the 'Identifier' number for the forum from Manage Forum > Forum Options > Identifiers > Identifier.

    Anytime there is not a current forum or the current forum is not the target forum, the widget will be hidden.

Children