How to create custom view folder |
IIRC the renderer service is instantiated earlier in the process, so the shared copy in the app has app/Views as its view folder. I believe all you need to do is request a non-shared instance of the renderer and it should work. You can see a working example over on the forum project I've started.
PHP Code: $renderer = Services::renderer(ROOTPATH .'/themes/', null, false); |
Messages In This Thread |
How to create custom view folder - by Chivinsdev - 04-17-2020, 06:09 PM
RE: How to create custom view folder - by kilishan - 04-17-2020, 08:50 PM
RE: How to create custom view folder - by Chivinsdev - 04-17-2020, 11:25 PM
RE: How to create custom view folder - by jekslek - 04-19-2020, 05:51 AM
RE: How to create custom view folder - by Chivinsdev - 01-03-2022, 08:12 AM
|