I was looking for solution for a long time but didn't found anything...
By default, K2 frontend editor is beeing opened in popup modal window.
The link in K2 login module that opens the form is the following:<a class="modal" rel="{handler:'iframe',size:{x:990,y:650}}" href="<?php echo $user->profile->addLink; ?>"><?php echo JText::_('Add new item'); ?></a>
I don't want that form to be a modal. So, the easiest answer for my
question is removing 'class' and 'rel' descriptions from that link.
But. In that case article submission form opens on a blank page. And,
although 'Save' button works, 'Cancel' button doesn't work at all...
Anyway, even if all the buttons work fine, such representing of that
form isn't suitable for me.
My purpose is to open K2 item submission form within site template (inmain component area). For now I've copied all my template's html code to that form template, and that's the worst solution i could imagine... No dynamic blocks
output, all the changes to menus should be done manually etc...
I even don't hope that anyone can give me an advice what to do, but who
knows.... Please!.. Has anyone any ideas how to do that?
By default, K2 frontend editor is beeing opened in popup modal window.
The link in K2 login module that opens the form is the following:<a class="modal" rel="{handler:'iframe',size:{x:990,y:650}}" href="<?php echo $user->profile->addLink; ?>"><?php echo JText::_('Add new item'); ?></a>
I don't want that form to be a modal. So, the easiest answer for my
question is removing 'class' and 'rel' descriptions from that link.
But. In that case article submission form opens on a blank page. And,
although 'Save' button works, 'Cancel' button doesn't work at all...
Anyway, even if all the buttons work fine, such representing of that
form isn't suitable for me.
My purpose is to open K2 item submission form within site template (inmain component area). For now I've copied all my template's html code to that form template, and that's the worst solution i could imagine... No dynamic blocks
output, all the changes to menus should be done manually etc...
I even don't hope that anyone can give me an advice what to do, but who
knows.... Please!.. Has anyone any ideas how to do that?