-
AuthorPosts
-
February 13, 2015 at 8:37 am #395544
Hello,
I am trying to add custom icons I have made in illustrator into the iconbox. Please let me know if this is possible?
Thank you,
PeteFebruary 13, 2015 at 9:43 am #395556Hey Pete!
Yes, it’s possible.
1. Export the icon as an SVG (compound path).
2. Place it in Fontello and generate the font .zip file
3. Import that .zip into Enfold (https://vimeo.com/75743285).Best regards,
JosueFebruary 18, 2015 at 6:08 pm #398337I followed the instructions to a “T” and i get the error
Fatal error: Class’ZipArchive’ not found in/home/webdev3/public_html/wordpress/wp-content/themes/enfold/config-templatebuilder/avia-template-builder/php/font-manager.class.php on line 113
This is the code for font-manager.class.php Line 13 is function __construct()
_________________________________________________________________________________________________
<?phpclass avia_font_manager{
var $paths = array();
var $svg_file;
var $font_name = ‘unknown’;
var $svg_config = array();
static $charlist = array();
static $charlist_fallback = array();
static $iconlist = array();function __construct()
{
$this->paths = wp_upload_dir();if(is_ssl())
{
$this->paths[‘baseurl’] = str_replace(‘http://’, ‘https://’, $this->paths[‘baseurl’]);
}$this->paths[‘fonts’] = ‘avia_fonts’;
$this->paths[‘temp’] = trailingslashit($this->paths[‘fonts’]).’avia_temp’;
$this->paths[‘fontdir’] = trailingslashit($this->paths[‘basedir’]).$this->paths[‘fonts’];
$this->paths[‘tempdir’] = trailingslashit($this->paths[‘basedir’]).$this->paths[‘temp’];
$this->paths[‘fonturl’] = trailingslashit($this->paths[‘baseurl’]).$this->paths[‘fonts’];
$this->paths[‘tempurl’] = trailingslashit($this->paths[‘baseurl’]).trailingslashit($this->paths[‘temp’]);
$this->paths[‘config’] = ‘charmap.php’;February 18, 2015 at 6:10 pm #398342Hey!
Please contact your service provider and ask them to enable zipArchive class
Regards,
YigitFebruary 18, 2015 at 8:42 pm #398444As an update:
The library file was not installed on the server. I had to install it and then add it to the config.Thanks for pointing me into the right direction.
-
AuthorPosts
- The topic ‘How to add Custom icons to iconbox?’ is closed to new replies.