Static files serve as critical assets in Cascade CMS, encapsulating content types from images to PDFs, JavaScript, CSS files, and more. This step-by-step guide aims to make the process of importing these files as straightforward and efficient as possible.
Table of Contents
\uD83D\uDCD8 Instructions
Importing a File
Choose the Site where you wish to import files.
Click Add Content and select Upload a File. (If Add Content is not visible, click on Default and then Add Content.)
In the Name field, input your desired name or leave blank to automatically use the file's existing name.
In the Placement Folder field, specify the upload location.
Use the Choose link or drag-and-drop functionality to select and upload your files.
(Optional) Text and image files can be edited directly within the CMS, utilizing the Advanced Code Editor and Image Editor respectively.
For single file uploads, add relevant metadata (title, author, etc.) in the Metadata tab.
Use the Configure tab to define the file's behavior within the CMS, such as its role in indexing, publishing, and internal linking.
Click Preview Draft and Submit.
Importing a Zip Archive
If you have multiple files to upload and want to maintain their folder structure, using a zip archive can be particularly useful.
Click Add Content and select Upload a File. (If Add Content is not visible, click on Default and then Add Content.)
Select your zip archive by clicking the Choose link or using the drag-and-drop functionality.
Decide whether to unpack the files (Yes) or upload the zip archive as is (No).
If uploading the zip archive as is, provide a name in the Name field.
Specify the upload location in the Placement Folder field.
If unpacking the zip archive, choose the appropriate Metadata Set for the files in the Metadata Set field.
Click Preview Draft or Unpack to begin the upload/unzipping process. A report detailing all uploaded files and any skipped ones will appear once completed.
Previewing a File or Live View
To view a full screen preview of your file in a new tab or window, select More > Preview.
If your file has been published, you can go directly to the live file on the web by selecting More > Live.
Troubleshooting
During the process of importing static files into Cascade CMS, you may encounter some issues. Below are potential problems and corresponding solutions:
File Compatibility: Cascade CMS supports a wide variety of file types, including but not limited to images (JPEG, PNG, GIF), documents (PDF, DOC, DOCX, PPT, PPTX, XLS, XLSX), text files (TXT, RTF), and code files (HTML, CSS, JS). If you attempt to upload a file type not supported by Cascade CMS, the system may not process the file correctly, leading to an error.
Verify the file type of the problematic file and ensure it is compatible with Cascade CMS.
If the file is in a different format, consider converting it to a supported format using an appropriate tool or software before attempting the upload again.
File Size: Certain file sizes may exceed the upload limit (approximate file limit is 50 MB) set by your system administrator.
If your file is too large, consider compressing the file or reducing its size before attempting to upload again.
User Permissions: User permissions could restrict file uploading in certain areas of the CMS.
Confirm that your role has the necessary permissions to upload files in the selected location.
File Corruption: If a file fails to upload or doesn't display correctly after upload, the file might be corrupted.
Try opening it on your local machine to ensure it's intact and functioning as expected.
Network Issues: Unstable internet connection can interrupt the upload process.
Check your internet connection and retry the upload if necessary.