You can edit the content and CNXML tags in the "index.cnxml" file
within Connexions with the Full Source editor. This method of editing
is recommended for quick changes only. This is a simple text editor
and it does not have the advanced functions (for example, spell
checking and text searching) that are available with commercially
available text editors. To edit the file with the Full Source
editor, use the following steps:
- Click
Switch to Editing Full Source on the "Edit"
tab. The contents of the "index.cnxml" file are displayed in the
Full Source editor mode.
- Scroll down to display the location in the module in
which you want to edit.
- Click in the text window and begin editing.
- Click
Save to save to save your changes.
As you edit the "index.cnxml" file, click Save at any
point to save your changes. The page reloads and validates your CNXML
markups every time you save your changes. If there are no CNXML tag
errors, your markup is valid and "Saved" appears in an information box
at the top of the tab. If there are errors in your CNXML markup, they
are listed above the file content.
Saving and publishing are two different operations. When you save
your editing changes in the Full Source editor, your changes are saved
in your work area; they are not entered into the Connexions repository.
Your module must be published to be entered into the repository and be
accessible by visitors to Connexions. For information about publishing,
see the topic
Publishing the Module
later in this module.
Any "index.cnxml" file that you publish in the Connexions repository
must be a valid CNXML document. This means that the file must be
well formed and contain no CNXML errors. If it does contain errors,
a description of each error
appears when you click Save. Your changes are not
saved until the errors are corrected.
A description of the errors appears in the information box that
appears above the content.
You cannot publish the module in Connexions until all the CNXML errors
are corrected and the "index.cnxml" file is validated.
"The canonical how-to guide to using Connexions."