Alternatives to Bootstrap
19 December 2017 | 26 views | Tags: Documentation
Tuskfish ships with the mainstream Bootstrap presentation framework, which is used to define a layout grid and style the front end. However, there are plenty of alternative presentation frameworks out there. If you want to use something else or cook up your own, you can, with a little bit of work.
Basically what you need to do is to edit the HTML templates as follows:
- Edit theme.html. Remove the link to Bootstrap in the <head> section, because you don't need it anymore. Add a link to your preferred framework, which you can either add to the js directory if you wish to serve it locally, or link to a copy served from a CDN network.
- Remove the Bootstrap CSS classes from theme.html and all other templates in the relevant theme directories (you can leave any non-Bootstrap classes that are defined in style.css, if you want). Note that this will also remove the Bootstrap layout grid.
- Insert the relevant CSS grid and styling classes from your preferred alternative presentation framework.
That's it. If you also want to run an alternative presentation framework on the back end of Tuskfish, then you need to adapt the admin and thumbnail_gallery themes as well, and also the back end form files, which are found in trust_path/libraries/tuskfish/form/.
Copyright, all rights reserved.
The user manual provides a comprehensive guide to Tuskfish CMS operations. It covers all all aspects from installation to adding and curating content, managing site security and customisation of themes. For additional information on how to customise Tuskfish please see the developer guide.