Welcome Guest, Not a member yet? Register   Sign In
how to use different layouts
#1

[eluser]axelf[/eluser]
Hi,

i use a base-Controller (MY_Controller). There i placed the main layout for the whole site. On a few pages i want to use another layout with a sidebar. how is the best way to handle this?

Should i change the template by the Controller name?
#2

[eluser]TWP Marketing[/eluser]
axelf, Do you mean that you placed all your view html in the controller rather than creating a set of views
#3

[eluser]axelf[/eluser]
What do you mean with es set of views?
i use one view and want to use another view with a sidebar on some pages. this 2 views i want to change




Theme © iAndrew 2016 - Forum software by © MyBB