adding code to head tag

Professional Jomal template designed to be easily adaptable to all kinds of business
GK User
Wed Jan 11, 2012 7:06 pm
Hello,

I need to paste this code to the head tag
Code: Select all
<link href="tablecloth/tablecloth.css" rel="stylesheet" type="text/css" media="screen" />
<script type="text/javascript" src="tablecloth/tablecloth.js"></script>


What I did is - extensions>template manager>gk_corporate2>edit HTML and paste the code
But I get an error.
Parse error: syntax error, unexpected '<' in /home/atalibgn/public_html/templates/gk_corporate2/index.php on line 78



What should I do?
User avatar
Senior Boarder

GK User
Wed Jan 11, 2012 7:19 pm
You need to remove it from there and place it in templates/gk_whatever/layouts/blocks/head.php there are also modules which allow you to place custom code in the head.

Try this Blank Module
User avatar
Expert Boarder

GK User
Wed Jan 11, 2012 7:27 pm
This would probably be a better option than the one above EasyHeader
User avatar
Expert Boarder

GK User
Wed Jan 11, 2012 10:58 pm
Thank you very much.
User avatar
Senior Boarder


cron