Closed MathieuMenegain closed 4 years ago
I’m not sure, maybe we could ask @fiskhandlarn about this.
@menegain I'm not sure i understand your problem.
blade_controller
. Regarding 2: I don't remember, but I don't think ekandreas/bladerunner
automatically displayed blade templates for it's controllers ..? How would you suggest my package should now which controller to be called/shown for which wordpress post type and so on?
Thanks for your response. My FrontPage controller load with renderController
or blade_controller
but i note ekandreas/bladerunner
is install as plugin and contains setup.php file into globals folder who launch a Wordpress action to call a file in controller folder.
With this, for exemple, before, my file front-page.php is not in path theme folder but in the controller folder.
Hi,
I use ekandreas/bladerunner but now with the 8.0 of wordplate, i have a composer conflit with this package. I see you advise fiskhandlarn/blade in the documentation but he don't autoload my controller as did bladerunner. Did i miss something ? My controller in 'myTheme/App/Controllers/FrontPage.php' :
My BaseController extend
Fiskhandlarn\BladeController
and he is innamespace App\Controllers
.In my composer.json :
Do i have to create a front-page.php in myTheme folder and call
renderController
? It's duplicate file and error source and waste of time i think. One solution ?Thank you in advance for your answers