University of Strathclyde website

Text

main content

Taken from http://www.dnnsoftware.com/help#Dnn.Platform/Documentation/Introduction_Online.html%3FTocPath%3D_____1

About the HTML Editor

The HTML Editor provides basic and rich text editing capabilities to modules such as Announcements, FAQ, Events and HTML. It is also used within the DNN application for managing HTML in areas including the language file editor and user profiles. The HTML Editor can be switched between a Basic Text Box, a Rich Text Editor (RTE), or a HTML view. associated with the Editor provider will depend upon the DNN version and edition.

This manual details how to use the RadEditor (DotNetNuke.RadEditorProvider) rich text editor, however other editors can be integrated with DNN such as FCKEditor, the TelerikEditorProvider and Free Text Box. See "About the HTML Editor Manager" to change the HTML Editor.


The HTML Editor

Adding and Editing Content

How to add basic text, add rich text or paste HTML into the HTML Editor of the Text/HTML module.

  1. Go to a HTML module.
  2. Select Edit  > Edit Content from the module actions menu.
  3. Enter the content using one of these methods: See "Adding Basic Text and HTML", See "Adding Rich Text" or See "Pasting HTML Content".
  4. Optional. Click the  Preview link located below the Editor. This expands the Preview section below and displays the content currently displayed in the Editor. If Direct Publish (rather than Content Staging) is used for this module, then skip to Step 7.
  5. At On Save? / Publish Changes?, select from the below options (Note: This field only displays when Content Staging is enabled. See "Setting a Workflow"):
    • Mark  the check box to publish these changes and set them as ready for approval. This automatically locks the content until it is either published or the lock is manually removed by an Administrator.
    • Unmark  the check box if the content is not yet ready for publishing/approval. This enables a draft to be saved that can be reviewed and updated at later stage before being submitted for approval.
  6. Click the Save button. If Direct Publishing is set for this module, the content changes are now displayed in the HTML Pro module. If Content Approval is enabled, continue to Step 7.
  7. Optional. In the Enter Submission Comment text box, enter a comment relating to this submission.
  8. Click the Submit link to enter these changes into the next stage of content approval and send out notification messages as set in the workflow. Users will be notified when their changes are approved or rejected.

Note: See "Publishing a Draft" if content approval is enabled and this content is ready to publish.

Adding Replacement Tokens

How to add replacement tokens to the content of the HTML module using the Editor.

  1. Go to a HTML module
  2. Select Edit  > Edit Content from the module actions menu.
  3. Enter the replacement token into the Editor. E.g. [User:FirstName] [User:LastName].

  1. If Workflow is enabled, choose the required state. See "Adding and Editing Content" for more details on advancing this content through the workflow process.
  2. Click the Save button. If Direct Publishing is set for this module, the content changes are immediately displayed in the HTML module. If Content Approval is enabled and this content is ready to publish, See "Publishing a Draft"


Replacement Tokens Displaying the User's Name