This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
Rich Text Box not showing
« 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

*

MB Themes

Re: Rich Text Box not showing
« Reply #1 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.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Rich Text Box not showing
« Reply #2 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 it should still support OSClass 3.0+ but it does not.

Please assist.

Regards,
Terence

*

MB Themes

Re: Rich Text Box not showing
« Reply #3 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.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Rich Text Box not showing
« Reply #4 on: July 09, 2021, 12:33:06 PM »
Support request with the details sent.

Regards,
Terence

Marked as best answer by frosticek on July 09, 2021, 02:20:40 PM
*

MB Themes

Re: Rich Text Box not showing
« Reply #5 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');
}
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

Ranvir Singh

  • **
  • 7 posts
Re: Rich Text Box not showing
« Reply #6 on: July 09, 2021, 02:08:31 PM »
hi ,

Which index.php are you referring too

*

MB Themes

Re: Rich Text Box not showing
« Reply #7 on: July 09, 2021, 02:15:11 PM »
@Ranvir
oc-content/plugins/blog/index.php
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

Re: Rich Text Box not showing
« Reply #8 on: July 09, 2021, 02:16:47 PM »
Thanks for your help. Working well  :D

Regards,
Terence