Osclass Support Forums

Osclass plugin support => Blog and News Plugin => Topic started by: Terence Naidoo on July 08, 2021, 12:37:58 PM

Title: Rich Text Box not showing
Post by: Terence Naidoo on July 08, 2021, 12:37:58 PM
Hi

The Rich Text box does not show when adding an artice.
Without this I can't add the description of the article.
Please help. See attached screenshot.

Regards,
Terence
Title: Re: Rich Text Box not showing
Post by: MB Themes on July 08, 2021, 03:16:39 PM
@Terence Naidoo
Have you checked that file exists on your hosting? Should be delivered with osclass installation.
Problem is not related to plugin as it require some files from osclass core.
Title: Re: Rich Text Box not showing
Post by: Terence Naidoo on July 08, 2021, 05:32:59 PM
Hi

I tried copying the file required as well as the entire folder: ...oc-includes\osclass\assets\js\tinymce to my website but now am getting different errors.
See attached screenshot.
The Description box is just not showing up at all.

Note: I am using OSClass version 3.7.4 but according to your plugin website(https://osclasspoint.com/osclass-plugins/messaging-and-communication/osclass-blog-and-news-plugin-i84 (https://osclasspoint.com/osclass-plugins/messaging-and-communication/osclass-blog-and-news-plugin-i84) it should still support OSClass 3.0+ but it does not.

Please assist.

Regards,
Terence
Title: Re: Rich Text Box not showing
Post by: MB Themes on July 09, 2021, 11:15:32 AM
@Terence Naidoo
You are right, my assumption is that tinymce used in plugin expects higher version than used in osclass 3.7.
Please create support ticket and provide backoffice & ftp access, hope it can be fixed quickly.
Title: Re: Rich Text Box not showing
Post by: Terence Naidoo on July 09, 2021, 12:33:06 PM
Support request with the details sent.

Regards,
Terence
Title: Re: Rich Text Box not showing
Post by: MB Themes on July 09, 2021, 01:37:51 PM
@Terence
Problem has been resolved on your site.
Root of problem is not with Blog plugin, but with some else, that is adding osclass version of TinyMCE into every page of oc-admin and that cause conficts.

This can be easily fixed by adding following code to start of index.php of plugin.
Code: [Select]
$act = Params::getParam('action');
$fil = Params::getParam('file');

if($act == 'renderplugin' && @explode('/', $fil)[0] == 'blog') {
  osc_remove_script('tiny_mce');
}
Title: Re: Rich Text Box not showing
Post by: Ranvir Singh on July 09, 2021, 02:08:31 PM
hi ,

Which index.php are you referring too
Title: Re: Rich Text Box not showing
Post by: MB Themes on July 09, 2021, 02:15:11 PM
@Ranvir
oc-content/plugins/blog/index.php
Title: Re: Rich Text Box not showing
Post by: Terence Naidoo on July 09, 2021, 02:16:47 PM
Thanks for your help. Working well  :D

Regards,
Terence