Support the development of TastyIgniter Learn more
I am trying to add my own controller and view in Tastyigniter default theme in main directory. But when i try to access it in browser, it shows up Page Not Found Error. Is there any specific rule to add your own controller?
Please help, i am stuck.
You'll have to create the URI route for your new controller. You can do that in system/tastyigniter/config/routes.php
$route['my_controller'] = 'my_controller';
$route['default_controller'] = $default_controller;
Got it. Thank you!
@sampoyigi komal13 i am trying to add a new subfolder with additional php files. but i am getting the same error as page not found. i tried adding the folder name /tastyigniter/config/routes.php file but i am not sure what to add in controller can you please guide me. i want all the files to in this subfolder to be allowed.
vishnu Start a new discussion this particular one is related to version 2