CodeIgniter Forums
How to amend a View using a Module? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Using CodeIgniter (https://forum.codeigniter.com/forum-5.html)
+--- Forum: General Help (https://forum.codeigniter.com/forum-24.html)
+--- Thread: How to amend a View using a Module? (/thread-78891.html)



How to amend a View using a Module? - Joboy2212 - 03-23-2021

Currently, I have a custom View file that I want to edit namely, dashboard.php.

I thought the best practice is to use a module to do so.

I've created the module and tried adding the view, however, I'm finding it difficult to figure out the controller that will help me point the system to use the module view and not the View on the system.

Any recommendations for me to try?


RE: How to amend a View using a Module? - kenjis - 03-23-2021

See https://codeigniter4.github.io/CodeIgniter4/general/modules.html#views