[eluser]Alak[/eluser]
oki for the form it's possible, but when i'm logged i need to display some information
_______________________
| |
| Hi, Alak |
| 5 message(s) |
| in your box |
|_______________________|
in my login_controller.php it load my login_view.php and if i'm logged he desplay the box like at top if i'm not he display the form.
How can I including this box in my view? If I can't, someone can show me how he manage this situation?
I think i've a bad use of controller. Look, if in my menu i've 3 button like : News FAQ Contact, i creat 3 controller, one for each my website page. and if I ve a functionnality displayed on all of my page like login systeme or poll system i creat a controller too.
Actually on my point of view i've 2 solution :
1) creat just one controller with the action of News FAQ Contact Poll and Login
2) Rewrite Login or poll controller in News, FAQ Contact controller.
But i Think the both are false, I ve to learn the good method
Thank you for your help