Hello guys
I'm start working with CI4 for testing propose and prepare the future migrations on my company website.
I have one simply question, Layout?
In the past i used the avenir approach (https://avenir.ro/create-cms-using-codei...dmin-area/), I Public_Controller with 1 layout and have Backoffice_Controller with another layout. It works fine for me.
But I also see another approach, the Library approach, (some old stuff here https://github.com/philsturgeon/codeigniter-template)
I recently find another one the Hook approach, (https://stackoverflow.com/questions/2956...nd-layouts)
So what is your opinion, what is the best approach for creating a layout system for CI4?
I like the extend My_controller approach, but I really confuse with the best way to do thing in CI4
I'm start working with CI4 for testing propose and prepare the future migrations on my company website.
I have one simply question, Layout?
In the past i used the avenir approach (https://avenir.ro/create-cms-using-codei...dmin-area/), I Public_Controller with 1 layout and have Backoffice_Controller with another layout. It works fine for me.
But I also see another approach, the Library approach, (some old stuff here https://github.com/philsturgeon/codeigniter-template)
I recently find another one the Hook approach, (https://stackoverflow.com/questions/2956...nd-layouts)
So what is your opinion, what is the best approach for creating a layout system for CI4?
I like the extend My_controller approach, but I really confuse with the best way to do thing in CI4