Keyword

K2 frontend editor error after update 2.8.0

  • Aritmik
  • Aritmik's Avatar Topic Author
  • Offline
  • New Member
More
6 years 6 months ago #163942 by Aritmik
I updated K2 from 3.7.2 to 2.8.0 on a testsite www.aritmik.nl

After this update the frontend-editor gives several errors:
- save & close buttons are scrumbled with K2-image on the left side
- tags can't be added
- switching to image tab (actually it is not a tab here) closes the editor.

Two images of the editor before and after the update:
imgur.com/QQVdExb
imgur.com/SzV3VwN

What can be the problem? I tested this K2-update also on MAMP locally: same problem.

Thanks for help in advance. Would be very much appreciated.
Rik

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

  • Steven Trooster
  • Steven Trooster's Avatar
  • Offline
  • Premium Member
More
6 years 6 months ago #163955 by Steven Trooster
Replied by Steven Trooster on topic K2 frontend editor error after update 2.8.0
Do have your own template or did you alter the default template? If so, make a backup of your template and copy the file itemform.php from the folder components/com_k2/templates/default/

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #163958 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 frontend editor error after update 2.8.0
You can also rename (or delete) the override of the itemform.php file if you don't any functionality apart from the default one.

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

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

  • Aritmik
  • Aritmik's Avatar Topic Author
  • Offline
  • New Member
More
6 years 6 months ago #164005 by Aritmik
Replied by Aritmik on topic K2 frontend editor error after update 2.8.0
Thanks for your replies!
I copied the itemform.php from the folder components/com_k2/templates/default/
Alignment K2-picture and save & close button is now ok and the tabs are back.
But stil i can't add tags, the buttons publish "yes/no" and special "yes/no" are not active.
Also, when i click one of the tabs (content or picture) the form will be closed in it's own pop-up. So: strange behavior.
This was all working fine in K2 2.7.2
Template is from Youjoomla.
Regards
Rik

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #164023 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 frontend editor error after update 2.8.0
Are you getting any JavaScript errors?

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

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

  • Aritmik
  • Aritmik's Avatar Topic Author
  • Offline
  • New Member
More
6 years 6 months ago #164028 by Aritmik
Replied by Aritmik on topic K2 frontend editor error after update 2.8.0
Hi Krikor

Thanks again for your reply. It helps me step by step further.

There was indeed a jquery-error: for K2 "jquery not defined". Now i turned it on in the K2-params and the form is working.
But, before the update it always worked with the template jquery lib and the jquery for K2 was turned OFF.
Should it now be be loaded seperately for K2 also?
Or is there another solution?

Regards
Rik

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
6 years 6 months ago #164041 by Krikor Boghossian
Replied by Krikor Boghossian on topic K2 frontend editor error after update 2.8.0
JQuery is already being loaded from the template, so you probably don't need to do anything.
If there was an issue, trust me, you would have noticed it.

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