Jimmy
Jimmy

Reputation: 39

Contao - How to use font icons (Font-Awesome for example)

I am using Conta 3.5, and I want to use font icons from

https://fontawesome.com/

There's a plugin for contao, which add's the option below to the sitelayout menu, but there's a error, whichever option I pick:

Query error: Unknown column 'FontAwesome_source' in 'field list' (UPDATE tl_layout SET FontAwesome_source='local' WHERE id='1')

Is there another way to bind icons to my contao website or a way to fix that?

Below is an image with the error.

Contao Error

Upvotes: 0

Views: 136

Answers (2)

TempusFungus
TempusFungus

Reputation: 73

Alternatively, you can just download the font-awesome CSS file from the website and include it via <link>-tag as described here.

Upvotes: 1

fritzmg
fritzmg

Reputation: 2605

It appears you did not open the Contao Install Tool to update the database after installing that extension. It also appears you installed an old version of that extension. The newest version is 4.7.2, see here.

Upvotes: 0

Related Questions