I'm working on a project based on Joomla.
We are not using the joomla register/login default form, instead we have created a custom registration/login system based on our mysql tables.
We need to dynamically modify the joomla main menu:
we have to change the menu items if an user is logged in (we see if an user is logged by checking some values in the session and testing tokens), so we need to make a mysql query and then alter the menu items dynamically. How can we should do this ? Is even possible to insert custom php code in the joomla main menu ?