Welcome Guest, Not a member yet? Register   Sign In
Admin Logic
#1

[eluser]Unknown[/eluser]
I'm fairly new to MVC in general, and I've run into a problem:

I'm re-coding a website. We have always had admin functions built-in to regular page views.

For instance, perhaps there is an image or blog post displayed with a title and caption. Admin-level users will have an option displayed to edit the title/caption, and perhaps delete the entire image/post. Regular users will have the image, title and caption displayed, but without an option to edit them.

Hopefully I'm not a dunce, but I can't figure a way to retain this functionality without putting the logic directly into the view. I'd rather not, if there's a better option, so I appeal to the experts.

I'm also not totally opposed to removing the functionality and replacing it with a better system, however the site has thousands of moderated objects and I think it's likely the best system for our particular website.


Messages In This Thread
Admin Logic - by El Forum - 11-24-2009, 05:31 PM
Admin Logic - by El Forum - 11-24-2009, 06:19 PM
Admin Logic - by El Forum - 11-24-2009, 06:25 PM
Admin Logic - by El Forum - 11-24-2009, 06:34 PM



Theme © iAndrew 2016 - Forum software by © MyBB