
from indico.core.plugins import WPJinjaMixinPlugin
from MaKaC.webinterface.pages.conferences import WPConferenceModifBase


class WPStatistics(WPJinjaMixinPlugin, WPConferenceModifBase):
    active_menu_item = 'statistics'


from indico.core.plugins import WPJinjaMixinPlugin
from MaKaC.webinterface.pages.conferences import WPConferenceModifBase


class WPStatistics(WPJinjaMixinPlugin, WPConferenceModifBase):
    sidemenu_option = 'statistics'

Mark sidemenu entry as active
Piwik: Mark sidemenu entry as active

  
  from indico.core.plugins import WPJinjaMixinPlugin
  from MaKaC.webinterface.pages.conferences import WPConferenceModifBase
  
  
  class WPStatistics(WPJinjaMixinPlugin, WPConferenceModifBase):
-     active_menu_item = 'statistics'
+     sidemenu_option = 'statistics'
  
Mark sidemenu entry as active
## Code Before:

from indico.core.plugins import WPJinjaMixinPlugin
from MaKaC.webinterface.pages.conferences import WPConferenceModifBase


class WPStatistics(WPJinjaMixinPlugin, WPConferenceModifBase):
    active_menu_item = 'statistics'

## Instruction:
Mark sidemenu entry as active
## Code After:

from indico.core.plugins import WPJinjaMixinPlugin
from MaKaC.webinterface.pages.conferences import WPConferenceModifBase


class WPStatistics(WPJinjaMixinPlugin, WPConferenceModifBase):
    sidemenu_option = 'statistics'
