Welcome Guest, Not a member yet? Register   Sign In
How to create custom view folder
#2

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/'nullfalse); 
Reply


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 jekslek - 04-19-2020, 05:51 AM



Theme © iAndrew 2016 - Forum software by © MyBB