View previous topic :: View next topic |
Author |
Message |
tester123
Joined: 13 Jul 2004 Posts: 5
|
Posted: Tue Jul 13, 2004 5:05 pm Post subject: How to open the comments NOT in popup |
|
|
Hello,
How can I change the settings of the "comments" link, so that the comments DON'T open in a popup window?
I want them to be displayed just in the manner of the weblog.
So just like it is on http://cafelog.com/.
Thanks,
Tester123 |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 896 Location: Oslo, Norway
|
|
Back to top |
|
 |
tester123
Joined: 13 Jul 2004 Posts: 5
|
Posted: Wed Jul 14, 2004 9:53 pm Post subject: |
|
|
Thanks for your help, but I didn't manage to solve my problem.
So I changed the "index.php" from this:
Code: |
<?php comments_popup_link("Comments (0)", "Comments (1)", "Comments (%)") ?>
|
into this:
Code: |
<?php comments_link("Comments (0)", "Comments (1)", "Comments (%)") ?> |
Instead of a comments link I now get this as output on the page:
Comments (0)?p=14&c=1#comment
The only thing in the <head> which relates to comments is this:
Code: | <?php comments_popup_script() ?> |
Any idea?
Thanks... |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 896 Location: Oslo, Norway
|
Posted: Wed Jul 14, 2004 11:22 pm Post subject: |
|
|
Remove this one: <?php comments_popup_script() ?> from the <head> section.
The <?php comments_link() ?> doesn't create a link tag. Do this:
<a href="<?php comments_link() ?>"><?php comments_number() ?></a>
The php comments_number can be:
<?php comments_number("no comment","1 comment","% comments") ?> _________________ Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center | Fight my BattleImp! |
|
Back to top |
|
 |
tester123
Joined: 13 Jul 2004 Posts: 5
|
Posted: Wed Jul 14, 2004 11:45 pm Post subject: |
|
|
Seems to work fine now.
Thanks a lot! |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 896 Location: Oslo, Norway
|
|
Back to top |
|
 |
runaway
Joined: 07 Jul 2004 Posts: 19 Location: FL, USA
|
Posted: Thu Jan 20, 2005 5:48 am Post subject: |
|
|
i had the same issue and i fixed it with this but when i leave a comment it takes me to an error page. it says it can't find the page b2comments.post.php. where do i look to see if everything's in place? _________________ "You know what they say about monkeys: sometimes, monkeys die..." |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 896 Location: Oslo, Norway
|
|
Back to top |
|
 |
runaway
Joined: 07 Jul 2004 Posts: 19 Location: FL, USA
|
Posted: Thu Jan 20, 2005 5:37 pm Post subject: |
|
|
i did, and this is what i get:
Error: please fill the required fields (name, email)
what now?
Edit: I fixed it! The path to b2comments.post.php in the file b2comments.php was wrong ::feels proud::
Thanks for all your help!  _________________ "You know what they say about monkeys: sometimes, monkeys die..." |
|
Back to top |
|
 |
Sigg3
Joined: 03 Jul 2003 Posts: 896 Location: Oslo, Norway
|
|
Back to top |
|
 |
|