Welcome Guest, Not a member yet? Register   Sign In
CI4 not registering view with Smarty
#1

Hello,
I have noticed that if I use smarty template engine, debug bar always shows "Views 0" and no template data. Is there any way to modify debugger to correctly pick up smarty and provided data to the template?
Reply
#2

Of course.
1. You need to create a provider class that will implement the RenderInterface, pass all Smarty calls and generate data for the toolbar.
2. Override the renderer service in which you will instantiate the above class.

=)
Reply




Theme © iAndrew 2016 - Forum software by © MyBB