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: 441 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: 441 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 dot net - because you're worth it! | b2 Cafelog Resource Center |
|
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: 441 Location: Oslo, Norway
|
|
Back to top |
|
 |
|