NerishaB
Posts: 25
|
| Posted: 11/10/2010, 7:42 AM |
|
Hi there,
I am very new to Codecharge, and I have a page that allows the user to email a customer. The email page has include pages that provide detail about the customer, and this gets populated when the user clicks on the link to email page. This works well. I now want to add the same functionality to another page, "Potential Clients" page. These are not yet customers on our database, and are stored in a different table. So the include pages that provide detail will not be populate in this case. I would like to know how I can hide the include pages for the Customers, and show a different include page for the Potential Clients. Does anyone know hoe to do this?
|
 |
 |
datadoit
|
| Posted: 11/10/2010, 8:11 AM |
|
You have full control over showing/hiding include pages via BeforeShow
for the host page.
if (this) {
$Container->ThisInclude->Visible = false;
}
|
|
|
 |
|