Welcome Guest, Not a member yet? Register   Sign In
add_js() of template library not functioning
#1

[eluser]kpspoke[/eluser]
I have this template library loaded and use it for all my pages so far. However, when i try and use the add_js() function it errors out. I add the regions $_scripts to the template header file but when i load the page it says undefined variable _scripts.

any thoughts?

Thanks

[edit]

changed <?= $_scripts ?> to <?= (isset($_scripts)) ? $_scripts : "";

and obviously i lose the error but the js file still isnt loading.




Theme © iAndrew 2016 - Forum software by © MyBB