Keyword

[SOLVED] edit item in new window

  • Rakesh
  • Rakesh's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 10 months ago #144536 by Rakesh
edit item in new window was created by Rakesh
My template is giving me some trouble with the edit item modal/popup window.
It loads the item edit window as a parent. I thought of adding target="_blank". This works fine but for some reason the scrollbar doesn't get loaded.

I've tried these options but they both don't give a scrollbar in the new window of Chrome.
<a rel="{handler:'iframe',size:{x:990,y:550}}" href="<?php echo $this->item->editLink; ?>" target="_blank">
<?php echo JText::_('K2_EDIT_ITEM'); ?></a>
<a href="<?php echo $this->item->editLink; ?>" onclick="window.open(this.href,'printWindow','width=900,height=600,location=no,menubar=no,resizable=yes,scrollbars=yes'); return false;">

Some help would be very much appreciated.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 10 months ago #144577 by Krikor Boghossian
Replied by Krikor Boghossian on topic edit item in new window
Does the link open in a new window or within a modal (Joomla!'s default) modal?

Furthermore It is most likely a template issue with an overflow: hidden present.
Did you consult the template's developer about this issue?

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

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

  • Rakesh
  • Rakesh's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 10 months ago - 8 years 10 months ago #144601 by Rakesh
Replied by Rakesh on topic edit item in new window
Inside template.css of my Joomla Template there was this:

body {
background: #FFF;
font-size: 14px;
line-height: 24px;
color: #2e1736;
overflow: hidden;
}

I changed it to

body {
background: #FFF;
font-size: 14px;
line-height: 24px;
color: #2e1736;
overflow: auto;
}

and

@media (max-width: 979px) {
body {
overflow: hidden;
}

to

@media (max-width: 979px) {
body {
overflow: auto;
}
Last edit: 8 years 10 months ago by Rakesh. Reason: correction

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

  • Rakesh
  • Rakesh's Avatar Topic Author
  • Offline
  • Junior Member
More
8 years 10 months ago - 8 years 10 months ago #144608 by Rakesh
Replied by Rakesh on topic edit item in new window
I still have the problem of the class="modal" that is being used by both bootstrap.min.css and k2.css.

Atleast this was a way around it for me.
Last edit: 8 years 10 months ago by Rakesh.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
8 years 10 months ago #144647 by Krikor Boghossian
Replied by Krikor Boghossian on topic edit item in new window

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