ExpressionEngine CMS
Open, Free, Amazing

Thread

This is an archived forum and the content is probably no longer relevant, but is provided here for posterity.

The active forums are here.

Comments don’t display in internet explorer

October 10, 2007 12:07am

Subscribe [3]
  • #1 / Oct 10, 2007 12:07am

    Kaimin

    3 posts

    Hi, the comments work fine but they don’t display in Internet Explorer browsers on Windows. Everything else works fine, his is irritating because the comment tag is not even that complicated; I don’t know why there’s these weird compatibility issues. Can anyone help me out on that?

    <!--BEGIN COMMENT DISPLAY--!>
    <a name="comments"></a>
    
    <h6>Comments</h6>
    
    <p>{exp:comment:entries sort="asc" limit="20"}</p>
    
    <p>{comment}</p>
    
    <p>{if no_results}</p>
    
    <p>There are no comments for this story yet.</p>
    
    <p>{/if}</p>
    
    <p>Posted by <b>{name}</b> on {comment_date format="%m/%d/%Y"} at {comment_date format="%g:%i %a"}<br />
    <hr></p>
    
    <p>{/exp:comment:entries}</p>
    
    <p><!--END COMMENT DISPLAY--!></p>
    
    <p> </p>
    
    <p> </p>
    
    <h3>Leave a Comment</h3>
    
    <p><!--BEGIN POST COMMENT FORM--!></p>
    
    <p>{exp:comment:form weblog="news" preview="weblog/preview"}</p>
    
    <p><table width="380" border="0" cellpadding="0" cellspacing="10"><br />
    <tr><br />
    <td width="30"><br />
    Name:<br />
    </td><br />
    <td width="350"><br />
    <input type="text" name="name" value="{name}" size="35" /><br />
    </td><br />
    </tr><br />
    <tr><br />
    <td><br />
    Email:<br />
    </td><br />
    <td><br />
    <input type="text" name="email" value="" size="35" /><br />
    </td><br />
    </tr><br />
    <tr><br />
    <td><br />
    </td><br />
    <td><br />
    <textarea name="comment" cols="34" rows="10">{comment}</textarea><br />
    </td><br />
    </tr><br />
    </table></p>
    
    <p><input type="checkbox" name="save_info" value="yes" {save_info} /> Remember my personal information</p>
    
    <p><input type="checkbox" name="notify_me" value="yes" {notify_me} /> Notify me of follow-up comments?</p>
    
    <p>{if captcha}</p>
    
    <p>Please enter the word you see in the image below:</p>
    
    <p>{captcha}</p>
    
    <p><input type="text" name="captcha" value="{captcha_word}" maxlength="20" /></p>
    
    <p>{/if}</p>
    
    <p><input type="submit" name="submit" value="Submit" /></p>
    
    <p>{/exp:comment:form}</p>
    
    <p> </p>
    
    <p><!--END COMMENT FORM--!>

    Example page: http://www.montanakaimin.com/index.php/sports/sports_article/griz_nation_steeped_in_pride_and_tradition/

    Comments are there, but nothing in IE.

  • #2 / Oct 10, 2007 12:32am

    Bob K

    144 posts

    You might try getting rid of the second “!” in each of your placeholders: <!—BEGIN COMMENT DISPLAY—!> should be <!—BEGIN COMMENT DISPLAY—>, like you have in the rest of your placeholders on that page.

    Sometimes IE gets a little quirky when it sees the extra exclamation point.

  • #3 / Oct 10, 2007 1:37am

    Kaimin

    3 posts

    Thanks I think that solves it.

  • #4 / Oct 10, 2007 10:21am

    Robin Sowell

    13255 posts

    IE.  Gotta hate it.

    Thanks for pointing it out, Bob K.  Would have taken me a while, as css is not my strong point.  (And I’m going to go ahead and shift this to the ‘style’ forum, because I suspect it may help others who run into the issue and they’d be more likely to spot it there.)

  • #5 / Oct 10, 2007 11:55am

    Mark Bowen

    12637 posts

    Also in case anyone has any really weird things happening with IE it does have problems when you use html comments or css comments in certain cases.
    You can get words repeating in places on a page where you haven’t written them, kind of like ghost apparitions!!

    The only way of stopping that is to delete your comments from the page or possibly by using conditional comments instead.

    Personally nowadays I just steer clear of comments altogether whenever I can but only due to IE. I would love to use them as they are a real time-saver sometimes but with the headaches that IE can introduce I sometimes just feel it isn’t worth it and so don’t even let it bite me on that one…

    ... no instead I just let IE bug me with the 10,000 other problems it has instead!! 😊

    A complete pain that program is!

    Best wishes,

    Mark

.(JavaScript must be enabled to view this email address)

ExpressionEngine News!

#eecms, #events, #releases