Adding a Script to index.tpl
Posted: Thu May 18, 2006 9:05 pm
I am embedding Serendipity in the framework of a new site I'm designing:
http://gs14.inmotionhosting.com/~public7/
Serendipity will be the engine behind the "Public Musings" page. But as you can see, I have a minor problem:
http://gs14.inmotionhosting.com/~public ... /index.php
I'm embedding Serendipity by adding my "framing" HTML to an index.tpl template file. Since the main site uses JavaScript rollover buttons, I've added the two required scripts to the header of the index.tpl file ...but now Serendipity fails to load, with the following message:
Fatal error: Smarty error: [in
/home/public7/public_html/Musings/templates/PublickMusick/index.tpl
line 17]: syntax error: unbalanced parenthesis in if statement
(Smarty_Compiler.class.php, line 1256) in
/home/public7/public_html/Musings/bundled-libs/Smarty/libs/Smarty.class.php
on line 1088
When I pull the scripts out, Serendipity loads fine ...but I need those scripts! What I should do to calm Smarty down here?
Thanks in advance for your help,
Jim
http://gs14.inmotionhosting.com/~public7/
Serendipity will be the engine behind the "Public Musings" page. But as you can see, I have a minor problem:
http://gs14.inmotionhosting.com/~public ... /index.php
I'm embedding Serendipity by adding my "framing" HTML to an index.tpl template file. Since the main site uses JavaScript rollover buttons, I've added the two required scripts to the header of the index.tpl file ...but now Serendipity fails to load, with the following message:
Fatal error: Smarty error: [in
/home/public7/public_html/Musings/templates/PublickMusick/index.tpl
line 17]: syntax error: unbalanced parenthesis in if statement
(Smarty_Compiler.class.php, line 1256) in
/home/public7/public_html/Musings/bundled-libs/Smarty/libs/Smarty.class.php
on line 1088
When I pull the scripts out, Serendipity loads fine ...but I need those scripts! What I should do to calm Smarty down here?
Thanks in advance for your help,
Jim