GlobalOne Posted April 6, 2012 Report Share Posted April 6, 2012 Hey, I inserted javascript libraries as described in the layout.tpl file, and I get this error: [/b] [b]Parse error: syntax error, unexpected T_ECHO in /home/eurojet/public_html/en/lib/skins/british/layout.tpl on line 44 I inserted about 10 libraries like this: <script type="text/javascript" src="http://platform.twitter.com/widgets.js"></script> <script src="assets/js/jquery.js"></script> Quote Link to comment Share on other sites More sharing options...
GlobalOne Posted April 6, 2012 Author Report Share Posted April 6, 2012 Ok i managed to fix the error, but Im having a problem with the javascript not working correctly. It seems that the libraries are not loaded. Quote Link to comment Share on other sites More sharing options...
GlobalOne Posted April 6, 2012 Author Report Share Posted April 6, 2012 I feel so dumb now. Managed to fix it using <?php echo SITE_URL?> . Quote Link to comment Share on other sites More sharing options...
Moderators Kyle Posted April 6, 2012 Moderators Report Share Posted April 6, 2012 Haha, happens to me all the time when I forget something or make a mistake. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.