Developer manual

Directory Structure

The custom files for each site are located on Amazon Simple Storage Service (S3) in the sites directory:

springcms/domain.com

There are several default folders:

css/
settings/
templates/
js/
upload/

CSS

The standard css files for spring (the default design) is called:

spring.css [ view ]

*IF* you upload a file with the same name as these into the css/ directory it will override the default files.

ie. if you upload a modified file called 'spring.css' into the css/ directory, Spring will use that file. If you delete it, spring will revert to the default spring.css file.

This file (spring.css) contains all the css for the default design.

UPLOAD

This is the uploads directory and contains all files uploaded using the Spring file manager, or file upload features of Spring.

upload/template/

The /upload/template folder is the current location to place all files used in the CSS for the design.

Simply create a new folder in this directory to store all these template graphics:

upload/template/mysite/

When you reference images in the CSS file, use this new path:

body {
background-image: url(../upload/template/mysite/background.png);
}

TEMPLATES

This is for custom XSLT files.

JS

This is for custom JavaScript files.

This help document has been updated for Spring Cloud based sites (AWS).