- Posts: 21
COMMUNITY FORUM
What JS file does the front end editor use?
- Steve
- Topic Author
- Offline
- Junior Member
Less
More
10 years 9 months ago #122582
by Steve
What JS file does the front end editor use? was created by Steve
To speed up my site, I'd like to combine the JS files (using JCH Optimize) but it causes some issues with the front end editor - the editor won't open in the normal lightbox, rather it opens as a whole page and then won't close afterwards.
Can anyone tell me what JS file the front end editor lightbox use? - so I can exclude it from the files to be combined and see if that stops the issue.
Can anyone tell me what JS file the front end editor lightbox use? - so I can exclude it from the files to be combined and see if that stops the issue.
Please Log in or Create an account to join the conversation.
- olsen
- Offline
- Elite Member
- Joomla and K2 Freelancer
10 years 9 months ago #122583
by olsen
Didn't solve your issues?? Why dont you consider hire me? Email me or contact me www.xevedigital.com for details
Replied by olsen on topic Re: What JS file does the front end editor use?
the K2 JS file is on the following path:
\components\com_k2\js\k2.js
Didn't solve your issues?? Why dont you consider hire me? Email me or contact me www.xevedigital.com for details
Please Log in or Create an account to join the conversation.
- Steve
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
10 years 9 months ago #122584
by Steve
Replied by Steve on topic Re: What JS file does the front end editor use?
Hi Olsen, thanks for the reply. Unfortunately, that doesn't seem to be the one that controls the lightbox, or at least that'S the way it seems to me.
I have managed to exclude it from being combined with the other js files but the front end editor still won't open in a lightbox. Any other ideas?
I have managed to exclude it from being combined with the other js files but the front end editor still won't open in a lightbox. Any other ideas?
Please Log in or Create an account to join the conversation.
- Krikor Boghossian
- Offline
- Platinum Member
Less
More
- Posts: 15920
10 years 9 months ago #122585
by Krikor Boghossian
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Replied by Krikor Boghossian on topic Re: What JS file does the front end editor use?
check the modal.js file as well.
What it the JS error you are getting
What it the JS error you are getting
JoomlaWorks Support Team
---
Please search the forum before posting a new topic :)
Please Log in or Create an account to join the conversation.
- Steve
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 21
10 years 9 months ago #122586
by Steve
Replied by Steve on topic Re: What JS file does the front end editor use?
Hi, thanks for the help on this one guys but I think I am just going to try and avoid using the k2 front end editor, not because of the JS, I just think the lightbox method is too flimsy and people can lose their writing too easily.
My stopgap measure will be to use the joomla editor and let people submit with that then copy and paste to k2 on the backend myself.
Thanks again for helping with this one!
My stopgap measure will be to use the joomla editor and let people submit with that then copy and paste to k2 on the backend myself.
Thanks again for helping with this one!
Please Log in or Create an account to join the conversation.