• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How call/ run module in view file

#1
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 ?
Reply

#2
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.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply

#3
(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
Reply


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.