PDA

View Full Version : problem with add html code


newbiz
05-23-2007, 03:04 PM
Hi ,
I want to set stat counter ( For ex : countomat.com )
I paste the html ( and javascript ) code in the footer.tpl after the static but it's didn't come in index .<_<
then I try to adding the php code of the counter and replace in there
and noting happened again !:(
and I searched in forum but .....
now , can you help me to know where I must add html , javascript and php code ?:sos:
thank you .

newbiz
05-24-2007, 11:10 AM
hello ..
Is any body there .... ?

John Turner
05-24-2007, 11:41 AM
Hi newbiz,

Please try to enclose your code with Smarty's tags
{literal}YOUR CODE IS HERE{/literal}

Sergey Ten
05-24-2007, 11:43 AM
Hello newbiz,

If you want to add JavaScript code to *.tpl file you have to use {literal} tag.


{literal}
Your JavaScript code
{/literal}



ADDED:

@John :lol:

newbiz
05-25-2007, 02:36 PM
Hello newbiz,

If you want to add JavaScript code to *.tpl file you have to use {literal} tag.


{literal}
Your JavaScript code
{/literal}



ADDED:

@John :lol:
First Thank you , John Turner and Sergey Ten
but i used this tag before i come to send my first post ,
and it's not worked for me ...

If there is no other tag , i should try to find my problem solution ...

newbiz
05-26-2007, 07:30 PM
It's Work !
Thank You

Sergey Ten
05-28-2007, 09:42 AM
It's Work !
Thank You

You are welcome. I am really glad for you :)