Hello,
I need to show a popup window with the details of a row of a data table when I click one of its fields.
I did some tests with jcepopup, but it seems I should CONCAT quite verbose HTML to make it work, something like
Code: |
SELECT
CONCAT("<a class='jcepopup autopopup-single' title='",orderType,"' href='index.php?option=com_content&view=article&id=88:fornitore&catid=9:uncategorised&Itemid=435' target='_blank' data-mediabox='width[376];height[480];title[dettagli::fornitore]'>",nomeFornitore,
"</a><a onclick='window.open(this.href,'",tipoFornitore,"','scrollbars=no,resizable=no,location=no,menubar=no,status=no,toolbar=no,left='+(screen.availWidth/2-100)+',top='+(screen.availHeight/2-150)+',width=200,height=300');return false;' href='index.php?option=com_content&view=article&id=88:fornitore&catid=9:uncategorised&Itemid=435'><br /></a>") Nome,
|
...just for a single column.
So I'm wondering if there is an easier way to get this behavior.
Thanks for any suggestions
Mauro