This following trick will show you the powerful of PHPMaker 10 that allows you to insert a new link near by the Export Options. We will use Page_Render server event for this purpose. Just for your information, Page_Render existed since version 10. This trick is very useful if you want to insert your custom link near by the Export Options without having to customize the template or to customize the generated code.
Simply put the following code into Page_Render server event under Server Events -> Table-Specific -> List Page.
$options = &$this->ExportOptions; $item = &$options->Add("MyNewExportLink"); $item->Body = "<a class=\"ewAction\" href=\"\" onclick=\"YourJavaScritpFunction();return false;\">My New Link</a>";