- Posts: 9
COMMUNITY FORUM
Close button don't work in Edit an item via Frontend
- Alan Sander
-
Topic Author
- Offline
- New Member
we use K2 on our site and publish items via frontend. K2 comes also with a in-build option to edit published items via frontend. Unfortunately, the close button don't work for us in the edit item form. If we click on the button, the edit item form will be not closed.
Can you give us a hint, how we can solve this issue?
Best AlanS
Please Log in or Create an account to join the conversation.
- JoomlaWorks Support Team
-
- Offline
- Elite Member
- Posts: 169
Did you notice any php or javascript errors ?
Please Log in or Create an account to join the conversation.
- Alan Sander
-
Topic Author
- Offline
- New Member
- Posts: 9
no.
I changed this code:
github.com/getk2/k2/blob/master/media/k2/assets/js/k2.js
from this forum post by Krikor:
www.joomlaworks.net/forum/k2-en/40502-front-end-form-close-button-is-not-working
It works for me, for the input mask "Edit a new item" via Frontend.
If i will make changes on a published item, it doesn't work. The input mask will not be closed. The Save Button works in both.
Best AlanS
Please Log in or Create an account to join the conversation.
- Circolo fotografico Estate 1826
-
- Offline
- New Member
- Posts: 4
I'm not able to find the problems in with jquery libraries in my installation. After while I found a plug-in called JQUERY EASY. After installing it solved my problem. extensions.joomla.org/extension/jquery-easy/
I hope this can help others.
Joomla! 3.7.2
K2 2.8.0
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Please Log in or Create an account to join the conversation.
- Christophe BERTRAND
-
- Offline
- Senior Member
- Posts: 46
I have the exact same problem (with a fresh install of Joomla 3.8.1. and K2 2.8.
I installed and activated JQueryEasy plug-in, but still has the pb ==> could you please let me know what are the settings I should put in JQueryEasy plug-in please ?
Did you have to activate also Bootstrap in this plug-in (and to get the paid version of it JQueryEasy Profiles ?)
In advance, thanks.
Best
Christophe
PS : to complete my message, I tried to change my template back to Protostar ==> then it works.
So I guess it could have something to do (and conflict) with my template but I am not able to find what !
Please Log in or Create an account to join the conversation.
- Christophe BERTRAND
-
- Offline
- Senior Member
- Posts: 46
Using JqueryEasy (set on Jquery version : Joomla! system) I have no more JS error showing up with the inspector, but still the close button in front-end editing doesn't work.
As I have a Joomshaper template, I even tried this solution : did not work either.
Question ? : since the front-end edit form and close button work when using Protostar template, is there a way to force the front-end edit form to only open with Protostar ?
Thanks
Christophe
Please Log in or Create an account to join the conversation.
- Christophe BERTRAND
-
- Offline
- Senior Member
- Posts: 46
For example, thru front-end, if I edit an item created a year ago, when I save it, it will change by itself the date of creation (not only the date of modification) !
Once again, if I use Protostar template, the pbs are gone.
So I figure it has something to do with my template, but I am unable to find what (and with the console inspector, I don't see any jquery errors) !
So I don't know what to do (and for now I have no other solution but to close front-end editing !).
If you could help, it would be much appreciated.
Thanks
Please Log in or Create an account to join the conversation.
- Christophe BERTRAND
-
- Offline
- Senior Member
- Posts: 46
Support of Joomshaper sent me the itemform redone.
Thanks
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Please Log in or Create an account to join the conversation.
- shoulders
-
- Offline
- Senior Member
- Posts: 44
Circolo fotografico Estate 1826 wrote: I'm not able to find the problems in with jquery libraries in my installation. After while I found a plug-in called JQUERY EASY. After installing it solved my problem. extensions.joomla.org/extension/jquery-easy/
I would like to confirm installing this plugin fixed my issue.
Joomla 3.8.4
Gantry 5.4.22
Helium 5.4.22
I hope this could be fixed in a later version of K2, less plugins is better
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
This is not really an issue of K2, more rather an issue which arrises when the template and several other extensions both load jQuery at the same time.
jQuery Easy fixes this without having to comb through each extension's settings.
Please Log in or Create an account to join the conversation.