-
Notifications
You must be signed in to change notification settings - Fork 0
Custom component and actions
glushkovds edited this page May 29, 2019
·
4 revisions
Adding custom component with default and my actions, that available by url: http://site/custom/ and http://site/custom/my/
- Add new dir
/ext/custom - Add component file /ext/custom/comcustom.class.php
<?php
class ComCustom extends ComAction {
public function actionIndex(){
// there is default action
}
public function actionMy(){
// there is my action
}
}- Add component to DB:
- Add access component url in menu manager

