My friend found a solution ^^
Need PHP-coder help o.oa
Blogs > Rus_Brain |
Rus_Brain
Russian Federation1890 Posts
My friend found a solution ^^ | ||
Rus_Brain
Russian Federation1890 Posts
| ||
MaTRiX[SiN]
Sweden1282 Posts
$rows = $pagecount;" $asdf=$rows/20; for(i=0;i<$asdf;i++) and change $rows to 20 in the makePageNav function (if u want 20 links in each line) echo "<div align='center' style='margin-top:5px;'>\n".makePageNav($rowstart,1,20,9,FUSION_SELF."?article_id=$article_id&")."\n</div>\n"; cant actually test it so I could be horribly wrong but you can try it :p | ||
Rus_Brain
Russian Federation1890 Posts
| ||
Rus_Brain
Russian Federation1890 Posts
I mean I have a ~390 page article, but it displays "X page of 20" | ||
MaTRiX[SiN]
Sweden1282 Posts
edit: how about changing the 9 to 20 and changing $rowstart to 20*i. that should make it print out divs with 20 links in each, but I guess it would be like having a number of different navigations all starting on different places... think you need to change the makepagenav function which is in a different file than the one you linked. | ||
Rus_Brain
Russian Federation1890 Posts
lol, I forgot to show you the MakePagNav function in main core, it's here. | ||
Rus_Brain
Russian Federation1890 Posts
but it's not working: | ||
Rus_Brain
Russian Federation1890 Posts
1, 2, 3, 4, 5......., 189765... is enough for me | ||
Rus_Brain
Russian Federation1890 Posts
My friend found a solution ^^ | ||
| ||