question : SaaS style URLs , HMVC , Dev Footer |
(06-16-2018, 03:27 AM)InsiteFX Wrote: SEE: This Website Hi, So currently using HMVC, I can do something like template/one/ which calls view layout_out then from my controller, i pass this view for $data and content is loaded fine. But in the layout_one view itself, i have multiple divs ( say for banners, footer, header) and from that view itself, I call it like this: echo modules::run('banner/promotions'); echo modules::run('page/footer'); echo modules::run('sidebar/nav'); so curerntly, a controller calls a page .. where it displays the data, but the page itself calls multiple other controllers to display parts .. making CI very flexible like any wordpress/joomla module with template etc. But in CI4, i read that there will be no ability to do anything like this ( the view will be just a view without even ability to run php) so how is the above kind of use-case handled in CI4 ? Thanks, |
Messages In This Thread |
question : SaaS style URLs , HMVC , Dev Footer - by admin0 - 06-15-2018, 12:22 PM
RE: question : SaaS style URLs , HMVC , Dev Footer - by InsiteFX - 06-16-2018, 03:27 AM
RE: question : SaaS style URLs , HMVC , Dev Footer - by admin0 - 06-16-2018, 04:04 AM
RE: question : SaaS style URLs , HMVC , Dev Footer - by InsiteFX - 06-16-2018, 09:31 AM
RE: question : SaaS style URLs , HMVC , Dev Footer - by admin0 - 06-19-2018, 06:15 AM
RE: question : SaaS style URLs , HMVC , Dev Footer - by InsiteFX - 06-20-2018, 04:08 AM
RE: question : SaaS style URLs , HMVC , Dev Footer - by admin0 - 06-24-2018, 04:34 AM
|