Page 1 of 1

how to distinguish between listpage and export email popup

Posted: Sat Aug 10, 2013 3:02 pm
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


Re: how to distinguish between listpage and export email pop

Posted: Sun Aug 11, 2013 6:04 pm
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