Custom files

The files section is designed for developers who like to have some special files in HTML code. You can add files you want to reference from your views or layouts, for example flash banners. 

To use the files in the development, use the following syntax. 


@Url.FrontUrl().FileUrl("myfile.swf")

The FileUrl function takes a relative path as input and returns the virtual path to the file.  The virtual path is relative to /cms_data/sites/[site_name]/files