***SOLVED***WWB v1602 Manually added icon font error message - won't load

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
fiik
 
 
Posts: 18
Joined: Tue Jun 12, 2018 10:47 am

***SOLVED***WWB v1602 Manually added icon font error message - won't load

Post by fiik »

Hi, I have just upgraded from v15 to 16.0.2
testing functions I have found a problem.

Icon fonts, I have all the font awesome etc provided plus the extras (drip etc) these all work ok

I have also manually added another called Icofont, this works fine in v15, but when selected in 16, and then click on 'Select icon', I get the following error message "Encountered an improper argument"

Please note this library has about 2100 icons.
Is the library too big? do I need to make it smaller? Or is there something else I need to change to allow it to work in v16?
Last edited by fiik on Fri Oct 16, 2020 11:44 am, edited 1 time in total.
User avatar
Pablo
 
Posts: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: WWB v1602 Manually added icon font error message - won't load

Post by Pablo »

For me it works the same as in WWB15.
Also, there are no changes to this functionality in WWB16.

Did you download the library from here?
http://www.wysiwygwebbuilder.com/free_extras.html
User avatar
Bluesman
 
 
Posts: 1120
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: WWB v1602 Manually added icon font error message - won't load

Post by Bluesman »

Even though it shall work the same in WWB16 as in 15... it's a lot of icons?? 2.100 ?? I should be confused just by 500 :)
Is the Icon file a .ttf file?
"Make My Day"

See my Website
fiik
 
 
Posts: 18
Joined: Tue Jun 12, 2018 10:47 am

Re: WWB v1602 Manually added icon font error message - won't load

Post by fiik »

Pablo wrote: Sat Oct 10, 2020 1:23 pm For me it works the dame as in WWB15.
Also, there are no changes to this functionality in WWB16.

Did you download the library from here?
http://www.wysiwygwebbuilder.com/free_extras.html
Hi Pablo the icon libraries added from your link here all work ok.

I manually added the icons from here https://icofont.com/
which i had working fine in v15, but in 16 do not work
fiik
 
 
Posts: 18
Joined: Tue Jun 12, 2018 10:47 am

Re: WWB v1602 Manually added icon font error message - won't load

Post by fiik »

Bluesman wrote: Sat Oct 10, 2020 1:36 pm Even though it shall work the same in WWB16 as in 15... it's a lot of icons?? 2.100 ?? I should be confused just by 500 :)
Is the Icon file a .ttf file?
all font file formats are present
eot
ttf
svg
woff
woff2
as well as the css and json files required to run it.
User avatar
BaconFries
 
 
Posts: 5366
Joined: Thu Aug 16, 2007 7:32 pm

Re: WWB v1602 Manually added icon font error message - won't load

Post by BaconFries »

Have you read following

Adding custom icon fonts
The font files should be placed in a sub folder of the \Documents\WYSIWYG Web Builder\system\iconlibraries folder.
Besides the fonts files, the folder should also have a json file which contains information about the icons in the font in order to properly name the icons.
https://wysiwygwebbuilder.com/iconfonts.html
fiik
 
 
Posts: 18
Joined: Tue Jun 12, 2018 10:47 am

Re: WWB v1602 Manually added icon font error message - won't load

Post by fiik »

Thank you all for your responses.

As already stated in my other posts

I manually added another icon font.

It is WORKING fine in v15

YES it s a true font with all the true font formats eot ttf svg woff woff2
Yes its installed in the correct folder \Documents\WYSIWYG Web Builder\system\iconlibraries folder.
Yes it has the JSON file
Obviously this was all done correct otherwise it would not have worked in V15.

it still works fine if I use v15, but does not work in v16

Any other ideas?
User avatar
Bluesman
 
 
Posts: 1120
Joined: Mon Feb 01, 2016 5:43 pm
Location: Sweden
Contact:

Re: WWB v1602 Manually added icon font error message - won't load

Post by Bluesman »

You wrote:

"I have also manually added another called Icofont, this works fine in v15, but when selected in 16, and then click on 'Select icon', I get the following error message "Encountered an improper argument"

So when clicking "Select icon" you get the error-message? Right? You are not able to choose any icon-font as I can see... or after dismissing the errormessage, do you get the list with all the other icon fonts? Is the "Font awesome" active as you open the "Icon font" tool?
"Make My Day"

See my Website
User avatar
Pablo
 
Posts: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: WWB v1602 Manually added icon font error message - won't load

Post by Pablo »

If my version works then why did you create your own version?
Maybe there is a syntax error in your JSON file?
fiik
 
 
Posts: 18
Joined: Tue Jun 12, 2018 10:47 am

