The code (#) folder
Used to put templates for how your Docly site should display your content.
Use this folder to specify how different document types should be displayed in your site.
The folder can contain items of the following types:
Item | Description |
---|---|
.HASH files | Place .HASH files for each "Docly Schema" right below the # folder. Give them exactly the same name as the schema name + .hash extension. Code the template according to the # (hashscript) data binding language. |
Docly forms | Place any custom forms for you site in this folder. |
Creating default Root files and folders
This is used in order to seperate the code from the content.
Create a "Root" folder inside your # folder:
These files will be available from the root of the root doesn't contain a folder or file with the same name.
You CAN create folders with the "Default Folder" folder. Any files or folders in sub folders WILL be available in the site.
Place any resource files you need for your site in the "Root" folder. So you can easily reference them from root. See example where a JS file has been placed in root:
<script src="/jquery.highlight.js"></script>
Creating default folder files
This is used in order to seperate the code from the content.
Create a "Root" folder inside your # folder:
Place any file you want to be default available in your sub folders in your site.
You can't create folders with the "Default Folder" folder. Any files or folders in sub folders will not be available in the site.