The most correct way to realize it - create custom view helper and extend it from System_View_Helper_RightMenu. Then you can modify the overloaded method rightMenu() code as you need to gain statistics values.
You can't do this like you discribe it.
The most correct way to realize it - create custom view helper and extend it from System_View_Helper_RightMenu. Then you can modify the overloaded method rightMenu() code as you need to gain statistics values.
Alexandr,
Try to use view helper to output statistics block something like this:
You can find this view helper by path /application/modules/system/helpers/RightMenu.php
Also note, that you need overload layout/header.phtml in your custom theme to prevent file overwriting on next system upgrade.
Alexandr,
Try to use view helper to output statistics block something like this:
You can find this view helper by path /application/modules/system/helpers/RightMenu.php
Also note, that you need overload layout/header.phtml in your custom theme to prevent file overwriting on next system upgrade.
the thing is that I only want the numbers, that is, I want to get something like $ this-> rightMenu () -> users-> value (the number of users)
the thing is that I only want the numbers, that is, I want to get something like $ this-> rightMenu () -> users-> value (the number of users)
You can't do this like you discribe it.
The most correct way to realize it - create custom view helper and extend it from System_View_Helper_RightMenu. Then you can modify the overloaded method rightMenu() code as you need to gain statistics values.
You can't do this like you discribe it.
The most correct way to realize it - create custom view helper and extend it from System_View_Helper_RightMenu. Then you can modify the overloaded method rightMenu() code as you need to gain statistics values.
thanks ^) I will try this.
thanks ^) I will try this.
Replies have been locked on this page!