Statistic Group
From Contao Community Documentation
I'm not a native English speaker. Please correct my mistakes.
Statistic group in the back end, with initial filling.
Extension-Overview | |
---|---|
Name of the developer | Glen Langer (BugBuster) |
Developer Website | http://www.contao.glen-langer.de |
Version of the extension | 1.0.0 |
Compatibility with Contao Version | ab 2.10.4 |
Link to Extension Repository | http://contao.org/en/extension-list/view/zz_statistic_group.en.html |
Link to Tracker | https://github.com/BugBuster1701/zz_statistic_group/issues |
Note: the group is visible only if at least one entry in it.
Using for your own extensions
Everyone can use this group with its own extension. For this the following information.
The menu item is defined as follows (modules.php), in german and english:
$GLOBALS['TL_LANG']['MOD']['statistics'] = 'Statistiken'; // de $GLOBALS['TL_LANG']['MOD']['statistics'] = 'Statistics'; // en
An extension can now be used as follows (config.php):
$GLOBALS['BE_MOD']['statistics']['demo_stat'] = array ( callback => ModuleDemoStatistik, icon => 'system/modules/demo_stat/html/icon.gif', stylesheet => 'system/modules/demo_stat/html/mod_demo_stat_be.css' );
The above example is a callback module. The principle should always be understood.
--BugBuster 21:29, 16. Aug. 2012 (CEST)