Difference between revisions of "Statistic Group"
From Contao Community Documentation
m (Created page with ''''''I'm not a native English speaker. Please correct my mistakes.'''''<br /><br /> Statistic group in the back end, with initial filling. {{ExtInfo | Dev=Glen Langer ([[User:Bug…') |
(No difference)
|
Revision as of 22:31, 16 August 2012
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)