e107 icon indicating copy to clipboard operation
e107 copied to clipboard

[Bug]: Bootstrap 5 and Fontawesome 6 doesn't load in theme

Open rica-carv opened this issue 8 months ago • 7 comments

What e107 version are you using?

v2.3.3

Bug description

I'm trying to use BS5 and FA6 on a theme, with these code:

define("BOOTSTRAP", 5);
define("FONTAWESOME", 6);
e107::library('load', 'bootstrap');
e107::library('load', 'fontawesome');`

But when theme loads, icons and some text are not shown or bad rendered, and the bootsrtap libary that is loaded is BS3 and FA4....

What i'm doing wrong here?

How to reproduce

use


define("BOOTSTRAP", 5);
define("FONTAWESOME", 6);
e107::library('load', 'bootstrap');
e107::library('load', 'fontawesome');

inside theme.php, and use fa icons on the HTML

Expected behavior

I expected to render as usual, with BS3 and FA4

What browser(s) are you seeing the problem on?

Firefox

PHP Version

7.4

rica-carv avatar Jun 13 '24 20:06 rica-carv