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 

Comments link not working.

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



Joined: 20 Jan 2005
Posts: 1

PostPosted: Thu Jan 20, 2005 8:48 pm    Post subject: Comments link not working. Reply with quote

This is what it looks like:

Quote:
<a href="<?php comments_link() ?>"><?php comments_number("no comment","1 comment","% comments") ?></a>


But it opens in site.com/commentslinkbla instead of site.com/b2/commentslinkbla

I tried to change the <?php comments_link() ?> to directly link the comments page but it said "do not link this page directly. The paths and everything in the b2config.php are right so I dont know WHY it's doing it
Back to top
View user's profile Send private message
Sigg3



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

PostPosted: Mon Jan 24, 2005 10:43 am    Post subject: Reply with quote

You can just define what file it should get:

Code:
 <a href="<?php comments_link("http://yourdomain.com/b2/b2comments.php"); ?>"><?php comments_number("no comment","1 comment","% comments") ?></a>

_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center | Fight my BattleImp!
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