GlobalOne Posted April 6, 2012 Report 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
GlobalOne Posted April 6, 2012 Author Report 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
GlobalOne Posted April 6, 2012 Author Report Posted April 6, 2012 I feel so dumb now. Managed to fix it using <?php echo SITE_URL?> . Quote
Moderators Kyle Posted April 6, 2012 Moderators Report Posted April 6, 2012 Haha, happens to me all the time when I forget something or make a mistake. 1 Quote
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.