creating files and folders
Create new files pages or folders
- Create File
Give the file a name
You can use spaces in file names but it is not advised as it can cause problems later
Three file extensions are given special treatment
- .js
Javascript files are not parsed by XtGem they are passed directly to the browser
- .css
CSS files are not parsed by XtGem they are passed directly to the browser
- .xt
The files contents are not displayed these files are used by Xtscript
- Create Folder
Folder and directory both mean the same
Folders with names starting _xtgem_ are reserved for use with Twig templates
Their contents are not available from other xtgem functions javascript or html
File presets
If you create a folder in the root (main) directory called file_presets
you can add custom page templates to that folder
Those template pages will then be in the list of file types you can create
and a copy of that template with your chosen name will be created when selected