Forum

Thread tagged as: Question, Problem

editor not showing in text area in blocks

I have a blocks template that includes a text area, editable with ckeditor.

Problem is that on initial load in Perch the text area shows without the editor toolbar - save the content and then the editor toolbar appears.

<perch:blocks>


<perch:block type="textarea" label="text block">
<perch:content id="text" type="textarea" label="Text" html="true" editor="ckeditor" imagewidth="640" imageheight="480" />
</perch:block>


<perch:block type="image" label="full width image">
<img src="<perch:content type="image" id="imagefw" label="Image - full width" width="780" />" class="scalable" alt="<perch:content type="text" id="alt" label="Image Description" required="false" help="e.g. photo of cheltenham box" title="true" />" />
</perch:block>


<perch:block type="file" label="downloadable file">
<a href="<perch:content id="file" type="file" label="File" order="" />"><perch:content type="text" id="desc" label="File title" order="1" required="true" title="true" /></a>
</perch:block>


</perch:blocks>
Charlie Elsey

Charlie Elsey 0 points

  • 5 years ago
Rachel Andrew

Rachel Andrew 394 points
Perch Support

Please post your Diagnostics Report - we need this with any post to the forum and it will speed up getting an answer if you include it.

Perch information Perch: 2.8.26 Production mode: Production (100) Installed apps: content (2.8.26), assets (2.8.26), categories (2.8.26), perch_blog (5.0), perch_events (1.9.2), perch_forms (1.8.3), perch_gallery (2.8.6), perch_shop_paypal (1.2.3) DB driver: PDO DB tables: perch2_blog_authors (2), perch2_blog_categories (0), perch2_blog_comments (0), perch2_blog_index (359), perch2_blog_posts (14), perch2_blog_posts_to_categories (0), perch2_blog_posts_to_tags (0), perch2_blog_sections (1), perch2_blog_tags (1), perch2_blogs (1), perch2_categories (0), perch2_category_counts (0), perch2_category_sets (1), perch2_content_index (4804), perch2_content_items (1432), perch2_content_regions (159), perch2_events (15), perch2_events_categories (25), perch2_events_to_categories (15), perch2_forms (0), perch2_forms_responses (0), perch2_gallery_albums (9), perch2_gallery_image_versions (252), perch2_gallery_images (42), perch2_navigation (0), perch2_navigation_pages (0), perch2_page_templates (1), perch2_pages (58), perch2_resource_log (766), perch2_resource_tags (0), perch2_resources (321), perch2_resources_to_tags (0), perch2_settings (38), perch2_shop_categories (2), perch2_shop_log (0), perch2_shop_orders (0), perch2_shop_product_options (0), perch2_shop_products (2), perch2_shop_products_to_categories (2), perch2_user_passwords (0), perch2_user_privileges (47), perch2_user_role_privileges (42), perch2_user_roles (2), perch2_users (4) Users: 4 App runtimes: <?php include(PERCH_PATH.'/core/apps/content/runtime.php'); include(PERCH_PATH.'/core/apps/categories/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_blog/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_events/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_gallery/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_forms/runtime.php'); include(PERCH_PATH.'/addons/apps/perch_shop_paypal/runtime.php'); ?>

Scheduled tasks for perch_blog: delete_spam_comments (1440 mins) Scheduled tasks for perch_events: update_category_counts (60 mins) Editor plug-ins: ckeditor, markitup H1: c4cc7739831e67a0423b8f07067f4473 L1: 814752eff89f7b44b531e20b1cc42063 F1: 2edba60ed1f613d6dd804feb202456a2 headerColour: #ce2029 content_singlePageEdit: 1 helpURL: siteURL: / hideBranding: 1 content_collapseList: 1 lang: en-gb update_2.3.4: done latest_version: 2.8.15 on_sale_version: 2.8.31 headerScheme: dark dashboard: 1 perch_blog_post_url: /blog/post.php?s={postSlug} perch_blog_slug_format: %Y-%m-%d-{postTitle} perch_blog_akismet_key: perch_blog_max_spam_days: 1 perch_events_detail_url: /events/event.php?event={eventSlug} perch_gallery_bucket_mode: single perch_gallery_bucket: default content_hideNonEditableRegions: 0 perch_blog_comment_notify: 0 perch_gallery_basicUpload: 0 perch_events_update: 1.8 update_2.4.1: done perch_blog_update: 5.0.1 perch_gallery_update: 2.8.5 update_2.4.6: done update_2.8.18: done perch_blog_site_name: perch_shop_paypal_email: wimbledon@doodah.co.uk perch_shop_product_url: wimbledon/store/product.php?s={productSlug} hide_pwd_reset: 0 content_frontend_edit: 0 perch_shop_display_oos: 0 update_2.8.26: done logoPath: /perch/resources/originalbigger-notext-nolines-1.png PERCH_DEVELOPMENT: 10 PERCH_STAGING: 50 PERCH_PRODUCTION: 100 PERCH_DB_USERNAME: doodah PERCH_DB_SERVER: mysql06.iomart.com PERCH_DB_DATABASE: doodah PERCH_DB_PREFIX: perch2_ PERCH_TZ: UTC PERCH_EMAIL_FROM: charlie.elsey@doodah.com PERCH_EMAIL_FROM_NAME: charlie elsey PERCH_LOGINPATH: /perch PERCH_PATH: /vhost/vhost14/s/p/o/doodah.co.uk/www/perch PERCH_CORE: /vhost/vhost14/s/p/o/doodah.co.uk/www/perch/core PERCH_RESFILEPATH: /vhost/vhost14/s/p/o/doodahco.uk/www/perch/resources PERCH_RESPATH: /perch/resources PERCH_HTML5: 1 PERCH_RUNWAY: PERCH_ERROR_MODE: DIE PERCH_DATE_LONG: %d %B %Y PERCH_DATE_SHORT: %d %b %Y PERCH_TIME_SHORT: %H:%M PERCH_TIME_LONG: %H:%M:%S PERCH_RUNWAY_ROUTED: PERCH_STRONG_PASSWORDS: PERCH_DEBUG: PERCH_PREVIEW_ARG: preview PERCH_TEMPLATE_PATH: /vhost/vhost14/s/p/o/doodah.co.uk/www/perch/templates PERCH_DEFAULT_DOC: index.php PERCH_DEFAULT_EXT: .php PERCH_PRODUCTION_MODE: 100 PERCH_RWD: PERCH_HTML_ENTITIES: PERCH_SSL: PERCH_STRIPSLASHES: PERCH_PROGRESSIVE_FLUSH: 1 PERCH_PARANOID: PERCH_FORCE_SECURE_COOKIES: PERCH_PASSWORD_MIN_LENGTH: 6 PERCH_MAX_FAILED_LOGINS: 10 PERCH_AUTH_LOCKOUT_DURATION: 1 HOUR PERCH_VERIFY_UPLOADS: PERCH_AUTH_PLUGIN: PERCH_DB_CHARSET: utf8 PERCH_DB_PORT: PERCH_DB_SOCKET: PERCH_SESSION_TIMEOUT_MINS: 20

