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 

Bug with <!--nextpage-->

 
Post new topic   Reply to topic    boardom Forum Index -> Bugs
View previous topic :: View next topic  
Author Message
vag



Joined: 23 Sep 2002
Posts: 1

PostPosted: Mon Sep 23, 2002 12:49 pm    Post subject: Bug with <!--nextpage--> Reply with quote

I have problem with <!--nextpage-->
When i put the tag <!--nextpage--> in my page,
instead of
http://www.mysite.com/main.php?p=7&more=1&page=2

is displayed the following URL:
http://www.mysite.com/home/user/main.php?p=7&more=1&page=2

Any idea?
vag Smile
Back to top
View user's profile Send private message
michel v
Site Admin


Joined: 25 Jan 2002
Posts: 799
Location: Corsica

PostPosted: Mon Sep 23, 2002 1:24 pm    Post subject: Reply with quote

Looks like your server incorrectly returns 'home/user/main.php' instead of 'main.php'.
You can work around that by using link_pages() with the last argument, like this: [php:1:f22315b3f8]<?php link_pages('<br />', '<br />', 'number', 'next page', 'previous page', '%', 'main.php'); ?>[/php:1:f22315b3f8]
Set the other arguments as you wish, but keep main.php for last argument.
Back to top
View user's profile Send private message Send e-mail Visit poster's website AIM Address Yahoo Messenger
offender



Joined: 25 May 2004
Posts: 5

PostPosted: Tue May 25, 2004 12:12 pm    Post subject: Reply with quote

Code:
<?php link_pages('<br />', '<br />', 'number', 'next page', 'previous page', '%', 'index.php'); ?>


im trying to make this work.. but it doesn't... its not showing the number of pages...

how can i do that?
Back to top
View user's profile Send private message
Sigg3



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

PostPosted: Tue May 25, 2004 12:44 pm    Post subject: Reply with quote

I think you must include the tags Michel used ( in red):

[php:1:f22315b3f8]<?php link_pages('<br />', '<br />', 'number', 'next page', 'previous page', '%', 'main.php'); ?>[/php:1:f22315b3f8]
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
offender



Joined: 25 May 2004
Posts: 5

PostPosted: Tue May 25, 2004 12:58 pm    Post subject: Reply with quote

im not vag, my site runs on index.php...

link_page do not show nothing...

and i need the pages... :/
Back to top
View user's profile Send private message
Sigg3



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

PostPosted: Tue May 25, 2004 1:31 pm    Post subject: Reply with quote

Still, did you try those red tags as well?
_________________
Sigg3.net - You know you're worth it! | b2 Cafelog Resource Center
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
offender



Joined: 25 May 2004
Posts: 5

PostPosted: Tue May 25, 2004 1:38 pm    Post subject: Reply with quote

these tags does not mean nothing!
Back to top
View user's profile Send private message
offender



Joined: 25 May 2004
Posts: 5

PostPosted: Tue May 25, 2004 1:54 pm    Post subject: Reply with quote

i've found a better way to do that...

http://cafelog.com/board/viewtopic.php?t=1972&highlight=numbering

it works wonderfully

thanks
Back to top
View user's profile Send private message
Sigg3



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

PostPosted: Tue May 25, 2004 7:35 pm    Post subject: Reply with quote

Eh, no problem?

Very Happy
_________________
Sigg3.net - You know 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 -> Bugs 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