how to distinguish between listpage and export email popup

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
Bishu
User
Posts: 429

how to distinguish between listpage and export email popup

Post by Bishu »

I want to execute some phpcode only in the listpage and not in the email export popup page.
eg.
if(listpage but not the email export popup page)
{
my php code;
}

I tried with the following
echo ew_CurrentPage();
echo EW_PAGE_ID;

but both the value are same for the listpage and the export email page


mobhar
User
Posts: 11747

Post by mobhar »

The main difference between the list page and the exported page is that the exported page is generated by the URL that contains "export" parameter.

For example: yourwebapp.com/customerslist.php?export=excel


Post Reply