Skip to content Skip to navigation Skip to collection information

OpenStax_CNX

You are here: Home » Content » Connexions Tutorial and Reference » Module Files

Navigation

Lenses

What is a lens?

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

This content is ...

Affiliated with (What does "Affiliated with" mean?)

This content is either by members of the organizations listed or about topics related to the organizations listed. Click each link to see a list of all content affiliated with the organization.
  • CNX Documentation display tagshide tags

    This collection is included inLens: Connexions Documentation
    By: Connexions

    Comments:

    "The canonical how-to guide to using Connexions."

    Click the "CNX Documentation" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

  • JVLA Affiliated display tagshide tags

    This collection is included inLens: Jesuit Virtual Learning Academy Affiliated Material
    By: Jesuit Virtual Learning Academy

    Click the "JVLA Affiliated" link to see all content affiliated with them.

    Click the tag icon tag icon to display tags associated with this content.

Also in these lenses

  • OER/LOR Connexions T display tagshide tags

    This collection is included inLens: OER/LOR Connexions Training
    By: Connexions

    Comments:

    "This collection has the basic training for authoring modules (chapters/sections) and collections (textbooks/courses etc)."

    Click the "OER/LOR Connexions T" link to see all content selected in this lens.

    Click the tag icon tag icon to display tags associated with this content.

Recently Viewed

This feature requires Javascript to be enabled.

Tags

(What is a tag?)

These tags come from the endorsement, affiliation, and other lenses that include this content.
 

Module Files

Module by: Connexions. E-mail the author

Summary: This module explains how to upload associated files to a module.

It is possible to create a module with just textual information. In this case, the content is all included in the CNXML file of the module. But in some cases you may want to include associated files with your module content, like an image, video, PDF, PPT, or other file.

You can upload associated files on the "Files" tab at the top of the module edit page. In this case, the module is really more like a "box", which can contain any number of files associated with the module in addition to the CNXML file itself. When you upload files, you create an instance of the file in Connexions that you can then link to from your module for readers to download, or even embed directly into your module.

This module will explain how to:

Uploading Files

File Guidelines

Before you add an associated file to a module, please note the following guidelines for files and filenames:

  • The size of a file must be smaller than 50 MB.
  • The first character in a filename cannot be a digit. For example, a file named "1965mustangphoto.gif" would result in an error. Renaming the file to "photo1965mustang.gif" prevents the error.
  • A filename cannot contain an embedded blank space. For example, the file named "eiffel tower.png" would cause an error. Renaming the file to "eiffel_tower.png" or "eiffeltower.png" prevents the error.
  • Use only alphanumeric, "." (dot), "-" (hyphen), and "_" (underscore) characters in a filename.
  • Multimedia files must have a recognized MIME (Multipurpose Internet Mail Extension) type.

Uploading a file to a module

To add a file to a module, use the following steps:

  1. Click on the "Files" tab. This page shows a list of all included files in the module. The index.cnxml file exists in every module -- this is the CNXML file that creates the module contents which you edit on the Edit tab.
  2. Click the Add new image/included file button to add a file.
Figure 1: The "Files" tab with the "Add new image/included file" button.
The Files tab.
  1. Click Browse to navigate to the file in your system that you want to upload.
  2. Click the blue Upload button to upload the file into Connexions. A confirmation message will display, along with a preview if the file is an image.
Figure 2: The file upload page.
File upload page.
  1. Click the <<Return to file listing for module link at the top of the page to return to a list of all files uploaded to this module. Here you can click the Add new image/included file button and start the process over to upload another file.

Uploading multiple files at once

If you have a lot of files that you want to include in a module, uploading them one by one can take a while. You can use the ZIP importer to import multiple files at once.

Figure 3: The zip importer imports multiple files at once.
Zip importer.

Linking to files

Readers can download a file that you added in two ways.

  1. By adding the file to the module's Featured Links. This is probably the easiest way, but although the links appear online, they will not be included in the PDFs that are automatically generated.
  2. You can add a link to the file within the module text. If the file you added was called "myfile.doc", you would add the following snippet to your module. "Download this <link resource="myfile.doc">file.</link>" More instructions on adding links in modules can be found on the <link> eip-help page.

Note:

You can also embed the file into the CNXML document using the CNXML<media> tags.

Managing Files

Warning:

Do not remove or rename the index.cnxml file. This file holds the text and CNXML-markup of your module.

Removing Files

To remove a file from a module, select the checkbox next to the title of the file you want to remove and click Remove. You can select multiple files in the module and remove them in one operation.

Renaming Files

To rename a file in a module, use the following steps:

  1. Select the checkbox next to the title of the file you want to rename and click Rename. The "Rename items" screen displays.
  2. Enter the new name for the file in the "New File Name" field.
  3. Click Rename All. You can rename multiple files at one time by selecting more than one item by clicking on the work area contents screen.
  4. Update any existing links in your module to point to the new file name.
The files displayed on the "Files" tab are updated to reflect the changes.

Cutting or Copying Files

To copy and paste files in one module to a different module, use the following steps:

  1. Select the checkbox next to the title of the files you want to cut or copy and click Cut or Copy. Cut removes the original item at the end of this process. Copy leaves the original item in its present location.
  2. Display the location where you wish to paste the file, such as another module or work area, and click Paste.

Collection Navigation

Content actions

Download:

Collection as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Module as:

PDF | EPUB (?)

What is an EPUB file?

EPUB is an electronic book format that can be read on a variety of mobile devices.

Downloading to a reading device

For detailed instructions on how to download this content's EPUB to your specific device, click the "(?)" link.

| More downloads ...

Add:

Collection to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks

Module to:

My Favorites (?)

'My Favorites' is a special kind of lens which you can use to bookmark modules and collections. 'My Favorites' can only be seen by you, and collections saved in 'My Favorites' can remember the last module you were on. You need an account to use 'My Favorites'.

| A lens I own (?)

Definition of a lens

Lenses

A lens is a custom view of the content in the repository. You can think of it as a fancy kind of list that will let you see content through the eyes of organizations and people you trust.

What is in a lens?

Lens makers point to materials (modules and collections), creating a guide that includes their own comments and descriptive tags about the content.

Who can create a lens?

Any individual member, a community, or a respected organization.

What are tags? tag icon

Tags are descriptors added by lens makers to help label content, attaching a vocabulary that is meaningful in the context of the lens.

| External bookmarks