The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
Where is $page loaded? All i see is that you are testing the contents of $page, but it is not loaded anywhere in your example.
|
#12
|
|||
|
|||
Marco,
$page is loaded in the link with page=$page. In url of page when I click on on page it is showing proper link like page.php?page=2, but the results are same as page 1. Do I need to get $page values before the link. I have like this for($page = 1; $page <= $maxPage; $page++) { if ($page == $pageNum) { $nav .= " $page "; // no need to create a link to current page } else { $nav .= " <a href=\"$self?page=$page\">$page</a> "; } } In template I just call $nav. $nav is displaying correctly with links and page numbers. but results are same <tr> <div border="1" align="$stylevar[right]" style="padding-bottom:2px">$nav </div> $usercategories - This variable has results </tr> Any suggestions are appreciated. Thanks |
#13
|
|||
|
|||
Having ...php?page=x in the url, does not set a variable named $page in your script.
|
#14
|
|||
|
|||
Marco,
Where should I pass that $pagevariable inaddition to url page. CAn you please explain me in detail. Thanks for reply |
#15
|
||||
|
||||
You can use
PHP Code:
|
#16
|
|||
|
|||
It did not work wiith above code. thanks for reply. Any suggestions....
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|