X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   navigation.tpl (https://forum.x-cart.com/showthread.php?t=28600)

Lee 02-05-2007 11:45 PM

navigation.tpl
 
Good morning,

I am looking to make a chnage to the navigation.tpl file - the one that displays

Search Results Pages: | 1 | 2 | 3 | 4 | 5 | 6 | 7 | >

I am changing the layout of the display so that the above sits in the same row as search_sort_by.tpl file, with the cell split in two.

This is fine until I display a page that has more than 13 results pages, as there isn;t enough space to display them all and so the cells start to shift and push things over to the right.

What I would like to do do is limit the amount of Search Results Pages, like Google, or indeed this forum at the bottom of the page, so that I never have more than 10 pages displaying, but obviously as you move along the display changes.

Has anyone done this successfully?

Thanks in advance,

PhilJ 02-06-2007 12:32 AM

Re: navigation.tpl
 
http://forum.x-cart.com/showthread.php?t=27364

You set the maximum number of pages in general settings > appearance.

Lee 02-06-2007 12:53 AM

Re: navigation.tpl
 
Thanks Phil, nice mod!


All times are GMT -8. The time now is 09:37 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.