does anyone know where I would start with adding stats to the menu example:
Current menu look:
Want to add the future similar to this:
does anyone know where I would start with adding stats to the menu example:
Current menu look:
Want to add the future similar to this:
|
well the database tables sys_stat_site and sys_stat_member... Ads would be:
SELECT COUNT(`ID`) FROM `bx_ads_main` WHERE `Status`='active' AND UNIX_TIMESTAMP() - `bx_ads_main`.`LifeTime`*24*60*60 < `bx_ads_main`.`DateTime`
For the php i guess you could look in /templates/base/scripts/BxBaseMenu.php.
And you may need to edit navigation_menu.html or navigation_menu_item.html ....
I know there is more but that's start. Be nice if you could trigger the sql statement in a language key. not sure if that could be done or not. https://dolphin-techs.com - Skype: Dolphin Techs |