A
|
amuro author 11/15/2007 |
work it out. |
![]() |
Alexey admin 11/15/2007 |
Amuro, {if $row.enable_edit} ... {/if} Then use this code in After record processed event: if($data["FieldName"]=="finished") $row["enable_edit"]=false; else $row["enable_edit"]=true; |
L
|
laonian 11/23/2007 |
Open your List page in Visual Editor, select the Edit link and switch to HTML mode. Enclose your Edit link into this: {if $row.enable_edit} ... {/if}
if($data["FieldName"]=="finished") $row["enable_edit"]=false; else $row["enable_edit"]=true;
|
J
|
Jane 11/26/2007 |
Hi, <TD class=borderbody vAlign=middle align=middle>{if $row.enable_edit}<A class=tablelinks href="filename_edit.php?{$row.1editlink}">Edit</A>{/if}</TD> This method just remove edit link on the list page. global $conn; if ($_REQUEST["editid1"]) { $str = "select * from TableName where IDField=".$_REQUEST["editid1"]; $rs = db_query($str,$conn); $data = db_fetch_array($rs); if ($data["FieldName"]=="finished") { header("Location: TableName_list.php"); exit(); } }
|