Welcome Guest, Not a member yet? Register   Sign In
variable to layout
#5

(This post was last modified: 07-10-2023, 11:45 PM by munaja.)

I am facing the similar issue, and unfortunately there is no documentation regarding the issue (should be in view-layout related section in the documentation) which I presume there is no feature about it in the current version of CI. I ended up utilizing the layout as simple as possible with very little needs of logic, and utilizing other view's features, like loading multiple views, cell, etc. Flexible, but less structured. Lets hope CI team adds the feature in the future.
------------
EDIT:
I think made a mistake by assuming that there is no feature about it because there is no documentation about it. It seems we don't need to pass any data to the layout since it can detect all data passed from controller to view.
Reply


Messages In This Thread
variable to layout - by pippuccio76 - 01-18-2022, 01:17 PM
RE: variable to layout - by BilltheCat - 01-18-2022, 02:29 PM
RE: variable to layout - by pippuccio76 - 01-19-2022, 08:56 AM
RE: variable to layout - by BilltheCat - 01-19-2022, 09:10 AM
RE: variable to layout - by munaja - 07-10-2023, 11:16 PM



Theme © iAndrew 2016 - Forum software by © MyBB