Keyword

Close button on front-end editing is not working

  • N T
  • N T's Avatar Topic Author
  • Offline
  • Junior Member
More
5 years 10 months ago #167749 by N T
Hello,

I just updated K2 from 2.7.1 to 2.8.0. There are three issues on the front-end editing window.

1. The editing window cover up the whole page. Does it seems right?

2. Toggle sidebar did not toggle.

3. Close button moved to the left and displayed just a text link, not a button. When I click close button, it did not close or do do anything plus I got the error message. Please see attached.

4. If I edit text, click save, then click close, it will send me to the homepage with a big thick black frame around the edge of the window.

Please advise.

Thank you,

M
Attachments:

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
5 years 10 months ago #167761 by Krikor Boghossian
Replied by Krikor Boghossian on topic Close button on front-end editing is not working
Hello,

Is jQuery being loaded and loaded before all scripts?
You need to check the page's source to verify this.

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

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

  • N T
  • N T's Avatar Topic Author
  • Offline
  • Junior Member
More
5 years 10 months ago #167782 by N T
Hi Krikor,

In my K2 parameter, it is set to load jquery v.1.12x. When I viewed the page's source, I did not see jquery v 1.12 is being loaded. I only see jquery.magnific-popup.min.js and k2.frontend.js are being loaded.

Is that mean it is not loading?

Do you have a list of jquery that K2 is using both front-end and back-end?

Thank you for your explanation.

M

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

More
5 years 4 months ago #170179 by Jaime Villegas
Replied by Jaime Villegas on topic Close button on front-end editing is not working
Hi Guys,
I have the same issue.
Have you found any solution?

Thanks.

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

More
5 years 4 months ago #170182 by JoomlaWorks
Replied by JoomlaWorks on topic Close button on front-end editing is not working
Make sure you have the latest K2 release installed and that there is no /templates/YOUR_TEMPLATE/html/com_k2/default/itemform.php present. If it is, delete that file as it loads an older HTML structure for the item form.

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

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

More
5 years 4 months ago #170202 by Jaime Villegas
Replied by Jaime Villegas on topic Close button on front-end editing is not working
Thanks Fotis for your fast reply.
I have checked the template override folder and the itemform.php is not present. It is using the the itemform.php located in /components/com_k2/templates/default
It is using the file of the last version of K2.
This is an screenshot of the console after I do click in the close button: goo.gl/sSH5m6

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

More
5 years 4 months ago #170214 by JoomlaWorks
Replied by JoomlaWorks on topic Close button on front-end editing is not working
Provided an older version of Fancybox is not already loaded through your template or some plugin, make sure you have SIGPro v3.6.0 PR1 installed and K2 v2.9.1 (dev) from: github.com/getk2/k2/archive/master.zip

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

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

More
5 years 4 months ago #170220 by Jaime Villegas
Replied by Jaime Villegas on topic Close button on front-end editing is not working
Done. Both components upgraded.
Now the console error is not present: goo.gl/iC3bCw
But the popup doesn't close after click on the Close button.

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

More
5 years 4 months ago #170223 by JoomlaWorks
Replied by JoomlaWorks on topic Close button on front-end editing is not working
The close button basically kills the modal. If you test on a separate tab (as is the screenshot), hitting that button won't do anything.

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

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

More
5 years 4 months ago #170225 by Jaime Villegas
Replied by Jaime Villegas on topic Close button on front-end editing is not working
I am not opening the modal in a separate tab, it is the normal way when I click the edit button of the K2 item. It just reload the page and displays the page you see in my previous post.
I have tried disabling a lot of plugins in the plugin manager but the issue continue.
More ideas?
Thanks for your help.

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


Powered by Kunena Forum