You are here:  » Pagination

Support Forum



Pagination

Submitted by apoc on Wed, 2011-08-10 11:16 in

Hello there,

I need to move the pagination on search.php.

Can you tell me where the code is please :)

Thanks, TPH

Submitted by support on Thu, 2011-08-11 08:09

Hi TPH,

The navigation panel is called in by this section of code beginning at line 369 of search.php:

  if (isset($navigation))
  {
    if ($minPrice || $maxPrice)
    {
      $sort .= "&minPrice=".$minPrice."&maxPrice=".$maxPrice;
    }
    require("html/navigation.php");
  }

To relocate, you can simply move that code anywhere within the file between require("includes/header.php") (line 350) and require("includes/footer.php") (line 378)

Alternatively / additional, you could also re-position by adding styles for the navigation class in your default.css - you'll find the current declaration beginning at line 75...

Hope this helps!

Cheers,
David.
--
PriceTapestry.com

Submitted by apoc on Thu, 2011-08-11 10:37

Thanks David that's excellent :)

TPH