Skip to Content Skip to Menu

GJ events can't include a URL

  • krileon
  • krileon
  • ONLINE
  • Posts: 48995
  • Thanks: 8373
  • Karma: 1454
1 week 6 days ago - 1 week 6 days ago #340646 by krileon
Replied by krileon on topic GJ events can't include a URL
I've no idea how JCE handles its conditioning. If it was implemented the same way TinyMCE has it implemented it should work fine as we're just calling Joomla's API as follows.

Code:
return Editor::getInstance( $editor )->display( ... );


Basically we've implemented the usage to match Joomla's editor fieldtype. Reviewing TinyMCE it's properly using the viewing users account to determine access. I'm not sure what JCE is doing, but it might by trying to use the $author property, which shouldn't be used for editor permission checks.

Be sure your global editor within Joomla global configuration is set to JCE as that could be the possible cause if it's set to something else.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 1 week 6 days ago by krileon.

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

  • jhaines
  • jhaines
  • ONLINE
  • Posts: 70
  • Thanks: 8
  • Karma: 2
1 week 5 days ago #340657 by jhaines
Replied by jhaines on topic GJ events can't include a URL
When I set the default editor to Tiny-MCE either through global configuration or specifically on my user account, the editor correctly shows in GJ events edit. When I set it to JCE it doesn't, although it does display those CMS content buttons that would be below the editor. When I edit an article through the front-end, same user, same session, JCE correctly displays.
Unless there's somewhere to configure editor selection by component, it looks very much like GJ events (at least) is incompatible with JCE.


Joomla! 5.2.3 Stable [ Uthabiti ] 7-January-2025 16:00 GMT
Kunena: 6.3.8 2024-12-29
CB: 2.10.0+build.2025.02.10.18.59.11.b0d14120b
CB Antispam: 6.1.0+build.2025.02.10.15.32.05.48dd0aeca
JCE: 2.9.82

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48995
  • Thanks: 8373
  • Karma: 1454
1 week 5 days ago #340664 by krileon
Replied by krileon on topic GJ events can't include a URL
Was able to confirm it's not working, but I've no idea why. We're calling Joomla's editor API as we're supposed to. So my guess is JCE has some sort of loading logic that isn't working for some reason. I see the following error that maybe JCE will know more about and suggest contacting them.
Code:
index.php?option=com_jce&task=editor.loadlanguages&lang=en&8d1bf2b63d277f592a88e61220a11249=1&context=253&99f24bff28db0ba2a9bf53026323a6ca

Just seams to be in regards to loading language files. I see no further errors. JCE doesn't seam to work in CBs profile editor field types either. This leads me to believe they're initializing their editor in a non-standard way and aren't properly using Joomla editor API.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

  • krileon
  • krileon
  • ONLINE
  • Posts: 48995
  • Thanks: 8373
  • Karma: 1454
1 week 4 days ago #340666 by krileon
Replied by krileon on topic GJ events can't include a URL
Ok, the only way I could get it to work was adding Registered to the Default profile in JCE > Profiles. This appears to work fine. Please be sure "User Group" is set correctly under "Assignment" of your JCE profiles as that seams to be the sole contributing factor.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

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

Moderators: beatnantkrileon
Powered by Kunena Forum