Keyword

New K2 CDN js file conflicting with close button for frontend editing.

  • Gary Hewitt
  • Gary Hewitt's Avatar Topic Author
  • Offline
  • New Member
More
6 months 1 week ago #171131 by Gary Hewitt
Gary Hewitt created the topic: New K2 CDN js file conflicting with close button for frontend editing.
I have upgraded my client's site to Joomla 3.9.2 and K2 to 2.9. After doing so the frontend editing panel will not close. It did however work when on old K2 and pop up window. We have very limited components of which we have updated. Our issue is with the old way of doing things with the popup and everything works, now with this new way it doesn't. We noticed that the black border around the pop up edit screen in the new version is not there. Our template is a very simple Joomla template so there are no extra js files anywhere. We opened a Javascript error panel, but there are no errors that we can see.

We would like some help in fixing this.

new.douglasglengardens.ca/

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
6 months 1 week ago #171138 by Fotis
Fotis replied the topic: New K2 CDN js file conflicting with close button for frontend editing.
Can you try K2 v2.9.1 (dev) from github.com/getk2/k2/archive/master.zip please? If it solves your issue, all good, if not, it's probably a JS conflict somewhere.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Gary Hewitt
  • Gary Hewitt's Avatar Topic Author
  • Offline
  • New Member
More
6 months 1 week ago #171155 by Gary Hewitt
Gary Hewitt replied the topic: New K2 CDN js file conflicting with close button for frontend editing.
Sorry no, it did not resolve the issue.

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

  • Gary Hewitt
  • Gary Hewitt's Avatar Topic Author
  • Offline
  • New Member
More
6 months 1 week ago #171158 by Gary Hewitt
Gary Hewitt replied the topic: New K2 CDN js file conflicting with close button for frontend editing.
Ok, I figured out what you guys did. You changed the code on the edit link. I had html overrides for pages
you use to have this:

<a class="modal" rel="{handler:'iframe',size:{x:990,y:550}}" href="<?php echo $this->item->editLink; ?>">
<?php echo JText::_('K2_EDIT_ITEM'); ?>
</a>

Now you have this:

<a data-k2-modal="edit" href="<?php echo $this->item->editLink; ?>">
<?php echo JText::_('K2_EDIT_ITEM'); ?>
</a>

After changing the edit link on my pages it works.

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

  • Fotis
  • Fotis's Avatar
  • Away
  • Administrator
  • JoomlaWorks Support Team
More
6 months 1 week ago #171167 by Fotis
Fotis replied the topic: New K2 CDN js file conflicting with close button for frontend editing.
Great.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

Moderators: william white

Powered by Kunena Forum