*/ /** * Włączanie modułów */ stPluginHelper::addEnableModule('stAddThisBackend', 'backend'); stPluginHelper::addEnableModule('stAddThisFrontend', 'frontend'); /** * Dodawanie routingów */ stPluginHelper::addRouting('stAddThisPlugin', '/addthis/:action/*', 'stAddThisBackend', 'index', 'backend'); /** * Dodanie do konfiguracji */ stConfiguration::addModule('stAddThisPlugin', 'group_2', 2);