Light
Back
  1. CKEditor

Tags

Extension
Nova 2

CKEditor

Version 1.0.1

Reviews

0.0 out of 5 stars

This mod adds a WYSIWYG editor to the writing pages for news items, personal logs, mission posts and private messages, through the use of the CKEditor plugin

Krace

Compatibility

Nova 2.7
This add-on may work with Nova 2.7, but members of the community haven’t confirmed
Nova 2.6
This add-on may work with Nova 2.6, but members of the community haven’t confirmed

Version Info

1.0.1

Last updated

Install instructions

Download the files included in the mod to your computer. The following files will need altering before the plugin can function:

  • application/config/ckeditor/posts.js
  • application/config/ckeditor/news_messages.js

In both files, you will need to make the following edits:

  • Change the config.baseHref value to your site's root URL
  • Change the config.contentsCss value to the path of the content.css file of your site (the path from /application/ onwards is already present)

If your site is installed to a subdirectory (e.g. example.com/nova/), you must also edit the following files, adding said directory to the customConfig value:

  • application/config/ckeditor/manage_logs_js.php
  • application/config/ckeditor/manage_news_js.php
  • application/config/ckeditor/manage_posts_js.php
  • application/config/ckeditor/messages_write_js.php
  • application/config/ckeditor/write_missionpost_js.php
  • application/config/ckeditor/write_newsitem_js.php
  • application/config/ckeditor/write_personallog_js.php

If you use a skin other than default or titan, then you will need to make changes to the skin's template_admin.php file to add the script tags which pull in the CKEditor plugin. You can use the provided files for the default and titan skins as examples (just search them for ckeditor).

You may need to alter the default styles for the editor content area to match your skin. These styles are stored in application/views/_base_override/admin/css/content.css. Changes to this file will affect all skins which pull in CKEditor. If you wish to allow changes to this file on a per-skin basis, follow the instructions here

Release notes

v1.0.1 - Initial release. Patch version bumped to reflect that the originally-built mod has been updated to include the changes made to the related controllers and views between Nova 2.4.6 and 2.4.9.

Links

No reviews