Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum
Welcome, Guest

NO BUTTON with JCe on TinyMCE
(1 viewing) (1) Guest
Read user-guide, report bugs and discuss more

TOPIC: NO BUTTON with JCe on TinyMCE

Re: NO BUTTON with JCe on TinyMCE 6 years, 3 months ago #37015

Thank you to have editing my plugin.

But the YT shortcode button still doesn't appear on JCE Editor.

I add a files to show what i see on my JCE Editor after the plugin editing you do.

Re: NO BUTTON with JCe on TinyMCE 6 years, 3 months ago #37029

Dear glambolez

Please send us the admin account to check directly

thanks

Re: NO BUTTON with JCe on TinyMCE 6 years, 3 months ago #37030

Ok,
i notice these elements in the "Admin Only" zone on the top of this message.
For more details/information, you can mail me directly.

Re: NO BUTTON with JCe on TinyMCE 6 years, 3 months ago #37033

Dear glambolez

I'm administrator.
I fixed this issue for you in /Site/plugins/system/ytshortcodes//Site/plugins/system/ytshortcodes/ytshortcodes.php

$app = JFactory::getApplication();
$editor = $app->getCfg('editor');
if($editor == "jce")
{
$page = str_replace('<div id="editor-xtd-buttons" class="btn-toolbar pull-left" role="toolbar" aria-label="Toolbar">','<div id="editor-xtd-buttons" class="btn-toolbar pull-left" role="toolbar" aria-label="Toolbar">'. $button.'</div><div class="toggle-editor btn-toolbar pull-right clearfix">', $page);
}
if($editor == "jce")
{
$page = str_replace('<div id="editor-xtd-buttons" class="btn-toolbar pull-left" role="toolbar" aria-label="Barre d\'outils">','<div id="editor-xtd-buttons" class="btn-toolbar pull-left" role="toolbar" aria-label="Barre d\'outils">'. $button, $page);
}
if($editor == "tinymce")
{
$page = str_replace('<div class="toggle-editor btn-toolbar pull-right clearfix">','<div class="toggle-editor btn-toolbar pull-right clearfix">'. $button.'</div><div class="toggle-editor btn-toolbar pull-right clearfix">', $page);
}else{
$page = str_replace('<div id="editor-xtd-buttons" class="btn-toolbar pull-left">', '<div id="editor-xtd-buttons" class="btn-toolbar pull-left">' . $button, $page);
}

please check your site again

thanks
The following user(s) said Thank You: madbit71

Re: NO BUTTON with JCe on TinyMCE 6 years, 3 months ago #37034

E.X.T.R.A !!! The button appears on JCE editor and TinyMCE !

thank you SO SO Sooo much ! You rock !


But, after... if i upgrade my joomla version. I have to change the code of the plugin one more time ?

Thank you so much one more time...

Re: NO BUTTON with JCe on TinyMCE 6 years, 3 months ago #37035

Dear glambolez

If you update joomla version, you don't need to edit the code again, because it is edited in our plugin not the file of joomla core

thanks
Time to create page: 0.25 seconds

Notification

Please find your issue via Suggested Posts before submitting your question. We have solved the most of issues and maybe your issue was solved before.

Latest My Topics

No posts to display.

Love all our templates?

Join our membership clubs starting at $49 only for access to all of our templates

Join Now
Home Pricing
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
SearchSupport
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes