Summary: This module shows how to edit the contents of a module. This includes the text, files, and metadata of a module.
A module is the basic building block of a Connexions course, textbook, or other type of collection. You can think of it as a small knowledge chunk that addresses a single topic or a specific aspect of a topic. Every author determines the size of their module, ranging from a few paragraphs to an entire textbook chapter. To a student or reader viewing a course or collection, a module is simply a web page in the collection. Modules allow readers to follow the information path arranged by the author or instructor or to branch off and discover their own path. To an instructor putting a collection together, having topics in different modules allows easy selection and arrangement of the information. An instructor can include existing modules from other courses or other academic disciplines that are important to the presentation of the course subject.
An example of the contents of a new module are shown in Figure 1, which displays the "Manage Files" screen located under the "Files" tab.
![]() |
The "Module Status" sidebar contains important status information about the module and several links to useful tasks for the module editor. This sidebar appears to the right of the module contents and contains the following items:
![]() |
Once you have created a new module in or added an existing module to your work area, you will need to edit the module to add content and files (such as images). These operations are performed with the links and buttons on the "Manage Files" screen or the "Module Status" sidebar. The recommended sequence to perform these operations in is described in this module and appears in the following list:
Each page in the authoring area, including the MyCNX Home Page and module editing areas, features a useful "Show/Hide Sidebars" icon. When you click on the icon, the right and left authoring sidebars are hidden and the content pane is expanded. This is especially useful when editing modules using Edit-In-Place.
Once the Show/Hide Toolbars icon has been clicked, you can reduce the editing area and display the sidebars by clicking it again.
| Using the Show/Hide Toolbars icon | ||||
|---|---|---|---|---|
|
The "Edit" tab for the module displays the contents of the "index.cnxml"
file. This file contains the text that appears in the module, plus the
CNXML instructions to include any image, sound, or other media files
that appear in the module. The default content display and edit is with
the Edit-In-Place editor. Alternatively, you can display and edit the
content with the Full Source editor by clicking Switch to Editing
Full Source. From this tab you can perform the following actions
on the file:
![]() |
To import content into the "index.cnxml" file, use the following steps:
Import button. The valid formats are:
Microsoft Word,
OpenOffice Writer, XMLSpy/Authentic,
and Plain XML. Import. A screen displays with a text box
for the pathname of the file you want to import. Browse to display the name of the pathname in the text
box. Import. The content of the file you
specified is copied into the "index.cnxml" file in your module.
Import in the last
step, the contents of the "index.cnxml" file are overwritten
by the contents of the imported file.You can export the "index.cnxml" file so that you can edit it with a software package that is specifically designed to edit XML files. The "index.cnxml" file must be altered to allow the XML editor to read it. And once you have completed your edits, the file must be altered again to remove the changes for editor readability. The Connexions Export and Import functions automatically add and remove the changes for editor readability. Currently, the only XML editor format supported by Connexions is the format used by the Altova xmlspy® editor or the Altova authentic® editor.
To export the "index.cnxml" file to be edited with an XML editor, use the following steps:
Export button. The valid formats
are: XMLSpy/Authentic, and Plain XML.
Export. A dialog box displays asking if you
want to open the file or save it to a disk. To import the "index.cnxml" file back into Connexions, use the instructions for Import Content from Outside Connexions mentioned earlier in this module.
The Edit-In-Place editor is the default editor on the "Edit" tab. You can insert new text and media objects into a module or modify the existing contents of a module with this editor. You do not have to be familiar with the CMXML tags to use Edit-In-Place. It inserts the appropriate CNXML tags for you when you insert a new item in the file. In addition, it has a help feature that describes the CNXML tags for the items you insert or edit with it.
To insert text and media objects into a new module that contains no content, use the following steps:
![]() |
![]() |
Save to save the text you typed.
The blue editing box is replaced by a white box that displays
your entry.To edit the content of a module, use the following steps:
![]() |
Save to save the entry or click
Cancel to clear the entry in the blue editing
box. You can add new content items to a module with Edit-In-Place. The types of items you can add are: sections, paragraphs, examples, exercises, notes, lists, code blocks, equations, and tables. Edit-In-Place places the opening and closing CNXML tags around the item and it generates a unique item ID for each item you add. To add new items, use the following steps:
Insert... link above or below the existing item
Insert... link.
These items are described in the help text, which can be accessed by selecting "Other Elements" from the drop-down list. Help editing xxx
in the upper right corner of the blue box, where xxx is the
CNXML tag for the item you selected. Save to save the entry or click
Cancel to clear the entry in the blue editing box. 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:
Switch to Editing Full Source on the "Edit"
tab. The contents of the "index.cnxml" file are displayed in the
Full Source editor mode.
![]() |
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.
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.
In addition to the "index.cnxml" file, a module can contain other files (such as images and supplemental downloads) that are associated with the module. You can add these files from the "Files" tab. The file must exist before you add them to the module. When you add these items, you create an instance of the item in Connexions.
Before you add an associated file to a module, please note the following guidelines for files and filenames:
To add a file to a module, use the following steps:
Add New File button. A new page will load. Browse. The "File Upload" dialog box displays.
Open. The file path appears in the
text box next to Browse. Save to upload the file into
Connexions. A confirmation message will display, along with a preview if
the file is an image.You can rename, cut, copy, or remove any item that you add to a module. These operations are done at the module level in the same way as they are done at the work area level. See Removing Items from a Work Area, Renaming Items in a Work Area, and Cutting or Copying Items in a Work Area, for a description of how to do these operations in work areas.
To enable users to search the Connexions Content Commons for a module, Connexions must have some information on the module. It is very important that you insert metadata into the module.
![]() |
To insert metadata, use the following steps:
Save. A message that the metadata was updated
displays.As creator of a module, by default you hold all three roles: author, maintainer, and copyright holder.
Additionally, there are two other roles that Connexions offers for special content types. These roles are not granted permission to publish content.
You can grant one or more roles to other Connexions account holders who you want to collaborate with you on the module. The "Roles" tab has a search feature for locating these people. The current collaborators on the module are listed by role under the heading "Current Roles" on the "Roles" tab. You can change the roles assigned to these people by selecting or deselecting the check boxes in the "Authors", "Maintainers", "Copyright Holders", "Editors" and "Translators" columns under the heading "Change Roles". The following paragraphs describe how to grant or update roles.
![]() |
When you grant or update roles for a collaborator in a module in a workgroup, these changes do not take affect until that person accepts the role change and you publish the module. The prospective collaborator must accept the role because Connexions provides its account holders with the ability to accept or reject a role in another person's module. If there are any pending roles (roles not yet accepted or rejected) for a module, Connexions will not let you publish that module. Once the collaborator accepts the role or updated role, you must publish the module for Connexions to recognize the collaborator. Connexions looks to the information in a published module to see who is an author, maintainer, copyright holder, editor, or translator for the module.
To grant one or more roles in a module to a Connexions account holder outside of the current workgroup, use the following steps:
Search. Search. The Connexions accounts are searched
and any Connexions accounts that match the search string are displayed. Add People. The name of the new collaborator appears with the names of authors, maintainers, and copyright holders under the "Current Roles" heading and in the table under the "Change Roles" heading. In both places, the new collaborator is noted as a role change that is pending acceptance. Submit Changes. The next time the new collaborator logs into Connexions, he or she will be notified of a pending role request. Connexions will not apply the roles to the new collaborator until he or she accepts the role request.To grant one or more roles in a module to a member of your current workgroup, use the following steps:
Add People. The name of the newly added collaborator appears with the names of authors, maintainers, copyright holders, editors, or translators under the "Current Roles" heading and in the table under the "Change Roles" heading. In both places, the new collaborator is noted as a role change that is pending acceptance. To change the order in which the authors' names will appear on the module, use the following steps:
Submit Changes to save the role changes. The next step will erase any role changes that you have not saved with the Submit Changes button. To change the roles in a module that were previously granted to a user, use the following steps:
Submit Changes. The "Change Roles" table is updated to show the role changes and to note the role changes that are pending acceptance.To remove a collaborator from a module, use the following steps:
Submit Changes. The "Change Roles" table is updated with the removed collaborator not appearing on the list of users with roles.Connexions makes it easy to collaborate on educational materials. One way to do this is to share authorship or maintenance of a module or collection. If another author has granted you a role in their module or collection so that you can collaborate with them, the "Pending" sidebar will appear in the upper right corner of your Connexions pages.
![]() |
Click the Role Request link to display the "Collaboration Requests" screen. From this screen you can view and act upon:
![]() |
If another Connexions author grants you a role on their module or collection
as an author, maintainer, copyright holder, editor, and/or translator an entry appears under
the 'Requests Awaiting Your Approval' section of the "Collaboration Requests"
screen. To accept the request select the check box in the table for the
request you wish to accept and click Accept.
To reject the request, select the check box in the table for the request
you wish to reject, and click Reject.
If you have requested that someone be added to one of your modules or collections as an author, maintainer, and/or copyright holder, an entry appears under the "Requests You Have Made" section of the "Collaboration Requests" screen until the other author acts on it. You can cancel pending requests from here.
Any requests you have made that were accepted or rejected are listed in the "Requests You Have Made -- Completed" section of the "Collaboration Requests" screen. When you no longer need to keep the record, you can delete it.
To add or edit links that are associated with a module, click on the "Links" tab on the editing interface. The "Edit Featured Links" screen displays.
![]() |
From the "Links" tab you can:
These links are viewable in the "Links" tab that displays with each module. The featured links appear under their specified category type, for example, the supplemental links are listed under the "Supplemental" heading.To add a new link to a module, use the following steps:
Add to add the link.If the module already contains links, they will appear in the top half of the screen. To edit an existing link, use the following steps:
Update Links to make your changes.
To delete an existing link, select the checkbox in the "Delete" column
in the list of existing links. Then click Update Links
to delete the link.
After editing the module, you should preview the module to verify that it appears as you want it to appear. You can view modules from the "Preview" tab in the following ways:
To view a module on-line, use the following steps:
The print version of a module is formatted differently than the on-line version. This difference is necessary because of the differences in the on-line and printed media. To view a print version of the module, use the following steps:
OK. The print version
of the module displays. When editing an existing module, you can view a summary of the differences between the last published version of the module and the version you are currently editing. Click the Changes link to view the change summary. This option is useful when you checked out a module some time ago and do not remember what changes you made to it.
![]() |
The "Change To" summary lists changes to the module, including role assignments and the names of any files that were changed, files that were added, and files that were removed. Click on a file name to display a brief description of the changes.
Occasionally it may be convenient to view the markup source for a module. To view the source of the module, click the Source link under the "View" heading in the "Module Status" sidebar. The most recent markup source that has been saved displays.
The situation may arise in which you wish to return a module that you are editing back to its original state: the state in which it was before you began editing it. To do this, click the Discard link under the "Actions" heading in the "Module Status" sidebar. The module will revert back to the state it was in when you checked it out.
To make your module or your changes to an existing module viewable by anyone on the Internet, you must publish the module in Connexions. To publish a module, use the following steps:
Publish. Your work on the module is
entered into the Connexions Content Commons. Once in the Content
Commons, anyone with Internet access can view the module.![]() |
A new module would not necessarily have editing changes, so in the "Description of Changes" text box you might enter a comment like, "Created a new module".
Save button in an editing session. When you save your changes,
only you and the people who have access to your workgoup can see your changes. When you
publish a module, the entire world can view your work on the Internet.
"The canonical how-to guide to using Connexions."