bitweaver Theme Management

Created by: Lester Caine, Last modification: 05 Apr 2025 (15:52 BST)

My own setup of bitweaver has a single copy of the code currently under directory _bw4 and the new code base will be _bw5. Each site then has links to the packages it needs to work along with two site specific folder, config and storage. The config folder has the site specific config.php file along with any modified templates to fine tune page layouts, and all the site specific images. There is a third folder which is site specific, part of the firebird installation, and that folder contains the live database along with the last 5 days backup, which are also mirrored to storage/backup which can be backed up to secondary storage for added protection.

The basic layout is explained on the bitweaver101 documentation which will need updating and expanding.

The way bitweaver works is that it first looks in the theme folder in config to see if a particular template exists, and if not it them goes to the generic version, so for example the master html.tmp which lays out all the elements of the basic layout can be completely replaced by a new structure should it be thought necessary, and this can be used to replace the generic responsive framework with device specific versions if required. I am thinking that this may be a way of making the display on my high resolution monitor more manageable as Bootstrap3 does not lend itself to another higher res device option. I'm not sure that Bottstrap5 will be any better bot that is still under review. The sites I have remaining need very little other than the generic templates and I see little need to change that any time soon.

Need to expand on just how the responsive element works as we do have multiple header bars on each site for the different device sizes and that will be part of the review into if Bootstrap5 can be made to work the same way.

One final theme matter is the icons used in managment tools. Not something the viewer of the sites sees, but I still prefer full colour icons and have managed to keep that with Bootstrap3 despite it's move the 'monochrome' ones as have many frameworks these days. This is another area for investigation and hopefully I can use 32 pixel icons on the screen here, as with many Linux applications, the 16 pixel ones are difficult to read so it's not just web pages that have a problem but many desktop applications as well!