With a little work around, i made this working for wb.. Now I want to create a module and share it
Before I post it, I need a little help as I am not that good with php and java:
This is java script code
// url path
var urlToFolder = 'http://mywebsitebakerSite/media/subfolder/' ---the line I added
// URL zum kleinen Bild / URL to small image
var pagearSmallImg = urlToFolder+'pageear_s.jpg' ;
As you can see, I can't figure out how to print variable from WB to this Java file...I tried to put:
var pageSmallImg = '<?php echo WB_URL."/media/subfolder/" ?>/pageear_s.jpg'
but I get result only as text... Maybe the sytax is wrong...can someone help...??
Also, is there a way that I can add some .JS files to be included in every template I use ?