bowtellj
Posts: 65
|
| Posted: 11/17/2008, 9:59 PM |
|
I have a panel on an includable page with the following code in the before show event and the panel is not responding. It contains a couple of link controls. I have used similar code elsewhere in a form and I have no problems. Does an includable page respond differently?
global $Panel_Member;
if (!CCGetGroupID()>10){
$Panel_Member->Visible = true;
}else{
$Panel_Member->Visible = false;
}
_________________
Thanks
James
Just another Newbie! - Apache 2.24, PHP 5.2.3, MySQL 5.0.41, Windows XP SP2. CCS 3.2.0.2/4.0.2
|
 |
 |
gerrit
Posts: 131
|
| Posted: 11/18/2008, 5:06 AM |
|
in beforeshow of the record form
if (CCGetGroupID() <= levenIwant ){
$myform1->visible=false;
}
_________________
| http://www.vision.to | |
 |
 |
jjrjr1
Posts: 942
|
| Posted: 11/18/2008, 6:49 AM |
|
Hi
Why not just use the hide show component action for the before show event?
That way it is not custom code.
Just wondering
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
|