user-pic

De-AJAX-ing Mid Century Commenting

Vote 0 Votes

Since it seems that the weirdness that I’m having with commenting with Mid Century seems to be related to the AJAX commenting, I’m wanting to strip the AJAX features out of the commenting.

I have no idea what AJAX is or how it works, so I have no idea how to do it. Can anyone give me some insight into accomplishing that?

Reported on Movable Type 4.2

3 Replies

| Add a Reply
  • I just left a comment on your site and can't see what the problem is. Looks like it's working fine. I too use the Mid-Century template set and I compared the two in source view. The only difference seems to be that you're referencing the theme-javascript without actually using it. I know it shouldn't matter but removing it might make a difference.

  • On a post with many comments, the issue is not easy to see. Rather than simply displaying the new comment, it displays the post twice with the comments after. A refresh of the page fixes it.

    I think it's the AJAX that is supposed to allow the new comment to be added without a page refresh. What I'm seeing is slow commenting with little feedback and an incorrectly displayed page. Without the AJAX, I don't think things would be slower and the page would display properly after. I just don't know how to remove the AJAX.

    On the theme-javascript, you mentioned in you comment on my site that it was for the gallery, which I'm not yet using. I didn't change the templates, I think there's an mt:if statement that doesn't include the gallery if there are no assets, which is true in my case. I'd like to leave that in as I plan to use it, eventually.

  • I did a little digging and I figured out how to de-AJAX Mid-Century and now my commenting works fine.

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1771 6153

Last Topic: Preview Template - Where can I find it? by Dice on Feb 6, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1428 5076

Last Topic: Stupid Question? How to make a static homepage by Jeremy on Feb 3, 2012

693 2907

Last Topic: database upgrade hangs - upgrading to 4.37 by CrankyProfessor on Feb 1, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

173 737

Last Topic: About the MT version stated in HTML source by Alex E. Schneider on Feb 7, 2012

190 565

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

221 710

Last Topic: Publish queue cache coherence issue by Istvan Kallai on Jan 27, 2012