Osclass forums
Support forums => General help => Topic started by: euroboris90 on October 12, 2012, 05:12:09 am
-
At first I thought it was a problem to me, but then I looked at the demo http://demo.osclass.org/jobboard/index.php?page=search&page=search&iPage=0
If you click on page 2, the search result does not go to page 2. I looked at the problem is probably on the page search.php. The first starts with the id iPage=0, I think that's the problem, someone fix this please?
attach (picture) search.php page, please someone who knows just fix this script, it creates a problem on the site
-
Someone help????
-
Can you upload the search.php file?
Thanks
Jay
-
Here, though the problem is not only with me but it is generally a problem in theme newcorp. please help;)
-
Someone fix this bug???? ???
-
Hi
In your search.php file look for this code
<?php for($i = 0 ; $i < osc_search_total_pages() ; $i++) {
if($i == osc_search_page()) {
printf('<a class="searchPaginationSelected" href="%s">%d</a>', osc_update_search_url(array('iPage' => $i)), ($i + 1)) ;
} else {
printf('<a class="searchPaginationNonSelected" href="%s">%d</a>', osc_update_search_url(array('iPage' => $i)), ($i + 1)) ;
}
} ?>
And replace it with this code.
<?php echo osc_search_pagination(); ?>
Jay
-
Thanks a lot, works great, but now I have a problem because I was such a bad view, see picture, where to fix it? Thanks in advance
-
I fixed image in css. Thanks a lot man, I do not know how to repay you