Russ
Well-known member
I'll try to keep this as short as possible... in XF1 we let users define multiple images for our custom backstretch option:
This worked fine in XF1 while browsing any page, however in XF2 with friendly URL's on and you're in say the RM it's trying to load:
http://mysite.com/community/resources/styles/mystyle/headerbg2.png instead of just: http://mysite.com/community/styles/mystyle/headerbg2.png
We saw the issue with the script itself not loading and wrapped it in:
which seems to fix it for all setups. Is there any way of applying that to the string option we have above somehow?
Code:
"styles/mystyle/headerbg.png", "styles/mystyle/headerbg2.png", "styles/mystyle/headerbg3.png"
This worked fine in XF1 while browsing any page, however in XF2 with friendly URL's on and you're in say the RM it's trying to load:
http://mysite.com/community/resources/styles/mystyle/headerbg2.png instead of just: http://mysite.com/community/styles/mystyle/headerbg2.png
We saw the issue with the script itself not loading and wrapped it in:
Code:
{{ base_url(property('pathToBackstretch')) }}