Assessment on how to ... |
[eluser]Ryann[/eluser]
im creating a layout that has 2 columns for the body (no problem with the header and footer). my question is, how to load 2 views within the 2 columns respectively. my idea is like choosing a menu on the left side then the content on the right side changes.. im a starter in CI so i cant do the simple problem of including menu (left side) and content (right side) when i load my 2 views in my controller it just messed up with my table layout.. its like stacking up depending on how i load the views. thanks
[eluser]Ryann[/eluser]
another thing, do i have to put the views into a public array in the controller? so when i load the view i'll just call the array variable?
[eluser]John_Betong[/eluser]
[quote author="Ryann" date="1224672001"]another thing, do i have to put the views into a public array in the controller? so when i load the view i'll just call the array variable?[/quote] Take a look at the way I do it with Message:4 http://ellislab.com/forums/viewthread/90724/ You mentioned stacking of the partial views so I think your problem is with HTML/CSS Try this in your view Code: ... Try Google with "CSS two-column layouts" |
Welcome Guest, Not a member yet? Register Sign In |