Simple Machines Community Forum

SMF Support => SMF 2.0.x Support => Topic started by: K4EEO on November 13, 2009, 10:36:02 PM

Title: inserting Delicious Play Tagger javascript
Post by: K4EEO on November 13, 2009, 10:36:02 PM
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)

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

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

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

Title: Re: inserting Delicious Play Tagger javascript
Post by: tyty1234 on November 21, 2009, 03:53:46 AM
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) Select

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


Code (Add Before) Select

// Play Tagger script.
echo '<script type="text/javascript" src="http://static.delicious.com/js/playtagger.js"></script>';
Title: Re: inserting Delicious Play Tagger javascript
Post by: H on December 06, 2009, 04:26:41 PM
Studio1031, do you require any further assistance?
Title: Re: inserting Delicious Play Tagger javascript
Post by: K4EEO on January 06, 2010, 06:54:27 PM
Sorry for not replying sooner.. I did do as instructed, and it's working perfectly.. Thanks!!