-
Notifications
You must be signed in to change notification settings - Fork 87
Tutorial
Md Ali Ahsan Rana edited this page Mar 17, 2015
·
1 revision
- Create a controller inside 'application/controllers'.
- Create a directory for your controller as 'application/views/modules/{your-controller-name}'
- Create a method for your page in your new controller.
- create a file inside your view directory as 'application/views/modules/{your-controller-name}/{controller-method-name}.tpl'
- Repeat step 4 for every new page you want to create.
- Create a controller inside 'application/modules/myaccount/controllers'.
- Create a directory for your controller as 'application/views/member/modules/{your-controller-name}'
- Create a method for your page in your new controller.
- create a file inside your view directory as 'application/views/member/modules/{your-controller-name}/{controller-method-name}.tpl'
- Repeat step 4 for every new page you want to create.
- Create a controller inside 'application/modules/admin/controllers'.
- Create a directory for your controller as 'application/views/admin/modules/{your-controller-name}'
- Create a method for your page in your new controller.
- create a file inside your view directory as 'application/views/admin/modules/{your-controller-name}/{controller-method-name}.tpl'
- Repeat step 4 for every new page you want to create.