S
|
steveh 5/21/2008 |
Not answering your question, but as an aside you need to add the security to the view page as relying on not showing the link could cause you issues in the future. |
J
|
Jane 5/21/2008 |
Stephan,
if ($data["FieldName"]=="Yes") $smarty->assign("show_viewlink",1); else $smarty->assign("show_viewlink",0); |
M
|
mmponline author 5/21/2008 |
Jane if ($data["Advertiser"]=="Yes")
|
A
|
alang 5/21/2008 |
The $smarty variable isn't a parameter in the after record processed event. You will probably need to declare it global before referring to it in your event code. |
M
|
mmponline author 5/22/2008 |
Sorry for my ignorance, but how would I do that! I'm trying my best to learn, but feels more like a monkey everyday. |
J
|
Jane 5/22/2008 |
Stephan if ($data["Advertiser"]=="Yes") $row["show_viewlink"]=1; else $row["show_viewlink"]=0; |
M
|
mmponline author 5/22/2008 |
Makes me feel better about my own incapabilities when you do get it wrong, although it does not happen often. |
P
|
piccirm@wyeth.com 10/2/2008 |
I've tried to do this on the list page on the edit link but does not work with 5.0 |
M
|
mmponline author 10/2/2008 |
Hopefully Jane or Sergey will have a solution for this, as I have no idea how to change it. |