Comments Pop Window? :( (6 posts)

  1. darkmis29
    Posted 11 years ago #

    How do I make my comments page popup in it's own window??

    I tried removing the // from

    <?php comments_popup_script(); // off by default ?>

    but I still can't get them to popup. Am I missing something?? Please help! :(

  2. moshu
    Posted 11 years ago #

    Do you have a comments-popup.php template in your theme?

  3. darkmis29
    Posted 11 years ago #


  4. darkmis29
    Posted 11 years ago #

    Can someone please help. I'd really like to figure this out.

  5. moshu
    Posted 11 years ago #

  6. bubazoo
    Posted 11 years ago #

    ok, I figured this out finally.

    Moveable Type defaults to this, and alot of people like it.

    what I did was this:
    I put

    <?php comments_popup_script(400, 500); ?>

    in my head section of index.php

    then I replaced my comments_link tag with comments_popup_link
    which I think it already is in most themes.

    You don't need a comments-popup.php in your template for this to work. In fact I had to delete mine and just use the regular comments.php page from my theme, but I immagine you have to know themes well enough to create your own comments-popup.php for the display to look right.
    I ended up removing mine because it didn't look right with the theme I chose. the simple-green theme. I thought i could just copy the comments.php to comments-popup.php, but it didn't work. Not only did the script not display correctly, but it didn't keep me logged in either,
    so I don't know what the deal was, so I just removed it and changed it back to the old way. :(

    anyway thats all there is to it.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.