![]() |
CI4 not registering view with Smarty - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forumdisplay.php?fid=28) +--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forumdisplay.php?fid=30) +--- Thread: CI4 not registering view with Smarty (/showthread.php?tid=80270) |
CI4 not registering view with Smarty - MrLeroy - 10-11-2021 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? RE: CI4 not registering view with Smarty - iRedds - 10-13-2021 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. =) RE: CI4 not registering view with Smarty - MrLeroy - 10-28-2021 (10-13-2021, 04:21 PM)iRedds Wrote: Of course. Wow, you just flexed on me so hard ![]() RE: CI4 not registering view with Smarty - iRedds - 10-29-2021 This was the instruction. |