Hi!
I need to setup a galleri with lots of subcategories, but I want each page to show 12 (my default pagination value) "entries" (ie. either a category or an image).
Example:
I have a gallery (called Motorcycles) with 22 subcategories and 14 images (not including images in the subcategories). Now, I want the gallery to look like this:
Page 1: 12 categories, NO images
Page 2: 10 categories, 2 images
Page 3: 12 images
Each page with a total of 12 entries.
How do I do this?
Thanks in advance!
Kind regards,
Carl-Fredrik Herö
Pagination default value to incl. both categories and images
-
CarlFredrik.Hero
- Phoca Newbie

- Posts: 6
- Joined: 26 Aug 2009, 11:19
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Pagination default value to incl. both categories and images
Hi, see the parameters and documentation. There is possible a lot of different combination how to display categories, images, etc. see:
https://www.phoca.cz/documents/2-phoca-g ... d-glossary
https://www.phoca.cz/documents/2-phoca-g ... -menu-item
Jan
https://www.phoca.cz/documents/2-phoca-g ... d-glossary
https://www.phoca.cz/documents/2-phoca-g ... -menu-item
Jan
If you find Phoca extensions useful, please support the project
-
CarlFredrik.Hero
- Phoca Newbie

- Posts: 6
- Joined: 26 Aug 2009, 11:19
Re: Pagination default value to incl. both categories and images
The only options I can find is to show Categories on the first page, all pages or not at all. There doesn't seems to be an option to split categories into several pages?
Is what I'm asking even possible?
Is what I'm asking even possible?
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Pagination default value to incl. both categories and images
No there is no such option, you can only use pagination which will split it by count of items.
Jan
Jan
If you find Phoca extensions useful, please support the project
-
CarlFredrik.Hero
- Phoca Newbie

- Posts: 6
- Joined: 26 Aug 2009, 11:19
Re: Pagination default value to incl. both categories and images
It's ok, I did some modification to the code, now the categories is split on several pages.
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Pagination default value to incl. both categories and images
Ok
If you find Phoca extensions useful, please support the project
-
reconx2
- Phoca Newbie

- Posts: 2
- Joined: 04 Sep 2010, 14:09
Re: Pagination default value to incl. both categories and im
Hi,
Do You can write what modification you do in this code ? I have same problem like Yours.
Do You can write what modification you do in this code ? I have same problem like Yours.
-
CarlFredrik.Hero
- Phoca Newbie

- Posts: 6
- Joined: 26 Aug 2009, 11:19
Re: Pagination default value to incl. both categories and im
Sorry, I don't have the code any more.