We have ignored some things till now. Especially we have not discussed how Layouts (I'm refering to the gui-element layout.) are related to the whole story.
In the "layout" - drop-down listbox of the program (on tab "General") you can select a layout. At the moment only one layout is provided, namely "Standard". When the SWF starts, it scans Data/Plugins/SimpleWebFront/Standard for subdirectories. All subdirs found are listed as available layouts in the drop-down box. So a layout is basically a directory directoryname with a file called directoryname.ini in it. The ini-file specifies which other files are part of the layout and names them.
A ini-file is expected to have a section "General" with the following keys:
Key | Required/Optional | Description |
---|---|---|
GridTemplateFilename | Required | The filename of the Grid-Template. The Grid-Template is used for creating the Grid-View of a view. |
IndexTemplateFilename | Required | The filename of the Index-Template. The Index-Template is used for creating the index.html file. |
UpdateTemplateFilename | Required | The filename of the Update-Template. The Update-Template is used for creating the Update-View of a view. |
InsertTemplateFilename | Required | The filename of the Insert-template. The Insert-Template is used for creating the Insert-View of a view. |
NeededDirs | optional | Contains the names of directories which should be copied into the Output-directory without processing. |
NeededFiles | optional | Contains the names of files which should be copied into the Output-directory without processing. |