CodeIgniter Forums
view with namespace not work - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: CodeIgniter 4 (https://forum.codeigniter.com/forum-28.html)
+--- Forum: CodeIgniter 4 Support (https://forum.codeigniter.com/forum-30.html)
+--- Thread: view with namespace not work (/thread-72958.html)



view with namespace not work - pjsde - 03-05-2019

Hello,

I am trying to create a view using a namespace but it does not perform giving me error. What happens is that it will not fetch the path from the namespace but rather the path of the Config /../ Views / namespace folder.

Can anyone help me.

Thanks


RE: view with namespace not work - kilishan - 03-05-2019

Provide a code sample, and show how your namespace is setup in Config/Autoload.php so we can help.