Pagination default value to incl. both categories and images

Phoca Gallery - image gallery extension
CarlFredrik.Hero
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 26 Aug 2009, 11:19

Pagination default value to incl. both categories and images

Post by CarlFredrik.Hero »

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ö
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Pagination default value to incl. both categories and images

Post by Jan »

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
If you find Phoca extensions useful, please support the project
CarlFredrik.Hero
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 26 Aug 2009, 11:19

Re: Pagination default value to incl. both categories and images

Post by CarlFredrik.Hero »

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?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Pagination default value to incl. both categories and images

Post by Jan »

No there is no such option, you can only use pagination which will split it by count of items.

Jan
If you find Phoca extensions useful, please support the project
CarlFredrik.Hero
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 26 Aug 2009, 11:19

Re: Pagination default value to incl. both categories and images

Post by CarlFredrik.Hero »

It's ok, I did some modification to the code, now the categories is split on several pages.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49297
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Pagination default value to incl. both categories and images

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
reconx2
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 04 Sep 2010, 14:09

Re: Pagination default value to incl. both categories and im

Post by reconx2 »

Hi,

Do You can write what modification you do in this code ? I have same problem like Yours.
CarlFredrik.Hero
Phoca Newbie
Phoca Newbie
Posts: 6
Joined: 26 Aug 2009, 11:19

Re: Pagination default value to incl. both categories and im

Post by CarlFredrik.Hero »

Sorry, I don't have the code any more.
Post Reply