The File component loads template, image, object, or style sheet files. These files are loaded from the location defined by the current view, path info, and directories specified in the Site Definition File (SDF).
Each of the following functions provides the same functionality — the only difference is the location from which the function pulls files.
Name | Purpose |
---|---|
Templates | Pulls files from the templates directory as specified by the Site Definition File. |
Images | Pulls files from the images directory as specified by the Site Definition File. |
Objects | Pulls files from the objects directory as specified by the Site Definition File. |
StyleSheets | Pulls files from the stylesheet directory as specified by the Site Definition File. |
Do not confuse these with the Executive replacement variables. |
Name | Possible Values | Purpose |
---|---|---|
F | Templates | Images | Objects | StyleSheets | Function to use. |
Fn | Any filename | Name of the file to load. |
Up | 1 | 0. Default is 0. | Instructs the file component to use the path information specified in the URL to find the content node to read the file (fn) from. |
The File component does not support replacement variables.
Copyright © 2006-2023, Rocket Software, Inc. All rights reserved.