Like if i put $menu in the header template it should check if the user is logged in or not, and if he is logged in then the template menuloggedin should show and if the user is not logged in then the template menulogin should show.
I've tried for like 1hour to edit the global.php so this would work but i was unsuccefull, but as i see it it should be like 5lines of code, and not so hard to make if you know php good.
I've tried for like 1hour to edit the global.php so this would work but i was unsuccefull, but as i see it it should be like 5lines of code, and not so hard to make if you know php good.
Comment