Forum

Thread tagged as: Problem, Addons, CKEditor

Setup CKEditor

Hi

I have installed ckeditor in perch/addons/plugins/editors/ and Ive amended the template text area in templates/content to:

<perch:content id="text" type="textarea" label="Text" html="true" editor="ckeditor" />

Im not getting any kind of text editor showing above the text area box where you input the text.

    Perch: 2.8.34, PHP: 5.6.39, MySQL: mysqlnd 5.0.11-dev - 20120503 - $Id: 76b08b24596e12d4553bd41fc93cccd5bac2fe7a $, with PDO
    Server OS: Linux, cgi-fcgi
    Installed apps: content (2.8.34), assets (2.8.34), categories (2.8.34)
    App runtimes: <?php $apps_list = array( 'content', 'categories', );
    PERCH_LOGINPATH: /equikate
    PERCH_PATH: /home/sites/4b/1/1e72516d65/public_html/equikate
    PERCH_CORE: /home/sites/4b/1/1e72516d65/public_html/equikate/core
    PERCH_RESFILEPATH: /home/sites/4b/1/1e72516d65/public_html/equikate/resources
    Image manipulation: GD
    PHP limits: Max upload 128M, Max POST 128M, Memory: 128M, Total max file upload: 128M
    F1: 6a33f95eca3667f9e0c39bf5ca2980fe
    Resource folder writeable: Yes
    DOCUMENT_ROOT: /home/sites/4b/1/1e72516d65/public_html/
    HTTP_HOST: equibliss-co-uk.stackstaging.com
    REQUEST_URI: /equikate/core/settings/diagnostics/
    SCRIPT_NAME: /equikate/core/settings/diagnostics/index.php

The pages are .php not .html if that helps.

Thanks in advance,

Paul Creamer

Paul Quillin-Creamer

Paul Quillin-Creamer 0 points

  • 2 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

Did you download the archived version of CKEditor for Perch 2?

Hi I took the copy from the perch 2 addons unzipped the file and up loaded the file ckeditor with had two sub foders in one called perck and the other file ckeditor-4

In the admin area I just have the text box with the Text top left next to the box with no editor along the top of the text field.

Drew McLellan

Drew McLellan 2638 points
Perch Support

Did it contain only two subfolders?

There was another file called: _config.json

Arre those the right files? Is there a problem with the CKEditor install generally?

Drew McLellan

Drew McLellan 2638 points
Perch Support

That sounds right. Do you get any errors in your browser console?

Hi

Im getting the following debug report: SELECT u.*, r.* FROM perch2_users u, perch2_user_roles r WHERE u.roleID=r.roleID AND u.userEnabled=1 AND u.userID=1 AND u.userHash='2d5a69d7731e04d9e4c54f2f9e4bc476' LIMIT 1 UPDATE perch2_users SET userHash='66f50c5c3f8ef4361379ead00b5fee17' WHERE userID='1' [26] SELECT p.privKey FROM perch2_user_privileges p [10] SELECT * FROM (SELECT DISTINCT settingID, settingValue, userID FROM perch2_settings WHERE userID=1 OR userID=0 ORDER BY userID DESC) AS settings GROUP BY settingID, settingValue, userID [1] SELECT * FROM perch2_content_regions WHERE regionID=9 LIMIT 1 [1] SELECT * FROM perch2_pages WHERE pageID='2' LIMIT 1 [1] SELECT * FROM perch2_content_items WHERE regionID=9 AND itemRev=0 ORDER BY itemOrder ASC [1] SELECT * FROM perch2_content_items WHERE regionID=9 AND itemRev=0 ORDER BY itemOrder ASC Using template: /templates/content/text_block.html Editor requested, but not installed: ckeditor

Do you know why the report says that ckeditor is not installed? I can see it on the server.

Is there a solution to why the CKEditor UI is not showing above the text box?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Can you list out the full path where you have CKeditor installed?

Hi

The path is public_html/equikate/addons/plugins/editors in that folder is the folder markitupand ckeditor in the ckeditor folder is a perch folder, ckeditor-4 and the file _config.json

Is that the correct location for the CKEditor?

Drew McLellan

Drew McLellan 2638 points
Perch Support

Yes, the location looks right, but if you have a ckeditor-4 folder in there, that looks more like the current version of the CKeditor plugin, not the archived one for old Perch 2 installations.

Make sure you've downloaded the old version from here: https://addons.perchcms.com/archive

Hi Drew

Thank you. I dowmloaded from the link unzipped upladed the ckeditor file and the UI appeared.

Thank you again.

Best regards,

Paul