HOW TO configure TinyMCE image upload plugin settings?

Discuss everything related to ApPHP Restaurant Site script.

Moderators: ne_moj, alexmst, zewa, vadimako, ne_moj, alexmst, zewa, vadimako

administrator
Site Admin
Site Admin
Posts: 5992
Joined: Jan 7th, '09, 23:18
Contact:

HOW TO configure TinyMCE image upload plugin settings?

Postby administrator » Nov 7th, '13, 21:11

ApPHP Restaurant Site used embedded TinyMCE WYSIWYG Editor and also imageupload plugin.
This plug require some configuration if depending on where you ApPHP Framework directory is placed.

To check/configure TinyMCE imageupload plugin do following;

1. Open restaurant\js\vendors\tinymce\plugins\imageupload\upload.php file.

2. In this file find following line of code:

Code: Select all

$apphp = dirname(__FILE__).'/'.$baseDir.'framework/Apphp.php';

It's already related to the the framework directory (when framework is placed inside application directory).
If you move framework directory from default place to any other location, change this path to make sure it links to the right place.

3. To block uploading file change $isDemo = false; with $isDemo = true;

Return to “ApPHP Restaurant Site {developers/users}”