Vaupell
02-08-2009, 07:10 PM
Hi was following the article paginator in admin cp,
and with only -2 views since yester kinda doubt a response is appearing there.
Paginate Admin CP Results (https://vborg.vbsupport.ru/showthread.php?t=200413)
so if you think its the wrong place to start a topic, well in a perfect world articles responses was
feedback only not support, and support with scripts goes in support forum :p
anyway
the problem is this
the link from the pages appear to be fine when running but when you click
if loads nothing/blank screen which ofcourse is becourse it cannot find the
goto location.
my initial goto location is if($_POST['do']=="Find"){
and the link is looking like this
$pagenav .= " <a href=\"sh2.php?$session[sessionurl]do=Find&page=$thispage\" class=\"normal\">$thispage</a> ";
// --- and futher down the actual print
print_description_row($pagenav, false, 8, '', 'center');
in run mode it looks like this
http://localhost/forums/admincp/sh2.php?do=Find&page=2
and ofcourse it can easy find ?do=Find but the &page2
is the problem, im sure i need to add this somewhere, but not how
and neither articles on this clearify this..
suggestions ? :confused:
EDIT 2 :
modified the link a little, but still not allowed to use &page#
$pagenav .= "<a href='sh2.php?$session[sessionurl]do=Find&page=$thispage'>".$thispage."</a>,";
and with only -2 views since yester kinda doubt a response is appearing there.
Paginate Admin CP Results (https://vborg.vbsupport.ru/showthread.php?t=200413)
so if you think its the wrong place to start a topic, well in a perfect world articles responses was
feedback only not support, and support with scripts goes in support forum :p
anyway
the problem is this
the link from the pages appear to be fine when running but when you click
if loads nothing/blank screen which ofcourse is becourse it cannot find the
goto location.
my initial goto location is if($_POST['do']=="Find"){
and the link is looking like this
$pagenav .= " <a href=\"sh2.php?$session[sessionurl]do=Find&page=$thispage\" class=\"normal\">$thispage</a> ";
// --- and futher down the actual print
print_description_row($pagenav, false, 8, '', 'center');
in run mode it looks like this
http://localhost/forums/admincp/sh2.php?do=Find&page=2
and ofcourse it can easy find ?do=Find but the &page2
is the problem, im sure i need to add this somewhere, but not how
and neither articles on this clearify this..
suggestions ? :confused:
EDIT 2 :
modified the link a little, but still not allowed to use &page#
$pagenav .= "<a href='sh2.php?$session[sessionurl]do=Find&page=$thispage'>".$thispage."</a>,";