Keyword

[SOLVED] Trying to create K2 menu item with Tag selection

More
10 years 4 months ago - 10 years 4 months ago #136430 by Robin
Hi there, i'm trying to create a menu item for my frontpage.
The Main Menuitem is K2 -> Selected "TAG"
After that i need to select the appropriate TAG(s) so i click on "Select" at "select tag".


A screen appears semi-fullscreen (without Joomla menu's) with the tags to select.


I'm not able to select any tags (nothing happens when i click a tag).
Any ideas how to fix this.

Joomla version 3.3.6
K2 version 2.6.9

Web Server Apache
PHP version 5.3.29
MySQL version 5.1.36
GD image library bundled (2.1.0 compatible)
Multibyte string support Enabled
Upload limit 2047M
Memory limit 256M
Open remote files (allow url fopen) Yes
Last edit: 10 years 4 months ago by Robin.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 4 months ago #136436 by Krikor Boghossian
Replied by Krikor Boghossian on topic Trying to create K2 menu item with Tag selection
Your setup seems to be solid (PHP version, memory limits etc..)

Check in your browser's developer tools for any JS errors.
Furthermore which other extensions are you using?

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

More
10 years 4 months ago #136441 by Robin
Hello Krikor, thank you for your reply.
I used Google Chrome and openen the console to see any errors.

When i open the menu item i wish to change (now native joomla featured articles) i see the first error:
Uncaught ReferenceError: $K2 is not defined (url http://MyUrl/Subdir/administrator/index.php?option=com_menus&view=item&layout=edit&id=511:36)
(anoymous function) (same url as above)


After that is change the menu item type to K2 - > Tags
When it comes to the second page (where i can select a tag) it says:
Uncaught TypeError: undefined is not a function (url http://MyUrl/Subdir/administrator/index.php?option=com_k2&view=tags&task=element&tmpl=component&object=jform[request][tag]:313)
Onclick (url same url as above)


There a quite a few extensions i use... Is there a easy way to export a list of that?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 4 months ago #136443 by Krikor Boghossian
Replied by Krikor Boghossian on topic Trying to create K2 menu item with Tag selection
This JS error is preventing both the modal window and the proper selection.

Is your administrator using multiple versions of jQuery?
Is k2.js rendered after jQuery?

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

More
10 years 4 months ago #136477 by Robin
Hello Krikor.

I tried different things today... I've installed a clean site to be sure that one is working correctly and it was ;)
Tried to figure out what is causing the conflict, but i do not see where the problem is.
Tried disabling the loading of jQuery but no dice.
Also installed the Plugin "jQuery Easy" to work around this problem but that also didn't help.

My html source looks like when loading the Select Tag page:
<script src="/sth/media/system/js/mootools-core.js" type="text/javascript"></script>
<script src="/sth/media/jui/js/jquery.min.js" type="text/javascript"></script>
<script src="/sth/media/jui/js/jquery-noconflict.js" type="text/javascript"></script>
<script src="/sth/media/jui/js/jquery-migrate.min.js" type="text/javascript"></script>
<script src="/sth/media/system/js/core.js" type="text/javascript"></script>
<script src="/sth/media/system/js/mootools-more.js" type="text/javascript"></script>
<script src="/sth/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="/sth/media/jui/js/chosen.jquery.min.js" type="text/javascript"></script>
<script src="/sth/media/k2/assets/js/k2.js?v=2.6.9&amp;sitepath=/sth/" type="text/javascript"></script>
<script src="/sth/media/jui/js/bootstrap.min.js" type="text/javascript"></script>
<script src="templates/isis/js/template.js" type="text/javascript"></script>
<script type="text/javascript">

Do you have any suggestions where to start to fix this?

Thanks!

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

More
10 years 4 months ago #136483 by Robin
Build a new Joomla install and installed my plugins one by one.
Ark Editor (former JoomlaCK) wat the culprit... so i deinstalled it.

Thanks for the help!

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 4 months ago #136501 by Krikor Boghossian
Replied by Krikor Boghossian on topic Trying to create K2 menu item with Tag selection
You 're welcome Robin and thank you for pointing out the culprit.

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


Powered by Kunena Forum