Advertisement:

Author Topic: ( theme newcorp) bug search result - please how to fix?  (Read 1756 times)

euroboris90

  • Newbie
  • *
  • Posts: 10
( theme newcorp) bug search result - please how to fix?
« 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


euroboris90

  • Newbie
  • *
  • Posts: 10
Re: ( theme newcorp) bug search result - please how to fix?
« Reply #1 on: October 12, 2012, 04:35:16 pm »
Someone help????

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: ( theme newcorp) bug search result - please how to fix?
« Reply #2 on: October 12, 2012, 07:46:33 pm »
Can you upload the search.php file?

Thanks

Jay

euroboris90

  • Newbie
  • *
  • Posts: 10
Re: ( theme newcorp) bug search result - please how to fix?
« Reply #3 on: October 12, 2012, 10:20:18 pm »
Here, though the problem is not only with me but it is generally a problem in theme newcorp. please help;)

euroboris90

  • Newbie
  • *
  • Posts: 10
Re: ( theme newcorp) bug search result - please how to fix?
« Reply #4 on: October 13, 2012, 11:15:08 pm »
Someone fix this bug???? ???

trains58554

  • Osclass contributor
  • Hero Member
  • *****
  • Posts: 3642
  • osCanyon, the class of Osclass
Re: ( theme newcorp) bug search result - please how to fix?
« Reply #5 on: October 13, 2012, 11:27:08 pm »
Hi

In your search.php file look for this code

<?php for($i $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

euroboris90

  • Newbie
  • *
  • Posts: 10
Re: ( theme newcorp) bug search result - please how to fix?
« Reply #6 on: October 14, 2012, 02:00:23 am »
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

euroboris90

  • Newbie
  • *
  • Posts: 10
Re: ( theme newcorp) bug search result - please how to fix?
« Reply #7 on: October 14, 2012, 02:24:42 am »
I fixed image in css. Thanks a lot man, I do not know how to repay you