SMF Support > SMF 2.0.x Support
inserting Delicious Play Tagger javascript
(1/1)
Tommy Voodoo:
I need to insert the following script into SMF 2.0 RC1.2, but i'm not sure where it needs to be put (which file - which section)


--- Code: ---<script type="text/javascript" src="http://static.delicious.com/js/playtagger.js"></script>
--- End code ---

the script comes from: http://delicious.com/help/playtagger if that helps.

thanks for your time.......................................................... tommy

tyty1234:
You can add this piece of code to the index.template.php file found in the default directory of the Themes folder. I would recommend around this area.


--- Code: (Find) --- // Output any remaining HTML headers. (from mods, maybe?)
echo $context['html_headers'];

--- End code ---


--- Code: (Add Before) --- // Play Tagger script.
echo '<script type="text/javascript" src="http://static.delicious.com/js/playtagger.js"></script>';

--- End code ---
H:
Studio1031, do you require any further assistance?
Tommy Voodoo:
Sorry for not replying sooner.. I did do as instructed, and it's working perfectly.. Thanks!!
Navigation
Message Index

Go to full version