@mgazdzik opened this Pull Request on April 2nd 2014 Contributor

Added some hooks required for custom theming:

  • Template.addBeforeMenuContent - was used for adding breadcrumbs. Parameter is used to pass what should be last element of breadcrumbs, according to active plugin.
  • Template.addExtraContentTopBar - this allows to formulate own top menu, not necessarily split into two twig templates. All variables used in respective templates are passed into this hook, allowing to apply own logic.
  • LanguageManager.alterAvailableLanguages - allows plugins to nicely limit available languages to only defined list.
  • Template.loginScreenExtraAssets - allows to inject additional assets to modify login screen look
  • Template.footerAddExtra - allows to inject some custom footer into Piwik
@mattab commented on April 14th 2014 Member

Thanks for the suggestions and PR! I've put instead a couple new generic hooks.

This Pull Request was closed on April 14th 2014
Powered by GitHub Issue Mirror