Bootstrap icons are not found with bootswatch themes that have the font icon path set in their less file to a different location than used in Tiki. For example for the bootswatch amelia theme, the styles/bootswatch_themes/options/amelia/less/varibles.less file has the variable @icon-font-path set to "../fonts", when it should be set to "../vendor/twitter/bootstrap/fonts/".
To avoid having to alter the bootswatch themes which could complicate upgrading them, there should be a tiki specific less file that sets this variable and overrides that in any individual theme less file. This would mean this variable would not need to be set in any theme less file (currently it is set in each tiki theme file). The same should be done for the @icon-font-name and @icon-font-svg-id variable names as well.
Below is a demonstration of the problem with screenshots of tiki_list-trackers.php:
Missing icons with the Bootswatch Amelia theme:
Icons are present in the bootstrap default theme:
To help developers solve the bug, we kindly request that you demonstrate your bug on a show2.tiki.org instance. To start, simply select a version and click on "Create show2.tiki.org instance". Once the instance is ready (in a minute or two), as indicated in the status window below, you can then access that instance, login (the initial admin username/password is "admin") and configure the Tiki to demonstrate your bug. Priority will be given to bugs that have been demonstrated on show2.tiki.org.
filename | created | hits | comment | version | filetype | ||
---|---|---|---|---|---|---|---|
No attachments for this item |