[eluser]ICEcoffee[/eluser]
Hi, I'm just getting into using MVC and codeigniter and I'd like to know if it is 'acceptable' MVC practice to put code into a 'view' file to determine if a <div> is to be displayed or not?
[eluser]Pascal Kriete[/eluser]
If I remember correctly, the wording for the definition of a view, is that it contains "presentation logic". So yes, basic loops and if statements are totally fine.