This topic is locked
[SOLVED]

 Disable Edit Icon Link

1/18/2011 5:15:56 AM
PHPRunner General questions
C
carlos author

Hi
I wonder if it is possible to disable the edit icon in Master List, for records having a field with a value determined?
In other words, the user can not access to edit a record if the field level is 3.
I would also like to use the popup function for a form made in PHPRunner but make independent. I want to load it from the Master List Is this possible?
Thank you very much

Sergey Kornilov admin 1/19/2011

Here is an example of doing this:

http://xlinesoft.com/phprunner/docs/disable_record_editing.htm
Something like this:



if ($data["FieldLevel"]==3)

{

$record["edit_link"] = false;

}
C
carlos author 1/20/2011

That's what I wanted, Thank you very much.
About my other question. In tablename_settings.php, you can configure how to open the edit page ( $tdataTablename[".showEditInPopup"] = true;). You can use this function to call another form from the MasterList with a link placed next to search?

J
Jane 1/20/2011

Unfortunately no.

This option is created to open add/edit/view pages only in popup.

C
carlos author 2/3/2011

Thank you very much for the help. The pop up was just aesthetic. The functionality to limit the records to edit stay perfect. That was really important.