boardom Forum Index boardom
b2 message board
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

How to open the comments NOT in popup

 
Post new topic   Reply to topic    boardom Forum Index -> How to ?
View previous topic :: View next topic  
Author Message
tester123



Joined: 13 Jul 2004
Posts: 5

PostPosted: Tue Jul 13, 2004 5:05 pm    Post subject: How to open the comments NOT in popup Reply with quote

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
View user's profile Send private message
Sigg3



Joined: 03 Jul 2003
Posts: 441
Location: Oslo, Norway

PostPosted: Tue Jul 13, 2004 7:14 pm    Post subject: Reply with quote

Norsk?

Anywho..

Change:
<?php comments_popup_link() ?>

with:
<?php comments_link() ?>

Look in the <head> after popup stuff, to be sure. Should be all...
Nice little thing, this one: http://www.cafelog.com/readme.html
_________________
Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
tester123



Joined: 13 Jul 2004
Posts: 5

PostPosted: Wed Jul 14, 2004 9:53 pm    Post subject: Reply with quote

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
View user's profile Send private message
Sigg3



Joined: 03 Jul 2003
Posts: 441
Location: Oslo, Norway

PostPosted: Wed Jul 14, 2004 11:22 pm    Post subject: Reply with quote

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
View user's profile Send private message Visit poster's website MSN Messenger
tester123



Joined: 13 Jul 2004
Posts: 5

PostPosted: Wed Jul 14, 2004 11:45 pm    Post subject: Reply with quote

Seems to work fine now.

Thanks a lot!
Back to top
View user's profile Send private message
Sigg3



Joined: 03 Jul 2003
Posts: 441
Location: Oslo, Norway

PostPosted: Thu Jul 15, 2004 8:40 am    Post subject: Reply with quote

No problem, mate:)
_________________
Sigg3 dot net - because you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    boardom Forum Index -> How to ? All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB 2 © 2001, 2002 phpBB Group