Ready-to-use java scripts

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
thegreen48
 
 
Posts: 10
Joined: Sun Oct 14, 2018 11:18 am
Contact:

Ready-to-use java scripts

Post by thegreen48 »

I’m having a problem with being able to use a newly written Java Script.

I can create a new java script using the Tools – JavaScript Editor option, select Add, enter all the bits and close. Next time I open the JavaScript Editor, there it is and I can see it works fine in its little demo window. But this is the problem, I don’t see my new script in the Toolbox of Ready-to-use Java Scripts. And it doesn’t have the Hide box ticked.

Similarly if I edit one of the scripts using the JavaScript Editor I see it change and next time I load the editor I see the edited version, but the Ready-to-use version hasn’t changed.

The list of scripts in the editor and the toolbox look to be the same but I guess they must two different sets.

So the question is how do I get my newly created script into the Ready-to-use java scripts?

I'm sure there's a simple answer that'll make me go Doh! Homer Simpson stlye, but I just can't find it.
User avatar
Pablo
 
Posts: 23451
Joined: Sun Mar 28, 2004 12:00 pm
Location: Europe
Contact:

Re: Ready-to-use java scripts

Post by Pablo »

It sound like you are editing the wrong file.
If you customize the scripts then the 'js.dat' file should be located in Documents\WYSIWYG Web Builder\system\
Windows does not allow you to make changes to files in "Program Files"
thegreen48
 
 
Posts: 10
Joined: Sun Oct 14, 2018 11:18 am
Contact:

Re: Ready-to-use java scripts

Post by thegreen48 »

OK, got it.

And this is what I’ve found in my set up …

The java script editor is updating js.dat in C:\Users\me\AppData\Local\VirtualStore\Program Files\WYSIWYG Web Builder 15 and the toolbox is opening js.dat in C:\Users\me\Documents\WYSIWYG Web Builder\system.

Until I figure out exactly what’s configured to point to those two locations I’ll simple copy any changes across to the toolbox folder.

Thanks for the quick response Pablo.
Post Reply