Hi there,
I have a HTML module published on the sidebar to enable users to easyly add items. Opening the itemform in modal window worked perfect until upgrade to K2 2.7.0 (even tested 2.7.1. from gitHub). Now it opens as parent page as already mentioned from other people here. Additional interesting thing is that frontendediting-form opens in modal window if you use the link from users-module.
The Code looks like this after searching the forum but my problem still occurs.
<div style="background-color: #993333; padding: 8px 0 8px 10px;"><em class="fa fa-pencil-square-o" style="color: #ffffff;"></em> <a class="modal" rel="{handler: ‘iframe’, size: {x: 780, y: 500}, onClose:function(){$(‘sbox-content’).empty();}}" href="index.php?option=com_k2&view=item&task=add&tmpl=component" style="color: #ffffff; font-weight: 500;">add item</a></div>
Do you have any suggestions for me?
Thanks Peer