2 lefataliste Jan 28, 2016 02:15

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' );
@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
@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! :)
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.
@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.
@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).
@mgsolipa Thank you! It's very useful for me!
@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 !