PhotoPost Community

PhotoPost Community (http://www.photopost.com/forum/)
-   ReviewPost How do I...? (http://www.photopost.com/forum/reviewpost-how-do-i/)
-   -   Set Number of Products Per Page (http://www.photopost.com/forum/reviewpost-how-do-i/140140-set-number-products-per-page.html)

theojones May 25th, 2009 05:55 PM

Set Number of Products Per Page
 
I would like to set the default number "Per Page" for showcat view.

I assume this is a database setting? But not sure where.

The current default seems to be 12.

Chuck S May 25th, 2009 08:42 PM

The perpage default is always the number of thumbnail rows set in admin x3 and that it set by code in the showcat.php file.

theojones May 25th, 2009 08:59 PM

Ok.

I can't find the figure 12 in showcat.php

Code:

Content visible to verified customers only.
is it something to do with that above?

Where is the value I need to change?

Thanks

Chuck S May 25th, 2009 09:06 PM

Well all depends what you want your perpage to be.

Say you want it to be 24 you could say find the code noted here and add the line in bold

Code:

Content visible to verified customers only.

theojones May 25th, 2009 09:19 PM

Perfect, thanks.

Chuck S May 26th, 2009 09:34 AM

No problem glad to assist


All times are GMT -5. The time now is 04:22 AM.

Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97