Skip to:

Opened 7 years ago

Closed 6 years ago

#2536 closed enhancement (fixed)

Forums widget, current forum class

Reported by: dimitrov.adrian Owned by: johnjamesjacoby
Milestone: 2.6 Priority: normal
Severity: normal Version: trunk
Component: API - Widgets Keywords: has-patch 2nd-opinion


Will be nice if we have a class that indicate in widget that we are on current forum

Attachments (2)

widgets.php.patch (776 bytes) - added by dimitrov.adrian 7 years ago.
2536.diff (814 bytes) - added by netweb 6 years ago.

Download all attachments as: .zip

Change History (5)

#1 @dimitrov.adrian
7 years ago

  • Milestone changed from Awaiting Review to 2.6

6 years ago

#2 @netweb
6 years ago

  • Keywords 2nd-opinion added

Refreshed patch against /trunk:

  • Add a CSS class bbp-forum-widget-current-forum to the <li> element for the current forum in the forums widget.

#3 @johnjamesjacoby
6 years ago

  • Owner set to johnjamesjacoby
  • Resolution set to fixed
  • Status changed from new to closed

In 5845:

Widgets: Add class to forum widget to indicate if item in list is the current forum being viewed.

Props dimitrov.adrian, netweb. Fixes #2536.

Note: See TracTickets for help on using tickets.