|
F
|
frocco 8/9/2007 |
|
In your BeforeProcessRowList event |
|
|
L
|
lisa_dmc author 8/9/2007 |
|
thanks... |
|
|
F
|
frocco 8/10/2007 |
|
Did you declare the variable? |
|
|
L
|
lisa_dmc author 8/10/2007 |
|
error is gone, but nothing happened |
|
|
J
|
Jane 8/13/2007 |
|
Lisa, global $smarty; if ($data["approval"]==1) $smarty->assign('allow_edit', false); return true; |
|
|
L
|
lisa_dmc author 8/22/2007 |
|
Thanks Jane... It worked.... Lisa, try to use this code: |
|
|
D
|
darkmage0 9/14/2007 |
|
So I tried to use the code above to remove the edit and inline edit links when a record equals something, and nothingthing happens. |
|
|
|
Sergey Kornilov admin 9/15/2007 |
|
Try to print field value on the page to see what's in there: echo $data["PayRoll Processed Record:"]; |
|
|
D
|
darkmage0 9/15/2007 |
|
Hey when i echo echo $data["PayRoll Processed Record:"]; I get 1111111 across the top of the page. and when i use [codebox]global $smarty; |
|
|
|
Sergey Kornilov admin 9/16/2007 |
|
Post your code to Demo Account and send the URL to support@xlinesoft.com |
|
|
D
|
darkmage0 9/16/2007 |
|
The URL for the site is http://demo.asprunner.net/darkmage0%5Fhotm..._Panel_list.php |
|
|
D
|
darkmage0 9/16/2007 |
|
ok so this is how you remove the inline edit link when a record equals x |
|
|
|
Alexey admin 9/17/2007 |
|
Travis, if($data["Fieldname"]==1) $row["1editable"] = false; else $row["1editable"] = true;
|
|