My project looks like this:
- root<br>
- module
- Application
- view
- application
- index
- index.phtml
- ZfcUser
- view
- zfc-user
- user
- login.phtml
(Sorry if isn't readable it's my first post I tried my best)
When I go to (from my web browser) http://site.local/user and I'm authenticated ZfcUser display login.phtml
Now I want to show some information coming from my module application but I don't want to write specific code on login.phtml or even on any ZfcUser controller since I think it isn't a good practice.
The good practice(I guess) should be to have a prepared controller on application where I give some content to the caller.
Can I get that directly from login.phtml?
Sorry for my English. It isn't my main language if you have trouble understanding my problem feel free to reply and asking for more clarification.
I'm looking for the best method to do this to really understand how it have to be done.
Thanks for paying attention to my problem.