Add File

In Solodev CMS, files serve many purposes, including HTML and code files such as .tpl files. Files are stored in folders and displayed in a Resource View based on their file type.

From the left tree, navigate to and open the folder, click + Add and select Add File.

Add File form

Name Description
Name Add the file name. The name of the file should be lowercase and separated with dashes.
Title Add the file title. This will be the Title displayed on your site.
File Type Choose HTML, Template Code, README, or Upload File.
Upload File Upload a file from your computer instead of typing content directly.
Content For HTML, Template Code, and README types, enter or paste the file's content directly into the editor. For Upload File, select a file from your computer.
Confirm After filling out all the required fields, please click the Submit button to save your changes.

You can add the following file types:

  • HTML — Hypertext Markup Language (HTML) is the markup language used to create the foundation of any web page. In Solodev, HTML files are not web pages. HTML pages serve as content blocks that can be organized and embedded into STML pages via Solodev's Dynamic Div technology.
  • Template Code — Solodev's text editor supports a wide range of code file types, including .js, .css, .php, .xml, and .json. To use JavaScript or CSS files across all pages, reference the file path in the Global Header Insert found in Update Website.
  • README — A plain-text file for documentation or notes within the folder.
  • Upload File — Upload a file from your computer.