CodeIgniter Forums
How call/ run module in view file - 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: How call/ run module in view file (/showthread.php?tid=77517)



How call/ run module in view file - nguyentrongdev443 - 09-10-2020

Hello !

I using CI 4.0.4 for my project. And i have a problem.

In my layout, right column i have widget latest news, featured news. I want to create widget/module dispay sidebar. And call it in view file.

 

What can i do it ?


RE: How call/ run module in view file - InsiteFX - 09-11-2020

I think what you want to use there is View Cells.

CodeIgniter 4 User Guide - View Cells

Other wise you would need JavaScript to do it.


RE: How call/ run module in view file - nguyentrongdev443 - 09-11-2020

(09-11-2020, 02:54 AM)InsiteFX Wrote: I think what you want to use there is View Cells.

CodeIgniter 4 User Guide - View Cells

Other wise you would need JavaScript to do it.
Thanks bro, i will try it