- Posts: 36
COMMUNITY FORUM
[SOLVED] edit item in new window
- Rakesh
-
Topic Author
- Offline
- Junior Member
Less
More
9 years 11 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.
Some help would be very much appreciated.
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
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 11 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?
Furthermore It is most likely a template issue with an overflow: hidden present.
Did you consult the template's developer about this issue?
Please Log in or Create an account to join the conversation.
- Rakesh
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 36
9 years 11 months ago - 9 years 11 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;
}
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: 9 years 11 months ago by Rakesh. Reason: correction
Please Log in or Create an account to join the conversation.
- Rakesh
-
Topic Author
- Offline
- Junior Member
Less
More
- Posts: 36
9 years 11 months ago - 9 years 11 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.
Atleast this was a way around it for me.
Last edit: 9 years 11 months ago by Rakesh.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
Less
More
- Posts: 15920
9 years 11 months ago #144647
by Krikor Boghossian
Replied by Krikor Boghossian on topic edit item in new window
www.joomlaworks.net/forum/k2-en/35289-solved-k2-and-ja-purity-iii-compatible?start=10
This post will help you solve the issue.
This post will help you solve the issue.
Please Log in or Create an account to join the conversation.