Black Friday & Cyber Monday 2019 Sale: Up to 40% OFF Storewide & Extra Gift
0
Your Cart is currently empty!
Product update
Coupon
add
Coupon code invalid! Please re-enter!
AJAX loader
You are here: HomeForum

We are here to serve :)

Our support team is currently online to solve your issues.

Our support team is currently offline

Our support heroes might not be around this hour. Please expect some delays.

Our support is available from

Monday - Friday 8am - 5:30pm GMT+7

Your time: 00:00:00
Our time: 00:00:00

Welcome, Guest

[SOLVED] YT Shortcodes disappear from editor in administrator in joomla 3.6
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: [SOLVED] YT Shortcodes disappear from editor in administrator in joomla 3.6

[SOLVED] YT Shortcodes disappear from editor in administrator in joomla 3.6 2 years, 9 months ago #31535

YT Shortcodes disappear from editor in administrator in joomla 3.6
the old tag still working but now i cant add anew shortcode into articles
Last Edit: 2 years, 9 months ago by ttuateyah.
The topic has been locked.

Re: YT Shortcodes disappear from editor in administrator in joomla 3.6 2 years, 9 months ago #31543

Dear ttuateyah

Please go to the file: plugins\system\ytshortcodes\ytshortcodes.php and find:
$page = str_replace('<div id="editor-xtd-buttons">', '<div id="editor-xtd-buttons">' . $button, $page);
$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);

=> Edit to:
$version = new JVersion();
if($version->RELEASE < '3.5' ){
$page = str_replace('<div id="editor-xtd-buttons">', '<div id="editor-xtd-buttons">' . $button, $page);
$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);
}else
{
$app = JFactory::getApplication();
$editor = $app->getCfg('editor');
if($editor == "tinymce")
{
$page = str_replace('<div class="toggle-editor btn-toolbar pull-right clearfix">','<div id="editor-xtd-buttons" class="btn-toolbar pull-left">'. $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);
}
}

thanks
The topic has been locked.
The following user(s) said Thank You: ttuateyah

Re: YT Shortcodes disappear from editor in administrator in joomla 3.6 2 years, 9 months ago #31549

hello

thanks allot for your corporation
now its working
The topic has been locked.
  • Page:
  • 1
Time to create page: 0.38 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.
Black Friday & Cyber Monday 2019 Sale: Up to 40% OFF Storewide & Extra Gift

Suggested Posts

(/)
Result not found!

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
Magento Themes Magento Extensions Free Magento Extensions Prestashop Themes Prestashop Modules Magento 2 Themes