Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Responsive FileManager
#76
(2016-09-28, 10:07:56)sidotij Wrote: Is there a way to add Responsive File Manager to the ckeditor in News Manager?

I have Responsive FileManager CKEditor integration set up for gs but it's not carrying thru to the News Manager

Thanks
John

Hi, John.
I see that News Manager use own CKEditor implementation.
RFM integrate in GS only. It's hard to integrate RFM to all plugins that use own editor implementation.
But NM is very popular plugin, so I will do integration with it when I have some free time.
For now you can integrate RFM to the NM manually. Just copy attached file: ckeditor.php to the path:
/plugins/news_manager/template/
and replace original file.
After that you will have worked RFM with Thumbnail plugin in the NM.
Good luck. Andrejus.


Attached Files
.php   ckeditor.php (Size: 2.51 KB / Downloads: 13)
Reply
#77
Andrejus,

getting closer.. I can see the thumbnail button now and it does indeed work
Thanks you

That leads me ot the next question tho... the only ckeditor.php files that I see are under /plugins
where does gs itself get it's ckeditor settings?

John
Reply
#78
(2016-09-29, 23:59:30)sidotij Wrote: Andrejus,

getting closer.. I can see the thumbnail button now and it does indeed work
Thanks you

That leads me ot the next question tho... the only ckeditor.php files that I see are under /plugins
where does gs itself get it's ckeditor settings?

John

You can set some CKEditor settings and change this default values in the root gsconfig.php file.
You can find 5 Sections with WYSIWYG word.
But plugins itself can change editor settings dynamically and adopt this settings how they need. GS gives to as such an opportunity.
So RFM and News Manager use this opportunity and change some settings dynamically from inside plugin source code.
Reply
#79
thanks for the tips everyone... I have the editor looking like how I want in both places

John
Reply
#80
Good day everyone,

i've got the RFM installed and debug mode is on, then it shows me the following info on my webpage:

Quote:Notice: Undefined index: id in (...)/plugins/responsivefilemanager.php on line 40

What could be the reason for that?
Thank you in advance.
Shasaar
Reply
#81
(2016-12-26, 19:35:47)Shasaar Wrote: Good day everyone,

i've got the RFM installed and debug mode is on, then it shows me the following info on my webpage:

Quote:Notice: Undefined index: id in (...)/plugins/responsivefilemanager.php on line 40

What could be the reason for that?
Thank you in advance.
Shasaar

Soon I release new plugin version RFM ver. 2.4 with many improvements. In this version mentioned notice will be fixed also.
Reply
#82
Version changed to 2.4

RFM from ver. 2.4 has become a multi-functional development tools. Now you can create modern, attractive-looking, animated image galleries just with few mouse clicks directly in the CKEditor. No additional plugins is required.

