View Single Post
Old 01-05-2008, 12:45 PM   #4 (permalink)
jdspc
Jeffesis
 
jdspc's Avatar
 
Join Date: 12-05-07
Location: Clear Lake City, TX
Posts: 1,294
iTrader: 0 / 0%
Latest Blog:
Hear Silence

jdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web projdspc is a highly respected web pro
Quote:
Originally Posted by Bob8 View Post
Please how do i add kontera in text link to my forum posts? I'm using SMF defaut theme. Thanks.

Since you are dealing with js, it is more effective to use an 'include' with SMF since everything is inside a PHP block.

You need to edit the index.template.php file that goes with the theme you use.
Find the place where </body> is produced from and add the code above that point.

include("mykontera.inc");

Prepare a text file called mykontera.inc and paste in the code from Kontera. Save and upload to the site, same theme folder.

This works well for statcounter js as well.

Editing the default theme is not advisable. Make a copy for b/u or create a new theme based on the default.
Remeber to b/u your tables before you edit any templates. Everytime!

Let me know and holler if you need more info...

J
__________________
It isn't necessary to imagine the world ending in fire or ice – there are two other possibilities: one is paperwork, and the other is nostalgia.
1989: Zappa

Last edited by jdspc : 01-05-2008 at 12:49 PM. Reason: More advice on editing the theme...
jdspc is offline   Reply With Quote