add_js() of template library not functioning |
[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. |
Welcome Guest, Not a member yet? Register Sign In |