Keyword

K2 content module : impossible to save or close when creating or amending module

  • Дмитрий Коваленко
  • Дмитрий Коваленко's Avatar
  • Offline
  • New Member
More
6 months 1 week ago #175849 by Дмитрий Коваленко
Replied by Дмитрий Коваленко on topic K2 content module : impossible to save or close when creating or amending module
Hello.
I took advantage of your recommendation, checked everything with the joomla debugger. Found some errors in zoo but this did not help to solve the problem.

But he drew attention to the display of navigation elements in chrome. I enclose illustrations. When setting the localization, a problem appears, when uninstalling, it disappears.
And so every time. I tried different language packs. He even tried to assemble his own localization.

The situation is applicable to all buttons: save, save and close, cancel

Thanks for the help
Attachments:

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

  • jobart
  • jobart's Avatar Topic Author
  • Offline
  • New Member
More
6 months 1 week ago #175850 by jobart
Well, I am not alone ! The only solution I have found is to uninstall the language pack each time I need to change the K2 content module. Then I reinstall the language pack.

Anyway, I manage at least to migrate a first new version of my website to the server.

I have several errors with K2. But my IT skills are quite low.

I will try in a further post to give you the error I get.

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
6 months 1 week ago #175854 by Fotis
The problem arises from certain characters that these language packs may contain. I've added a filter in the export process to replace these characters so that they don't cause parsing issues in Joomla.

However there may be leftovers in some packages, so please let me know the exact language package you downloaded that caused problems.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Дмитрий Коваленко
  • Дмитрий Коваленко's Avatar
  • Offline
  • New Member
More
6 months 1 week ago #175856 by Дмитрий Коваленко
Replied by Дмитрий Коваленко on topic K2 content module : impossible to save or close when creating or amending module
I tried all the language packs ru-RU and uk-UA
The result is the same.

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

  • jobart
  • jobart's Avatar Topic Author
  • Offline
  • New Member
More
6 months 1 week ago #175858 by jobart
For my part, it was : k2_fr-FR_language_pack

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

  • jobart
  • jobart's Avatar Topic Author
  • Offline
  • New Member
More
6 months 1 week ago #175859 by jobart
I am going to be crazy... Now, even if I uninstall the language pack, I am stuck... I cannot save or close.

According to the dev console, I have the following error:
SyntaxError: unexpected token: identifier index.php:258:65

When I click on index.php:258:65, it reverts to the following part of code (I manually add line 258 for your identification):

jQuery(function($){ initPopovers(); $("body").on("subform-row-add", initPopovers); function initPopovers (event, container) { $(container || document).find(".hasPopover").popover({"html": true,"trigger": "hover focus","container": "body"});} });
jQuery(function($){ $("#myTab a").click(function (e) {e.preventDefault();$(this).tab("show");});});
jQuery(function($){ $("#myTabTabs").append($("<li class=\" active\"><a href=\"#general\" data-toggle=\"tab\">Module<\/a><\/li>")); });

// Set K2 version as global JS variable
K2JVersion = '30';

// Set Joomla version as class in the 'html' tag
(function(){
var addedClass = 'isJ30 k2ViewIsModule k2IsBackend';
if (document.getElementsByTagName('html')[0].className !== '') {
document.getElementsByTagName('html')[0].className += ' '+addedClass;
} else {
document.getElementsByTagName('html')[0].className = addedClass;
}
})();

// K2 Language Strings
line 258: var K2_THE_ENTRY_IS_ALREADY_IN_THE_LIST = 'L'entrée \'ENTRY_NAME_HERE\' est déjà dans la liste !';
var K2_REMOVE_THIS_ENTRY = 'Cliquez pour supprimer cette entrée';
var K2_THE_ENTRY_WAS_ADDED_IN_THE_LIST = 'L'entrée \'ENTRY_NAME_HERE\' a été ajoutée à la liste.';


I hope that we will be able to find a solution !

Kind regards

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
6 months 1 week ago #175863 by Fotis
JS breaks because of "'L'entrée" and the use of single quotes in the string.

Please install v2.10.4 (dev) from: getk2.org/downloads/?f=K2_Development_Release.zip

I have added text filters to resolve that issue.

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • Дмитрий Коваленко
  • Дмитрий Коваленко's Avatar
  • Offline
  • New Member
More
6 months 1 week ago #175868 by Дмитрий Коваленко
Replied by Дмитрий Коваленко on topic K2 content module : impossible to save or close when creating or amending module
Checked, everything works.

Thanks for the help.

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

  • Fotis
  • Fotis's Avatar
  • Offline
  • Administrator
  • JoomlaWorks Support Team
More
6 months 1 week ago #175869 by Fotis
Great :)

If you use & love K2, please take a moment to add your review and rate it
at the Joomla Extensions Directory: extensions.joomla.org/extension/k2/


IMPORTANT: Please search the forum before posting a question!

JoomlaWorks Support Team Member

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

  • jobart
  • jobart's Avatar Topic Author
  • Offline
  • New Member
More
6 months 1 week ago #175872 by jobart
Thank you Fotis : it works !!!

I have now an issue with the display of my blog, which did not exist with the stable version.

www.champion-avocats.com/blog-conseil-avocats

The display of the list of categories, last articles and search bar is not on the right, but on the bottom... I do not understand why, because it works before.

Is it a bug from the dev version or not ?

Kind regards

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


Powered by Kunena Forum