first commit
This commit is contained in:
29
plugins/appWishesPlugin/config/config.php
Normal file
29
plugins/appWishesPlugin/config/config.php
Normal file
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
/**
|
||||
* SOTESHOP/appWishesPlugin
|
||||
*
|
||||
*
|
||||
* @package appWishesPlugin
|
||||
* @author Bartosz Alejski <whiteface@whiteface.pl>
|
||||
*/
|
||||
|
||||
/**
|
||||
* Enabling frontend and backend modules
|
||||
*/
|
||||
stPluginHelper::addEnableModule('appWishesFrontend', 'frontend');
|
||||
stPluginHelper::addEnableModule('appWishesBackend', 'backend');
|
||||
|
||||
/**
|
||||
* Adding nessesary Routing
|
||||
*/
|
||||
stPluginHelper::addRouting('appWishesPlugin', '/wishes/*', 'appWishesFrontend', 'showWishesSite', 'frontend');
|
||||
stPluginHelper::addRouting('appWishesPlugin', '/wishes/*', 'appWishesBackend', 'responsiveConfig', 'backend');
|
||||
|
||||
|
||||
/**
|
||||
* Dodanie do konfiguracji
|
||||
*/
|
||||
stConfiguration::addModule('appWishesPlugin', 'group_2');
|
||||
|
||||
$dispatcher->connect('smarty.slot.append', array('appWishesListener', 'append'));
|
||||
$dispatcher->connect('smarty.slot.prepend', array('appWishesListener', 'prepend'));
|
||||
Reference in New Issue
Block a user