1 lefataliste Jan 28, 2016 02:13
3 haharen Jan 28, 2016 02:47
It's the network delay, so maybe you should download fontawesome to your local to deal this issue.
1. Download fontawesome
http://fontawesome.io/#modal-download
current package is font-awesome-4.5.0.zip
2. Mkdir rsc/css/extra folder
unzip font-awesome-4.5.0.zip , move fontawesome/css/*
to rsc/css/extra
folder,move other folders of font-awesome
to rsc/css
.
3. Modify _template.funcs.php
Lines: 3215, replace the code as follow:
require_css( '../css/extra/font-awesome.min.css' );
4 mgsolipa Jan 28, 2016 08:34
@lefataliste @haharen there is also an implementation to load font-awesome from local folders, but it is not yet in the release branch. Please see this: https://github.com/b2evolution/b2evolution/commit/ab4d630873c41b0824c46371b28a4e426eca5eed
5 haharen Jan 28, 2016 09:17
@lefataliste @haharen there is also an implementation to load font-awesome from local folders, but it is not yet in the release branch. Please see this: https://github.com/b2evolution/b2evolution/commit/ab4d630873c41b0824c46371b28a4e426eca5eed
Yeah,it's perfect! :)
6 lefataliste Jan 31, 2016 20:06
It's the network delay, so maybe you should download fontawesome to your local to deal this issue. 1. Download fontawesome http://fontawesome.io/#modal-download current package is font-awesome-4.5.0.zip
2. Mkdir rsc/css/extra folder unzip font-awesome-4.5.0.zip , move fontawesome/css/* to rsc/css/extra folder,move other folders of font-awesome to rsc/css . 3. Modify _template.funcs.php Lines: 3215, replace the code as follow: require_css( '../css/extra/font-awesome.min.css' );
Except that in my version there is no line 3215, everything is running perfectly now. Than you very much !
The only problem that I foresee is that I shall have to do the same thing (modifying the _template file) each time there is an upgrade ... I hope this will be just a switch to turn in a future version.
7 haharen Feb 01, 2016 03:22
@lefataliste You're welcome.
Yes, making a switch button to choose is meaningful for the network which is not very stable when connect to the foreign country.There is the similar situation in China, and may be other country also meet such problem.
8 mgsolipa Feb 01, 2016 22:26
@lefataliste @haharen the commit I linked above is already pushed into the release branch and will be included in version 6.6.8. Font-awesome will be loaded from local resources by default, but it can also be loaded from CDN by enabling $use_cdns
at conf/_adavanced.php
(http://b2evolution.net/man/advanced-php).
9 haharen Feb 02, 2016 09:45
@mgsolipa Thank you! It's very useful for me!
10 lefataliste Feb 03, 2016 13:22
@lefataliste @haharen the commit I linked above is already pushed into the release branch and will be included in version 6.6.8. Font-awesome will be loaded from local resources by default, but it can also be loaded from CDN by enabling
$use_cdns
atconf/_adavanced.php
(http://b2evolution.net/man/advanced-php).
Great ! I'm waiting for this release. It will be good for all of us having a poor connection.
Thank you for your help.
Take care.
Jacques
here is an example page of the back-office (files). Look on the right side. It's not easy to know what the icons are for !