These have been added in addition to the creating and editing content(external link) capabilities.

The majority of content on your website will be editable using the HTML editor (by default this is TinyMCE). Most of the features of the HTML editor are detailed in the Formatting content section of the creating and editing content(external link) page on SilverStripe User Help(external link), however, there are a number of features which have been added for CWP use.

Formats

HTML editor formats dropdown

The formats drop-down allows you to add custom styling options to your content, configuration requires development knowledge. This is typically achieved by the addition of a CSS class to the selected item which is can then be stylised. For example, you might want to make a link on your site display as a button, or an icon to accompany a header.

Special Characters

HTML editor special characters

The Insert special characters action presents a map of special Unicode characters which can't be added using a keyboard.

Full screen editor

expand HTML editor

Expands the HTML editor to full screen allowing you to have more editing space.

Add a template

HTML editor insert template

You can add HTML templates by selecting one of the options presented when you click on the add template button. For example, this can be used to insert columns on your page or a styled box to contain content. By default it doesn't come with templates, but you can ask your development agency to set up templates for you if this functionality fits your need.

Spell check

HTML editor spellcheck

Adds spell check functionality and also allows configuration to specify different languages.

You can mark pages on your site as being related to the current page from within the Related Pages tab, this will enable website visitors to see the list of these related pages when viewing the page. Start typing the page name in the search field as shown below and search results will appear in a drop-down. Select the page name you would like to add as a related page and click the Link Existing button.

related pages

Importing content from Microsoft Word

You can easily publish the content from Microsoft Word documents to your website using an import feature built into the content management system (CMS). It will auto-convert the document's content into HTML and store in pages within the CMS. This provides an efficient way to upload long documents or multiple web pages of content. Items like tables, images, heading levels, and links are kept intact, while fonts and visual styles are transformed to the relevant visual styles of your website.

Note: if you simply want to copy and paste content from a Microsoft Word document (rather than import the entire document) see the documentation on formatting content(external link).

Whether the document converter options appear on your website depends on how it has been set up. For this manual, we will assume the conversion has been enabled globally.

First of all, it is important to know that the import process will replace the content of the page you're importing to, and it may also remove and replace all its children pages. It will still be possible to get the content back from the version history of the CMS, but it's good to keep that in mind.

To import a document, visit any page of your website inside the CMS, navigate to the Import tab, and use the form shown below. 

Important: If you upload a document, the module will start converting automatically. You may need to wait depending on the size of your document.

document converter interface

If you upload the document straight away, the simplest scenario will be executed:

  • The content of the web page will be replaced by the imported content.
  • The document will be removed once import has been completed.
  • The page will remain in draft mode for you to preview the output.
  • All images that came with the document will be stored in the top level directory of the assets.

The interface will allow you to fine-tune your import options. Import will start as soon as you choose the file to import, so set up the options beforehand. The options are, from top to bottom:

  • Split document into pagesscans the document looking for level 1 or level 2 headings and puts each subsection into separate child page. It will cause the conversion process to replace the existing children pages completely. While the initial part of the document until the first header occurrence will be added to the main page.
  • Keep the original documentprevents the removal of the uploaded document. The document will become available in the Files section of the CMS. Also, if the table of contents has been enabled, the link will be automatically added to the main page.
  • Choose a folder to save this fileasset directory to be used for storing the original document and the image files that came along with the document.
  • Replace this page with a table of contentswill generate the table of contents and replace the main page content with it. Caution: this can remove some of the document content that would otherwise be added here (see the Split document into pages option above).
  • Publish modified pagesin addition to performing all other actions, it will publish the pages. Reviewing the conversion outcome is advised before publishing, so avoid this option unless you are sure what will be produced.

Last modified: