Keyword

JCE Editor not working in Frontend for K2

  • pixel kraft
  • pixel kraft's Avatar Topic Author
  • Offline
  • New Member
More
10 years 8 months ago #123530 by pixel kraft
JCE Editor not working in Frontend for K2 was created by pixel kraft
I set up a site with K2.
Unfortunately the frontend editing with JCE is not working.
There is just a blank lightbox loading. TinyMCE is working and also No Editor is working!

JCE is working in the backend and also in the frontend for Joomla-Articles! So this is not an ACL or profile problem of JCE. The problem is just with K2 in frontend.

I am using K2 v2.6.7 and Joomla 2.5.17.

Thanks for helping!

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

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 8 months ago #123531 by Yiota
Hello,
Check if you are getting any javascript errors through your console in your browser's developer tools.

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

  • pixel kraft
  • pixel kraft's Avatar Topic Author
  • Offline
  • New Member
More
10 years 8 months ago #123532 by pixel kraft
Replied by pixel kraft on topic Re: JCE Editor not working in Frontend for K2
Hi!

When the popup openes, I get a
"NetworkError: 500 Internal Server Error - example.org/submenu/item/edit/82?tmpl=component"

in the console!

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

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 8 months ago #123533 by Yiota
Does the add new item work?

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

  • pixel kraft
  • pixel kraft's Avatar Topic Author
  • Offline
  • New Member
More
10 years 8 months ago - 10 years 8 months ago #123534 by pixel kraft
Replied by pixel kraft on topic Re: JCE Editor not working in Frontend for K2
No.

I get a 500 server error also.
Setting the error reporting to maximum responds a:

Fatal error: Cannot redeclare class Mobile_Detect in /srv/www/vhosts/.../httpdocs/templates/theme1261/includes/mobile_detect.php on line 16

I am using the gantry template. The errors comes only in K2 items and JCE. :-/

EDIT:
I got it working!

In templates/theme###/html/com_k2/default/itemform.php. I changed
require_once ($includesPath);

with
if(!class_exists('Mobile_Detect'))
  require_once ($includesPath);

Then it worked!
:) Thanks for your help!

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

  • Yiota
  • Yiota's Avatar
  • Visitor
10 years 8 months ago #123535 by Yiota
You are welcome and glad you sorted it out.

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

More
10 years 1 week ago #123536 by theant

pixel kraft wrote: No.

I get a 500 server error also.
Setting the error reporting to maximum responds a:

Fatal error: Cannot redeclare class Mobile_Detect in /srv/www/vhosts/.../httpdocs/templates/theme1261/includes/mobile_detect.php on line 16

I am using the gantry template. The errors comes only in K2 items and JCE. :-/

EDIT:
I got it working!

In templates/theme###/html/com_k2/default/itemform.php. I changed

require_once ($includesPath);

with
if(!class_exists('Mobile_Detect'))
  require_once ($includesPath);

Then it worked!
:) Thanks for your help!



Hello
I get the same issue, JCE not loading in frontend. I can't find require_once ($includesPath); in itemform.php file
Are you sure?

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 1 week ago #123537 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: JCE Editor not working in Frontend for K2
This is specific to that template which is using the Gantry framework.

If you are getting the same error I suggest you address this issue to the template developer.

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

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

More
10 years 1 week ago #123538 by theant
I use Gantry too.

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

  • Krikor Boghossian
  • Krikor Boghossian's Avatar
  • Offline
  • Platinum Member
More
10 years 5 days ago #123539 by Krikor Boghossian
Replied by Krikor Boghossian on topic Re: JCE Editor not working in Frontend for K2
Have you tried looking for a solution at the RT forums?

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