Commits

Anonymous committed 549d1ef

  • Participants
  • Parent commits 8f9706e

Comments (0)

Files changed (1)

 $ cp -r ajaxcomments/media /mypath/myproject/media/ajaxcomments
 }}}
 
-Customize the {{{post-comment.js}}} file to fit your project's HTML structure.  You will likely want to edit the jQuery selectors used, and the HTML inserted in various places for the comment itself and the wait messages.
+Customize the {{{post-comment.js}}} file to fit your project's HTML structure.  You will likely want to edit the jQuery selectors used, and the HTML inserted in various places for the comment itself and the wait messages.  If you want to use the Gravatar functionality included within the script, make sure to download the [[http://plugins.jquery.com/project/md5|jQuery MD5]] plugin and include it in your project.
+
+Make sure that you link to the script within your template:
+
+{{{
+#!html
+<script src="{{ MEDIA_URL }}ajaxcomments/js/post-comment.js"
+    type="text/javascript"></script>
+}}}
 
 Finally, for each page that you intend to use Ajaxcomments with, create a quick script to bind the submit event of the form to the {{{ajaxComment}}} function from {{{post-comment.js}}}: