Keyword

Ugly code snipplet appearing whenever an item is clicked upon

  • Chris Burner
  • Chris Burner's Avatar Topic Author
  • Offline
  • New Member
More
13 years 6 months ago #94827 by Chris Burner
Hello! I'm completely new to Joomla and trying to set up a site using K2. After importing content previously added in Joomla core I did setup the frontpage to display a universal K2 category. Now, whenever I klick on a item, this ugly piece of code appears at the very top of the site:

 

'); $('commentEmail').setProperty('disabled','disabled'); }); window.addEvent('domready', function() { SqueezeBox.initialize({}); $$('a.modal-button').each(function(el) { el.addEvent('click', function(e) { new Event(e).stop(); SqueezeBox.fromElement(el); }); }); });


 

see k2_error.JPG

 

How can i fix this?

 

edit: This only appears to happen for logged in users.

edit2: It looks like K2 doesnt change the comments form when users are logged in and therefor asks for the same information as if they were guests.
Attachments:

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


Powered by Kunena Forum