Before you install:
- Before using WysiwygPro please make sure that you have purchased the correct license for your intended use. Please see the license.pdf file included with the product. By installing this product you agree to the license terms.
- Make sure your server meets the minimum system requirements, see the requirements page on this website.
- Be sure to use a supported browser when accessing the editor, you may need to provide instructions to your users so that they too know which browsers they can use. Please see the requirements page on this website. Support for several other browsers is under active development. (Note WysiwygPro will display as a regular textarea in unsupported browsers)
- Copy the wysiwygPro folder to your webserver. If you would like to play with the included examples then copy the examples folder too.
- Point your browser at wysiwygPro/installCheck.php
If you copied the wysiwygPro folder into the root of your web site then the URL will be something like:
http://www.yoursite.com/wysiwygPro/installCheck.phpThe Install Check will inform you if there will be any problems running WysiwygPro on your server. Follow the instructions given to rectify any problems.
- If the editor is displaying correctly at the bottom of the Install Check page, you have completed installation!
Important: You should now delete the installCheck.php file. Although the file itself is harmless it does disclose information about your server that could be useful to a hacker.
Setting up the config file:
If you look in the wysiwygPro folder you will see two config files, one called config.php and one called config.inc.php. Please ignore config.php, it is a legacy file, the only config file you might need to change is config.inc.php.
For most uses you will not need to touch the config file.
You can edit the config file in any text editor or HTML or PHP code editor such as Dreamweaver.
For WysiwygPro to run it needs to know the URL of the wysiwygPro folder, in most cases it will auto-detect this, however it cannot do this if the editor is displayed on a page that is accessed through an Apache rewrite rule or Alias or any other situation where the URL of the page or of the wysiwygPro folder does not match the underlying file system. If this is the case then you will need to set the WPRO_EDITOR_URL property in the config file or set the editorURL property when constructing the editor. If you cannot hard code the URL in the config file then you can use the editorURL property, but you will need to remember to set it every time you construct an editor.
WysiwygPro and custom sessions:
If you are integrating WysiwygPro into an application that uses a custom session name (different to the one set in php.ini) or that uses custom session handlers then you will need to set up the session configuration file located at:
More information can be found in the section on sessions.