Re: WWB v1602 Manually added icon font error message - won't load

Post by fiik »

Bluesman wrote: Sun Oct 11, 2020 6:27 am You wrote:

"I have also manually added another called Icofont, this works fine in v15, but when selected in 16, and then click on 'Select icon', I get the following error message "Encountered an improper argument"

So when clicking "Select icon" you get the error-message? Right? You are not able to choose any icon-font as I can see... or after dismissing the errormessage, do you get the list with all the other icon fonts? Is the "Font awesome" active as you open the "Icon font" tool?
yes you are correct, once i dismiss the error, all icons for this font do not display, if i switch any other font all works ok
fiik
 
 
Posts: 18
Joined: Tue Jun 12, 2018 10:47 am

Re: WWB v1602 Manually added icon font error message - won't load

Post by fiik »

Pablo wrote: Sun Oct 11, 2020 7:14 am If my version works then why did you create your own version?
Maybe there is a syntax error in your JSON file?
Hi Pablo, thanks for your response
i have all the icon fonts you provided, i added these as there was a few i needed for a project.
I can only assume that there is no syntax error in the json file as the same file is used on my version 15 and works fine.
you can see the file here http://sitedemo1.viawebaustralia.com.au/icofont.json (16 Oct 2020 1416: this link has been disabled since Pablo verified the json file had no errors)
Last edited by fiik on Fri Oct 16, 2020 6:17 am, edited 1 time in total.
User avatar
Pablo
 
Posts: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: WWB v1602 Manually added icon font error message - won't load

Post by Pablo »

The JSON file works for me.
Maybe the folder is protected, so WB16 cannot access the folder?
fiik
 
 
Posts: 18
Joined: Tue Jun 12, 2018 10:47 am

Re: WWB v1602 Manually added icon font error message - won't load

Post by fiik »

Further testing reveals the following

i uninstalled my WB16 (64bit) (purchased)

Tested manually installed icofont
  • wb 15 (32bit) - works
Installed wb16 (32bit)
  • wb 16 (32 bit) - works
Uninstalled wb16 (32 bit) and installed wb16 (64bit)
  • wb 16 (64bit) - does not work
Any ideas?
User avatar
Pablo
 
Posts: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: WWB v1602 Manually added icon font error message - won't load

Post by Pablo »

It works for me in all versions.
Can you please describe the exact steps how to make it not work?
fiik
 
 
Posts: 18
Joined: Tue Jun 12, 2018 10:47 am

Re: WWB v1602 Manually added icon font error message - won't load

Post by fiik »

Pablo wrote: Fri Oct 16, 2020 6:17 am It works for me in all versions.
Can you please describe the exact steps how to make it not work?
I have posted a video here of the process
http://sitedemo2........com.au/ --> 16 Oct 2020, 1945: LINKED FILES REMOVED

select icon font object
select icofont on dropdown list
select icon
error message
click ok
empty list of icons appears
select ok
error message reappears

this does not happen on wb15 or wb16 (32bit)
Last edited by fiik on Fri Oct 16, 2020 11:46 am, edited 2 times in total.
User avatar
Pablo
 
Posts: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: WWB v1602 Manually added icon font error message - won't load

Post by Pablo »

It looks like you have used a different name.
On my computer the font name is 'icofont' instead of 'Ico Font'.
fiik
 
 
Posts: 18
Joined: Tue Jun 12, 2018 10:47 am

Re: WWB v1602 Manually added icon font error message - won't load

Post by fiik »

Pablo wrote: Fri Oct 16, 2020 7:04 am It looks like you have used a different name.
On my computer the font name is 'icofont' instead of 'Ico Font'.
No sorry definitely named icofont
see the image of the folder it is stored in, with all the file

http://sitedemo2.......com.au/ --> 16 Oct 2020, 1945: LINKED FILES REMOVED
Last edited by fiik on Fri Oct 16, 2020 11:46 am, edited 2 times in total.
User avatar
Pablo
 
Posts: 21707
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: WWB v1602 Manually added icon font error message - won't load

Post by Pablo »

In that case, there seems to be a conflict between the filename and the internal name of the font.
Please check out my version and make sure the naming of your files is the same.
fiik
 
 
Posts: 18
Joined: Tue Jun 12, 2018 10:47 am

Re: ***SOLVED***WWB v1602 Manually added icon font error message - won't load

Post by fiik »

Thank you Pablo,

I did not realise that since my original instal of these fonts manually that you had since added these and other to your extras page.

I have uninstalled the font and reinstalled using your installer, and they work fine.

Thanks again
Post Reply