Documenation

Theming

One of the first things you might want to do when building a website is create a new theme. This is done by editing CSS and the header and footer Views.

When a view is loaded the header and footer views are automatically included unless standAlone is set to TRUE in the Controller. As the name suggests, the header view (/_view/header.html.php) contains the top part of the website and the footer (/_view/footer.html.php) the bottom part.

Files that are used for the layout of the website are all located in the /_view directory.

For the sake of simplicity Swiftlet does not support multiple themes out of the box. This could be achieved with the help of a custom plugin however.

See also