Help - Search - Members - Calendar
Full Version: Commenting Not Working
Movable Type Community Forum > Using Movable Type > Commenting System
craigk
http://www.fresnobeehive.com/photos/

MT 4.2

I've volunteered to help out with my company's photo blog, but I'm not very familiar with Movable Type. We've been getting a number of errors with the main one being the commenting system.

I've tinkered with the entry listing archive and individual entry archive and either get a link to the wrong posting to comment, or the right posting but commenting error and sometimes a broken link. Either way, it's not working right.

OtherNiceMan
Looks like you are missing a link to http://www.fresnobeehive.com/photos/mt.js which contains the JavaScript needed for the commenting system.
craigk
okay great. And what would I be linking to that file...? The comment form?

thanks!
OtherNiceMan
It should be in your HTML head template or the template that holds the standard header for your blog

CODE
<script type="text/javascript" src="<$mt:Link template="javascript"$>"></script>
craigk
I'm a total newbie so I'm kind of scratching my head at your reply, but maybe you can talk me through it. We have a banner header template with this code:
CODE
<script type="text/javascript" language="JavaScript">
var _miDartOrd = new Date().getTime() * Math.random(2341032);var _miDartInc = 0;_miDartInc++;
<!--
document.write('<scr' + 'ipt language="JavaScript" src="http://ad.doubleclick.net/adj/mi.frsbh/News/Blog;dcopt=ist;dcove=d;loc=ats;pos=NTL2;tile='+_miDartInc+';sz=728x90;ord=' + _miDartOrd +
'?" type="text/javascript"></scr' + 'ipt>');
//-->

</script>



Is that what you mean? How should I link the page with the javascript to it?

Thanks OtherNiceMan!
craigk
I'm bumping this since I'm still having trouble. Here's what I get after making a comment:



Comment Submission Error

Your comment submission failed for the following reasons:

Invalid request

Return to the original entry.


Is there a preference I have set wrong or something?
OtherNiceMan
Sorry to take so long,

Look like commenting is working, but in you code I do see that you have the HTML doctype twice and opening html tag. This may cause display problems.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Invision Power Board © 2001-2009 Invision Power Services, Inc.