Keyword

Conflict with mod_k2_content (k2 v2.8) and RegularLabs AMM

  • Kelsey Brookes
  • Kelsey Brookes's Avatar Topic Author
  • Offline
  • Elite Member
More
7 years 5 months ago #162402 by Kelsey Brookes
Hi all,

Regular Labs Advanced Module Manager is almost a requirement for complex K2 sites, but K2 2.8 and AMM on Joomla 3.7.2 is somewhat broken.

There's a js conflict in the console with k2.js:

"Uncaught TypeError: $(...).sortable is not a function"

It causes the module tabs (assignments, permissions, etc) on mod_k2_content to be set to display:hidden and all parameters have lost their styles.

This isn't a problem with previous versions of K2 or with non-k2 modules in 3.7.2. AMM seems to be fine in non-k2 contexts.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 5 months ago #162416 by Krikor Boghossian
Replied by Krikor Boghossian on topic Conflict with mod_k2_content (k2 v2.8) and RegularLabs AMM
Is jQuery UI being loaded properly (eg: only one version and before K2's scripts).

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

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

  • Kelsey Brookes
  • Kelsey Brookes's Avatar Topic Author
  • Offline
  • Elite Member
More
7 years 5 months ago #162432 by Kelsey Brookes
jQuery UI doesn't appear to be loaded at all.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 5 months ago #162438 by Krikor Boghossian
Replied by Krikor Boghossian on topic Conflict with mod_k2_content (k2 v2.8) and RegularLabs AMM
sortable() is a jQuery UI function.
jqueryui.com/sortable/

Now let's try the following, in K2's settings is there a jQuery UI version set for loading?

Can you try (if possible) using jQuery Easy in order to force the loading of jQuery UI?

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

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

  • Kelsey Brookes
  • Kelsey Brookes's Avatar Topic Author
  • Offline
  • Elite Member
More
7 years 5 months ago #162452 by Kelsey Brookes
Got it - neither jQuery UI or the Sortable library were being loaded.

Used ReReplacer to add them in and all's working.

Thanks Krikor.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
7 years 5 months ago #162458 by Krikor Boghossian
Replied by Krikor Boghossian on topic Conflict with mod_k2_content (k2 v2.8) and RegularLabs AMM
Nice to be of assistance :)

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