JQuery with SMARTY php
Posted
by out_sider
on Stack Overflow
See other posts from Stack Overflow
or by out_sider
Published on 2010-04-30T19:38:35Z
Indexed on
2010/04/30
19:47 UTC
Read the original article
Hit count: 263
This might seem a very noob question but I haven't found the answer yet. I have a header.tpl file which contains xhtml code. I want to and some java script to it using jquery. But my problem is that it simple doesn't happen what I tell it to do. Because the page hoster comiples php with SMARTY I had to make a small change to the block script, which was had the {literal} {/literal}. But the rest seems ok. Btw the jquery.js is on the same folder as the header.tpl.
File header.tpl http://feupload.fe.up.pt/get/SQWJvybQkDCmjEG
PS: I event replaced all the code by the getstarted tutorial on the jquery homepage and added the {literlar} {/literal} (otherwise it would give an error) and it steel didn't work
© Stack Overflow or respective owner