• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Javascript + XenForo Options

Daniel Hood

Well-known member
#1
Are the options set in the admin panel accessible through the XenForo javascript object? I tried
Code:
console.log(XenForo.options);
but it said undefined.
 

Daniel Hood

Well-known member
#3
hmmm... alright. Is there a buildLink function or something I can use then? I needed options for something else but I also need to be able to build a path.