[eluser]comex[/eluser]
Hello,
I currently have a view file that contains my menu(top) that gets loaded on every page. Up until now it has been sufficent with static links(and some minor PHP to check if the user is logged in e.t.c..)
What I want to do now is to add more checks(depending on which section the user is browsing and so on) and I was wondering how you guys would do the code layout? It gets quite ugly with a lot of PHP in a view file.
Any clever solutions to this "problem"?
Thank you