Welcome Guest, Not a member yet? Register   Sign In
CI4: How to run modules in views?
#5

(04-23-2019, 10:44 AM)kilishan Wrote: Whatever you call in the cell can generate the HTML. Use a view partial for whatever you want to display and generate that within the modules method, then return the generated HTML to cell.

That's the only variant we have, but that should work, right?

Yes this variant with view_cell good work for me too. Maybe I'm just used to CI3+HMVC and think by the standards of this version. Thanks a lot for clarification about this functional. P.S. I'm waiting for your book https://leanpub.com/codeigniter4foundations. I hope is coming soon)
Reply


Messages In This Thread
CI4: How to run modules in views? - by Avega Soft - 04-23-2019, 05:07 AM
RE: CI4: How to run modules in views? - by Avega Soft - 04-23-2019, 08:12 PM



Theme © iAndrew 2016 - Forum software by © MyBB