Tagged: ,

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #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,
    Pete

    #395556

    Hey 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,
    Josue

    #398337

    I 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()
    _________________________________________________________________________________________________
    <?php

    class 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://&#8217;, ‘https://&#8217;, $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’;

    #398342

    Hey!

    Please contact your service provider and ask them to enable zipArchive class

    Regards,
    Yigit

    #398444

    As 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.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘How to add Custom icons to iconbox?’ is closed to new replies.