Hello, I got a fuel php project from my client. i see the code of fuel php and i understand the working of that project then i want to create a page and link with exist template into my controller page.
I am create a page controller and view page also, when i view my page from controller is working fine but when i use my current template of my code is not working. I am shareing the both codes with you below. Previous code from Project:
<?php
class Controller_Public_Aboutus extends Controller_Public
Existing code are able to access current template but my code is not able to accessing the template. Please if any expert in FuelPHP, please help me to solve this problem.
Hello Harro, I am want project template use in my view page.
My website is working fine,In my website i created a template for main header and footer seperate in view section inside template.php .I am creating a controller(Ask an expert) and use controller template code inside action_index function but whenever i am use controller template code its give me unexpected error. This template code is working perfect in other pages but when i use in my new page its not working.
The page error is a routing error, so it can't find the controller that should serve that page.
The name of the controller looks file, so perhaps there is custom routing defined that overrides the standard mapping. It could also be a rights issue, check if the webserver had read access on the controller and related files.
Oops errors generally programming errors which are logged in the log file.