Hello,
I would like include a link in the list view of a DOM field. I have the link working (code below), but I get a Facebox popup (with no content) when I click on it. How can I stop the popup from being triggered by my click event?
Thanks,
David
My Dataobject (partial):
function getLink ()
{
return '<a href="' . $this->Page()->Link('csv') . '/' . $this->ID . '">This link works</a>';
}
Page getCMSFields (partial, obviously):
$f->addFieldToTab("Root.Content.Tab", new DataObjectManager(
$this,
'MyDataObjects',
'MyDataObject',
array(
'link' => 'Export'
),
'getCMSFields_forPopup'
));