- Posts: 60
COMMUNITY FORUM
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] Frontend editing broken after migrating to 3.4.3
[SOLVED] Frontend editing broken after migrating to 3.4.3
- Wire Creative
-
- Offline
- Senior Member
Please Log in or Create an account to join the conversation.
- Ioannis Toutoulis
-
- Offline
- New Member
- Posts: 8
If you are using K2 v2.7, (Krikor gave a link some posts above) go to line 529 and 532 and comment out (with // ) these two lines.
If you are using K2 V2.6.9 go to line 464 and 465 and comment them out.
As you understand it's not the best way, because with the next update you'll have to do the same but it's a solution until this problem is resolved. At least that worked for me.
Please Log in or Create an account to join the conversation.
- Wire Creative
-
- Offline
- Senior Member
- Posts: 60
// parent.$('sbox-overlay').removeEvents('click');
// parent.$('sbox-btn-close').removeEvents('click');
Was this correct?
When we try to edit an item through the front end, the change is not saved and the modal window doesn't close, it just loads the home page into the modal.
BTW, this file is not referenced in my browser's source window: root/media/k2/assets/js/k2.js
This file is loaded: /components/com_k2/js/k2.js?v2.6.9&sitepath=/
but it only has around 250 lines.
Thanks!
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Which other 3rd party extensions are you using?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Sirius Webmaster
-
Topic Author
- Offline
- Junior Member
- Posts: 26
I use JA University and JA staff has confirmed a bug,
Waiting for further comments and solution.
Please Log in or Create an account to join the conversation.
- Wire Creative
-
- Offline
- Senior Member
- Posts: 60
Related to this is that when the front-end editing window opens, none of the additional content tabs are laid-out correctly, so there must be some javascript conflict with the core K2 js.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Sirius Webmaster
-
Topic Author
- Offline
- Junior Member
- Posts: 26
- Concole tab shows nothing.
- Cloned site to XAMPP localhost. - No difference.
- Changed to Beez3 template - FE edit fails here, unlikely the error is caused by JA Template?
- Updated K2 to 2.7.0 using the package mentioned earlier in this thread.
- Updated JCE to 2.5.8. Got rid of error message "Item must have a title"
- Updated Joomla to 3.4.4 - No difference
- Tested different settings with jQuery Easy plugin. - Nothing helped.
- Tried different jQuery settings in K2 config. - Caused different types of behaviour in frontend but nothing that works.
- Tried the hack mentioned above. - Did not help.
Also tested:
- Setting K2 template to Default to check that override templates is not causing errors.
- Tested with dafault editor = None, - Same problem.
- Installed the JCE fix, but that does not really matter when JDE 2.5.8, because the fix is part of that version.
Was also waiting and hoping K2 v3 would be released and solve this, but it is obviously delayed once again.
I would really appreciate some comstructive ideas how to solve this. I´m simply out of ideas.
Thanks.
Please Log in or Create an account to join the conversation.
- Udi
-
- Offline
- Junior Member
- Posts: 37
I found the solution by Ryen, Jce and it works !!
from Krikor:
There is a JCE patch actually available here: www.joomlaworks.net/forum/k2-en/42883-item-must-have-a-title-pops-up-after-upgrade-joomla-3-4-4?start=10
You can try to see if this solves your issue.
Please Log in or Create an account to join the conversation.
- Wire Creative
-
- Offline
- Senior Member
- Posts: 60
Please Log in or Create an account to join the conversation.
- Sirius Webmaster
-
Topic Author
- Offline
- Junior Member
- Posts: 26
Wire Creative wrote: This didn't fix the problem for me, unfortunately.
Same here. Unfortunately, it is still a problen,
@Krikor: Would you like to have a look at the site?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Let's keep our conversation on this one.
Actually yes.
You can send me access through the contact form. www.joomlaworks.net/support/contact
PS. I received some credentials for a cardiology site.
Is that yours?
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Sirius Webmaster
-
Topic Author
- Offline
- Junior Member
- Posts: 26
Thank you
Details sent.
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
You can enable it from K2's params or you can use jQuery Easy as suggested by another user.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Andrea
-
- Offline
- New Member
- Posts: 6
I have the same problem. I tried also with jquery easy but without success.
It is a real problem.
other suggestions?
Thank you
Andrea
Please Log in or Create an account to join the conversation.
- Sirius Webmaster
-
Topic Author
- Offline
- Junior Member
- Posts: 26
Krikor wrote: It appears that jQuery is not being loaded.
You can enable it from K2's params or you can use jQuery Easy as suggested by another user.
Thanks for suggesting. However, I´m afraid it is still a problem.
jQuery is enabled in K2 and has not been changed since I installed 2.7.0.
jQuery Easy is also installed, and was long before it was suggested in the forum.
I have fiddled around with different settings in jQuery Easy but have not found a setting that works.
How can I see jQuery is not loaded.
What else can interfer with jQuery?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
You can also try the jQuery Easy support to see if this is a known issue.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Andrea
-
- Offline
- New Member
- Posts: 6
<script src = "ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js" type = "text / javascript"> script>
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
-
- Offline
- Platinum Member
- Posts: 15920
Also, open your browser's developer tools and check for any errors in the console tab. You may need to refresh the window or reopen the modal in order to see the error.
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Andrea
-
- Offline
- New Member
- Posts: 6
L’utilizzo di getAttributeNode() è deprecato. Al suo posto utilizzare getAttribute().
The script order is correct:
<script src="ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js">
<script src="/plugins/system/jqueryeasy/jquerynoconflict.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="/media/system/js/core.js" type="text/javascript"></script>
<script src="/media/system/js/mootools-more.js" type="text/javascript"></script>
<script src="/media/system/js/modal.js" type="text/javascript"></script>
<script src="/media/system/js/calendar.js" type="text/javascript"></script>
<script src="/media/system/js/calendar-setup.js" type="text/javascript"></script>
<script src="/media/jui/js/bootstrap.min.js" type="text/javascript"></script>
<script src="/media/k2/assets/js/k2.noconflict.js" type="text/javascript"></script>
<script src="//ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js" type="text/javascript"></script>
<script src="/media/k2/assets/js/k2.js?v=2.6.9&sitepath=/" type="text/javascript"></script>
<script src="/media/k2/assets/js/nicEdit.js?v=2.6.9" type="text/javascript"></script>
Please Log in or Create an account to join the conversation.
- Forum
- K2 Community Forum
- English K2 Community
- [SOLVED] Frontend editing broken after migrating to 3.4.3