Hosting settings PHP: 5.4.45 Zend: 2.4.0 OS: Linux SAPI: apache2handler Safe mode: not detected MySQL client: 5.5.50-MariaDB MySQL server: 5.0.92-50 Free disk space: 63.48 GB Extensions: Core, date, ereg, libxml, openssl, pcre, zlib, bz2, calendar, ctype, hash, filter, ftp, gettext, SPL, iconv, Reflection, session, standard, shmop, SimpleXML, sockets, mbstring, tokenizer, xml, apache2handler, apcu, bcmath, curl, dba, dom, fileinfo, gd, gmp, imagick, imap, json, exif, mcrypt, mssql, mysql, mysqli, odbc, PDO, pdo_dblib, pdo_mysql, PDO_ODBC, pdo_pgsql, pdo_sqlite, pgsql, Phar, posix, snmp, soap, sqlite3, sybase_ct, sysvmsg, sysvsem, sysvshm, tidy, wddx, XCache, xmlreader, xmlrpc, xmlwriter, xsl, zip, mhash, apc, XCache Optimizer, XCache Cacher, XCache Coverager, ionCube Loader GD: Yes ImageMagick: Yes PHP max upload size: 2M PHP max form post size: 8M PHP memory limit: 128M Total max uploadable file size: 2M Resource folder writeable: Yes Session timeout: 24 minutes Native JSON: Yes Filter functions: Yes Transliteration functions: No UNIQUE_ID: V7bnELlMFkbHQj-QOWb8WQAAAAE HTTP_ACCEPT: text/html, application/xhtml+xml, image/jxr, / HTTP_REFERER: https://www.doodah.co.uk/perch/core/settings/diagnostics/ HTTP_USER_AGENT: Mozilla/5.0 (Windows NT 10.0; WOW64; Trident/7.0; rv:11.0) like Gecko HTTP_HOST: www.doodah.co.uk HTTP_X_FORWARDED_FOR: 217.42.208.28, 10.9.16.81 HTTP_COOKIE: cmsa=1; PHPSESSID=dvomc0iac1no1g08b8j7nqt8e1 HTTP_ACCEPT_LANGUAGE: en HTTP_ACCEPT_ENCODING: gzip HTTP_X_VARNISH: 284655912 PATH: /usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin SERVER_SOFTWARE: Apache/2.4.6 (CentOS) SERVER_NAME: www.doodah.co.uk SERVER_ADDR: 10.9.16.45 SERVER_PORT: 80 REMOTE_ADDR: 10.9.16.81 DOCUMENT_ROOT: /vhost/vhost14/s/p/o/doodah.co.uk/www REQUEST_SCHEME: http CONTEXT_DOCUMENT_ROOT: /vhost/vhost14/s/p/o/doodah.co.uk/www SERVER_ADMIN: support@doodah.com SCRIPT_FILENAME: /vhost/vhost14/s/p/o/doodah.co.uk/www/perch/core/settings/diagnostics/index.php REMOTE_PORT: 33569 GATEWAY_INTERFACE: CGI/1.1 SERVER_PROTOCOL: HTTP/1.1 REQUEST_METHOD: GET QUERY_STRING: extended REQUEST_URI: /perch/core/settings/diagnostics/?extended SCRIPT_NAME: /perch/core/settings/diagnostics/index.php PHP_SELF: /perch/core/settings/diagnostics/index.php REQUEST_TIME_FLOAT: 1471604496.857 REQUEST_TIME: 1471604496

Rachel Andrew

Rachel Andrew 394 points
Perch Support

Does the problem still exist with an up to date install of Perch?

not updated Perch yet but did update ckeditor ;)

◦1.9.1 – Made Blocks-ready

all good now