Welcome Guest, Not a member yet? Register   Sign In
View/Edit view file
#1

[eluser]Samuurai[/eluser]
Hi Everyone,

This isn't a codeigniter question specifically, but I'm hoping someone can give me some ideas regardless...

I have a view which displays a list of database entries. You can then click on one to show it's details.

I want to be able to view the details in an un-editable way, but if the person has enough rights, they will be able to edit it.

What is the best approach with the view... should I create two views.. one for editing and one for viewing, or should I create one view which functions in both ways with a flag setting or something?

Thanks!

Beren


Messages In This Thread
View/Edit view file - by El Forum - 08-04-2009, 09:54 AM
View/Edit view file - by El Forum - 08-04-2009, 11:00 AM
View/Edit view file - by El Forum - 08-04-2009, 01:25 PM
View/Edit view file - by El Forum - 08-10-2009, 11:03 AM
View/Edit view file - by El Forum - 08-10-2009, 01:31 PM
View/Edit view file - by El Forum - 08-11-2009, 03:27 AM



Theme © iAndrew 2016 - Forum software by © MyBB