Keyword

K2 "Edit Item" Pop Up Window Small Sizing

  • Sarah Allen
  • Sarah Allen's Avatar Topic Author
  • Offline
  • Junior Member
More
9 years 2 months ago #145655 by Sarah Allen
K2 "Edit Item" Pop Up Window Small Sizing was created by Sarah Allen
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

Please Log in or Create an account to join the conversation.

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
9 years 2 months ago #145683 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 "Edit Item" Pop Up Window Small Sizing
Hello,
The floating option is a template issue.
The template you are using does not support Joomla!'s native modals. The bootstrap version which is being used is not properly namespaced. There are several related posts about this in this forum, although this is something that should be addressed by the template's developer since the modal being used in the screenshot is not the one used by K2.

JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)

Please Log in or Create an account to join the conversation.


Powered by Kunena Forum