|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Zend mvc and handling admin vs userHello everyone. I would like to ask how do you divide your admin pages and user pages. For example, lets say you have a blog. The user can only see the posts on the blogs. But the Administrator can see the posts but can also edit them and create new posts. So how would you divide this up into your mvc? |
|
|
|
|
|
Re: Zend mvc and handling admin vs userHello Paddy,
What a wonderful blog. Good to see how you take the time to explain so well how it all works. To understand it all well i think I should work through all your tutorials. But I'm afraid there's not enough time for that.
I saw you already took care of the bootstrap file which in my case became polluted because there's just too much in there. So I think this will be the first thing I will do to improve my webapplication. And while I was implementing this I have the following problem:
I have created a bootstrap file. It all works fine. The only problem is that my form's aren't loaded anymore. For example when I go to http://217.149.198.122/login there should be a form loaded. But It' isn't there (it was there previously.)
This is the code in my loginController:
public function indexAction(){
//Load Login form $this->view->title = "inloggen"; $this->view->bodyCopy = "<p >vul dit formulier zo volledig mogelijk in.</p>"; $form = new forms_LoginForm(); $this->view->form = $form; } Thanks for your help On Fri, May 9, 2008 at 8:07 PM, Pádraic Brady <padraic.brady@...> wrote:
|
| Free Forum Powered by Nabble | Forum Help |