Hi there,
I am having another issue with K2 editing and although I have tried to solve the issue myself, I cannot get it to work!
Normally the fix for the K2 Add/Edit pop up window being too small is to replace the following code:
rel="{handler:'iframe',size:{x:990,y:650}}"
with this:
rel="{handler:'iframe',size:{x:window.getSize().scrollSize.x-80, y: window.getSize().size.y-80}, onShow:$('sbox-window').setStyles({'padding': 0})}"
in the following files:
component/com_k2/templates/default/category.php/item.php/user.php
component/com_k2/templates/default/category_item.php
I have tried this on our site and nothing happens - I've cleared my browser cache (Chrome/IE) and the site cache.
I have also tried using:
rel="{handler:'iframe',size:{x:1280,y:800}}"
And I still can't get any results.
I'd ideally like to have it so that when a front end user edits an item, their pop up window is a decent size for them - I think the best size would be 1270x750 as all our users are using 1920x1080 monitors.
Alongside this, there is also a small option that sits on the K2 pop up window that allows users to "Change" users.
I'd like to remove this as well because it does not need to be there!
See this screenshot for both issues -
imgur.com/wE1Nqv7
Can anyone please help me as soon as possible!!
Thanks,
Sarah