Support will be in summer mood from 6-17 August, 2018 while the JoomlaWorks folks get some rest.
Keyword

Close button don't work in Edit an item via Frontend

  • Alan Sander
  • Alan Sander's Avatar Topic Author
  • Offline
  • New Member
More
2 years 2 months ago #154867 by Alan Sander
Alan Sander created the topic: Close button don't work in Edit an item via Frontend
Hi there,

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.

More
2 years 2 months ago #154875 by Teo
Teo replied the topic: Close button don't work in Edit an item via Frontend
hi,
Did you notice any php or javascript errors ?

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

  • Alan Sander
  • Alan Sander's Avatar Topic Author
  • Offline
  • New Member
More
2 years 2 months ago #154927 by Alan Sander
Alan Sander replied the topic: Close button don't work in Edit an item via Frontend
Hi,

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
  • Circolo fotografico Estate 1826's Avatar
  • Offline
  • New Member
More
11 months 1 week ago #164001 by Circolo fotografico Estate 1826
Circolo fotografico Estate 1826 replied the topic: Close button don't work in Edit an item via Frontend
Hello all having this problem,

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.

More
11 months 1 week ago #164022 by Krikor Boghossian
Krikor Boghossian replied the topic: Close button don't work in Edit an item via Frontend
Thank you for sharing this :)

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

  • Christophe BERTRAND
  • Christophe BERTRAND's Avatar
  • Offline
  • Senior Member
More
9 months 3 weeks ago - 9 months 3 weeks ago #164968 by Christophe BERTRAND
Christophe BERTRAND replied the topic: Close button don't work in Edit an item via Frontend
Hi Circolo,
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 !
Last Edit: 9 months 3 weeks ago by Christophe BERTRAND. Reason: found something new since last message

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

  • Christophe BERTRAND
  • Christophe BERTRAND's Avatar
  • Offline
  • Senior Member
More
9 months 3 weeks ago #164971 by Christophe BERTRAND
Christophe BERTRAND replied the topic: Close button don't work in Edit an item via Frontend
Krikor,

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
  • Christophe BERTRAND's Avatar
  • Offline
  • Senior Member
More
9 months 3 weeks ago #164981 by Christophe BERTRAND
Christophe BERTRAND replied the topic: Close button don't work in Edit an item via Frontend
to add to previous message, I noticed that I get indeed too many bugs with front-end editing.
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
  • Christophe BERTRAND's Avatar
  • Offline
  • Senior Member
More
9 months 2 weeks ago #165000 by Christophe BERTRAND
Christophe BERTRAND replied the topic: Close button don't work in Edit an item via Frontend
I have a Joomshaper template.
Support of Joomshaper sent me the itemform redone.
Thanks

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

More
9 months 1 week ago #165127 by Krikor Boghossian
Krikor Boghossian replied the topic: Close button don't work in Edit an item via Frontend
Nice to hear that you sorted the issue out,

IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

---
JoomlaWorks
www.joomlaworks.net/

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

Moderators: william white