root/plugins/QFCKEditor/source/install.php

Revision 1012, 1.3 KB (checked in by alex94040, 18 months ago)

Fixing QFCKEditor - missing class ( http://qcu.be/content/fckeditor-plugin-demo-link-broken)

Line 
1<?php
2
3$objPlugin = new QPlugin();
4$objPlugin->strName = "QFCKEditor";
5$objPlugin->strDescription = 'Rich-text, WYSIWYG editor for QCubed - a plugin that bridges QCubed and
6        FCKEditor together. Use it anywhere you would use an HTML text area / multiline QTextBox.';
7$objPlugin->strVersion = "0.12";
8$objPlugin->strPlatformVersion = "1.1";
9$objPlugin->strAuthorName = "tronics"; // Restructured into a plugin by alex94040
10
11$components = array();
12
13$components[] = new QPluginControlFile("includes/QFCKEditor.class.php");
14
15$components[] = new QPluginJsFile("fckeditor_config.js");
16
17// Taking the ENTIRE js folder and registering it as a collection of JS files.
18// Not all files in that folder are JS files, but for maintenance reasons, it makes sense
19// to just wrap all of FCKEditor into a single thing - so that when new versions of FCKEditor
20// come out, updating the plugin would be simpler.
21$components[] = new QPluginJsFile("js");
22
23$components[] = new QPluginExampleFile("example/fckeditor.php");
24$components[] = new QPluginExampleFile("example/fckeditor.tpl.php");
25
26$components[] = new QPluginIncludedClass("QFCKEditor", "includes/QFCKEditor.class.php");
27
28$components[] = new QPluginExample("example/fckeditor.php", "Rich Text Editing with QFCKEditor");
29
30$objPlugin->addComponents($components);
31$objPlugin->install();
32       
33?>
Note: See TracBrowser for help on using the browser.