A few days ago I got a request from an individual who wants to add RefTagger to his Drupal site but isn’t sure how to get it set up, so I thought I’d provide a quick tutorial.
Unfortunately, Drupal doesn’t allow you to edit the code of your themes from the admin panel, at least not that I can see. But if you have access to your site’s files via FTP, you can add RefTagger very easily.
Here are the simple steps you need to follow:
- Use an FTP program to navigate to the folder where you installed Drupal.
- Open the “themes” subfolder, and then open the folder for the specific theme you are using. (The default theme is Minneli, which is a subtheme of Garland, so you’ll find the file in the “garland” folder.)
- Locate the page.tpl.php file, and save a local copy (and a backup copy too).
- Open the file in Dreamweaver, WordPad, or your favorite code editor.
- Scroll to the bottom and paste the customizable RefTagger code before the </body> tag.
- Save the file and upload it back to your server.
That’s it. RefTagger is now transforming the content of your Drupal site!
If you’re using RefTagger on your Drupal site, please let us know. We’d love to see how you are putting it to use.
For help with other sites, see the tutorials section on the RefTagger page.