Forum
Perch 3 migration: where is CKeditor?
I am updating an old project into Perch 3. Everything works fine expect custom CKeditor is not appearing. Any idea?
Perch: 3.0.6, PHP: 5.4.4, MySQL: 5.5.25, with PDO
Server OS: Darwin, apache2handler
Installed apps: content (3.0.6), assets (3.0.6), categories (3.0.6), perch_blog (5.5.1)
App runtimes: <?php $apps_list = array( 'content', 'categories', 'perch_blog', ); ?>
PERCH_LOGINPATH: /perch
PERCH_PATH: /Applications/MAMP/htdocs/oficina4play.com/perch
PERCH_CORE: /Applications/MAMP/htdocs/oficina4play.com/perch/core
PERCH_RESFILEPATH: /Applications/MAMP/htdocs/oficina4play.com/perch/resources
Image manipulation: GD
PHP limits: Max upload 32M, Max POST 32M, Memory: 64M, Total max file upload: 32M
F1: 0c66c2e1f82f9e0b7617b2cb8270f2c7
Resource folder writeable: Yes
HTTP_HOST: oficina4play:8888
DOCUMENT_ROOT: /Applications/MAMP/htdocs/oficina4play.com
REQUEST_URI: /perch/core/settings/diagnostics/
SCRIPT_NAME: /perch/core/settings/diagnostics/index.php
template
<perch:content type="textarea" label="Texto" id="textoTeam" html="true" editor="ckeditor2" />
_config.inc for CKeditor
<script type="text/javascript" src="PERCH_LOGINPATH/addons/plugins/editors/ckeditor2/ckeditor.js"></script>
<script type="text/javascript" src="PERCH_LOGINPATH/addons/plugins/editors/ckeditor2/adapters/jquery.js"></script>
<script type="text/javascript" src="PERCH_LOGINPATH/addons/plugins/editors/ckeditor2/build-config.js"></script>
<script type="text/javascript" src="PERCH_LOGINPATH/addons/plugins/editors/ckeditor2/config.js"></script>
<script type="text/javascript" src="PERCH_LOGINPATH/addons/plugins/editors/ckeditor2/styles.js"></script>
<script type="text/javascript" src="PERCH_LOGINPATH/addons/plugins/editors/ckeditor2/lang/es.js"></script>
<link rel="stylesheet" href="PERCH_LOGINPATH/addons/plugins/editors/ckeditor2/contents.css" type="text/css" />
<script>
// Replace the <textarea id="editor1"> with a CKEditor
// instance, using default configuration.
CKEDITOR.replaceAll( 'ckeditor2' );
</script>
Have you updated CKEditor to the one for Perch 3?
As I used a custom editor configuration I downloaded it from CKeditor's site. I just updated to newest version (4.7) and is not appearing...
Even if I install the one from Perch's site is not working
What's happening?
It's showing as a simple textarea, with all imported content, but with all html code on it
Make sure you're up to date with both the latest Perch and the latest version of CKEditor from here: https://addons.perchcms.com/addons/ckeditor
Everything is updated, Perch and CKEditor
Everything is not updated. https://grabaperch.com/update/v3-0-8
Ok, sorry about that Drew. I just installed the CKeditor you point at Perch's site and it works. But I would like to have the old configuration I had on previous version. Witch files should I copy from the other one?
The documentation for customising editors is here:
https://docs.grabaperch.com/api/editors/
Thanks Drew, it's working