Page 1 of 1

Way to make life easier

Posted: Sunday 02 June 2019 10:44
by poudenes
Hi ALl,

Is there a way where you can assign variable to a IDX in top of CONFIG.js?
Then use the nice name in the script. When a IDX change then you only change 1 place

$dressoir = '782'

blocks[$dressoir] = { width: 3, title: 'Dressoir' };

EDIT: Already find out it will work :D

Now look for a way to store all the $values into a separate file and import/include that one in CONFIG.js :)

Re: Way to make life easier

Posted: Saturday 06 July 2019 19:09
by EdwinK
And, did you find a way to do that ;)

Re: Way to make life easier

Posted: Sunday 07 July 2019 3:54
by HansieNL
Maybe you can post your question in feature Requests viewtopic.php?f=67&t=17424