J
|
Jane 6/17/2008 |
Hi, if ($values["FieldName"]=="some value") $_SESSION["show_link"] = 1; else $_SESSION["show_link"] = 0;
{if $show_link} <A href="TableName_list.php">TableName</A> {/if}
$smarty->assign("show_link",$_SESSION["show_link"]); $_SESSION["show_link"] = 0; |
V
|
vytb author 6/22/2008 |
Hi, sure you can hide any links on the menu tab. For example check entered value in the After record added/updated event and save result in the $_SESSION variable: Then edit menu page in HTML mode on the Visual Editor tab. Here is a sample: and add following code to the Menu page: Before display event:
|
J
|
Jane 6/23/2008 |
Hi, |
V
|
vytb author 6/23/2008 |
I understand... but where to put your code on the page? |
J
|
Jane 6/24/2008 |
Hi, {if $show_link} <A href="TableName_list.php">TableName</A> {/if} |