Closed stevenmunro closed 7 years ago
Put @controller in the view code and you get some debug info with template hierarchy.
19 sep. 2017 kl. 01:08 skrev stevenmunro notifications@github.com:
In WordPress, you could specify in the page edit screen which page template to use. How would I go about having this option with this plugin?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or mute the thread.
@controller
I did this and I got
Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Class 'Bladerunner\ControllerDebug' not found in /app/public/wp-content/uploads/.cache/fd8b028a44580e18f43362604ca43a0e64f8420e.php on line 13
I don't know what it is specifically, but I disabled PHP-Composer on my WordPress installation, and used the plugin at http://bladerunner.elseif.se/app/uploads/bladerunner.zip instead. That made the error go away.
The @controller directive came in v1.7 with the controller functions. Perhaps an old Bladerunner version via composer?
In WordPress, you could specify in the page edit screen which page template to use. How would I go about having this option with this plugin?