Plugin changes:
  1. The kernel version has upgraded to ver. 9.11.0. Changes: Add FTP support, Upload from URL, Add watermark on images, multiple fixes, Files and folders permissions restored to 755 (for a wider servers support)
  2. To the administration page add 3 new settings fields:
    • "File maximum upload size". Now you can set the file upload size to the server in this place.
    • "Do not use Javascript on my site front-end pages". If this field is checked RFM will not use any JS code insertions on site front-end pages (for Themes support that do not use Javascript (eg "Skeleton-FX").
    • "Add LightBoxCSS image gallery style-sheet on front-end pages". Check this box if you plan to use this type of galleries.
  3. In the CKEditor Thumbnail dialog window add 3 new elements:
    • To the Thumbnail target element add a new parameter "LightBox CSS". "LightBox CSS" is a lightweight, independent (no JQuery or JS required) pure CSS3 script which allows you to create full featured, animated image galleries.
    • Add new element "Gallery type" which has 4 options. By using 3 predefined options: "Default", "Zoom" and "Polaroid" you can easily build an attractive-looking, animated image galleries. Option "Custom" can be used for your own gallery type creation.
    • Add new element "Border radius" for setting thumbnails border radius inside galleries.
How can looks LightBoxCSS galleries you can see on my preview LIVE page here :
http://pigios-svetaines.eu/projects/skel...e-gallery/

Screenshots:
[Image: rfm_24.jpg]

[Image: thumb_24.jpg]
Reply
#83
Version changed to 2.5
Plugin changes:
  1. The kernel version has upgraded to ver. 9.11.3.
  2. RFM is now able to work with CKEditor user-defined Toolbars. CKEditor user-defined Toolbars can be generated by the three ways (listed by usage priority):
    • When checked the field "Set CKEditor toolbar to advanced + Thumb button";
    • When defined variable GSEDITORTOOL in the gsconfig.php file. Eg. define('GSEDITORTOOL', "['Bold', 'Italic', 'Underline'],'/',['Styles','Format','Font']");
    • When in the field "Custom CKEditor Toolbars elements" enter the appropriate parameters. If on your site plugin "Multi User" is activated then you can set the toolbars separately for administrators and ordinary users (in the "Multi User" administrator occurs when field "Manage users" is unchecked).
  3. RFM is now able to work with CKEditor user-defined Options. You can use this option for extraPlugins activation. CKEditor user-defined Options can be generated in two ways (listed by usage priority):
    • When defined variable GSEDITOROPTIONS in the gsconfig.php file. Eg. define('GSEDITOROPTIONS', ' extraPlugins:"youtube,codemirror"');
    • When in the field "CKEditor extraPlugins activation" enter the appropriate parameters.
  4. With RFM now you can insert just simple Thumbnail image. For this in the CKEditor Thumbnail dialog window to the Thumbnail target element add a new parameter "Simple Thumb" and to the element "Gallery type" add parameter "not set". In order to insert Simple Thumbnail image choose an image, select needed "Thumbnail type", choose parameter "Simple Thumb" and parameter "not set".
  5. Fixed image upload to server issue.
[Image: rfm-25.jpg]
Reply
#84
Exclamation 
After adding 2.5 to a new install, in plugins, when clicking install, I receive a simple "error" message.
Clicking anywhere else results in a blank screen.  Huh
Reply
#85
(2017-02-15, 22:51:46)islander Wrote: After adding 2.5 to a new install, in plugins, when clicking install, I receive a simple "error" message.
Clicking anywhere else results in a blank screen.  Huh

This issue is fixed. Add support for servers with PHP lower version than 5.5.
Also you can use such a code in the your gsconfig.php file:
define('GSEDITOROPTIONS', '
    extraPlugins:"thumb",

    filebrowserBrowseUrl:"../plugins/responsivefilemanager/dialog.php?type=2&lang=en_US&editor=ckeditor&fldr=",
    filebrowserImageBrowseUrl:"../plugins/responsivefilemanager/dialog.php?type=1&lang=en_US&editor=ckeditor&fldr=",
    filebrowserWindowWidth:"75%",
    filebrowserWindowHeight:"65%"
');

This option lets you use Thumbnail button and Responsive FileManager with all CKEditor instances which are used by other plugins (eg. News Manager and so on) without integration or source code modification.
Thank's Eric (islander) for this opportunity.
Reply
#86
Version changed to 2.5a
Plugin changes:
  1. Fixed security issue with RFM file dialog.php.
Reply
#87
change ckeditor.php with your for news_manager plugin, i seen button thumb - ok
but and i get Access denied when browse on server press
becouse akey=48607dfdaf9aba9b83f3dc881a939f68 is absent in url (i tried to set manually - worked)


/blog/plugins/responsivefilemanager/dialog.php?type=2&lang=ru&editor=ckeditor&fldr=&CKEditor=post-content&CKEditorFuncNum=0&langCode=ru

/blog/plugins/responsivefilemanager/dialog.php?type=2&lang=ru&akey=48607dfdaf9aba9b83f3dc881a939f68&editor=ckeditor&fldr=&CKEditor=post-content&CKEditorFuncNum=0&langCode=ru

what i can do for this in ckeditor.php (this post)?

        filebrowserBrowseUrl : '../plugins/responsivefilemanager/dialog.php?type=2&lang=ru&akey=<?=$akey;?>&editor=ckeditor&fldr=',
Reply
#88
(2018-02-23, 18:38:28)AviaBarsik Wrote: change ckeditor.php with your for news_manager plugin, i seen button thumb - ok
but and i get Access denied when browse on server press
becouse akey=48607dfdaf9aba9b83f3dc881a939f68 is absent in url (i tried to set manually - worked)

Hello.
My workaround for News Manager has been realized before Security Fix with Security key usage on RFM.
So I need to recreate News Manager function to use akey also.
Give me some time to do it.
About solution I annonce here.
Have a nice day. Andrejus.
Reply
#89
Version changed to 2.6
Plugin changes:
  1. The kernel version has upgraded to ver. 9.12.2.
  2. To the administration page add new area "Responsive FileManager News Manager integration" where you can integrate RFM to the NM Edit pages or recall this integration.
  3. To the administration page add new area of assistance for custom Responsive FileManager integration which provided the descriptions, source codes and examples of usage.
Reply




Users browsing this thread: 1 Guest(s)