Hello:
I included my photo gallery in an article, so that you go streight to the pictures, not to the categories as I have only one category.
Can somebody tell me please how to set the number of pictures per page? So that I have let's say 5 pics per page and links to the next pages with pictures at the bottom?
I've tried different parameters, but it's not working so far.
I am using Phoca Gallery 2.6.2
Thank you for your time!
number of pictures per page
- Benno
- Phoca Hero

- Posts: 10081
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: number of pictures per page
Hi,
If you want to show 5 pics per page you have to modify your Phoca Gallery Plugin code.
>>page 1:<<
{phocagallery view=category|categoryid=..|limitstart=0|limitcount=5|....}
>>insert a pagebreak<<
>>page 2:<<
{phocagallery view=category|categoryid=..|limitstart=5|limitcount=5|....}
>>insert a pagebreak<<
>>page 3:<<
{phocagallery view=category|categoryid=..|limitstart=10|limitcount=5|....}
>>insert a pagebreak<<
and so on....
2. Go to: --> Back end --> Menus --> e.g. Main Menu --> Menu Item Manager --> Menu Item "Your Article" --> Menu Item: [ Edit ]
It should be "Article Layout" and in "Parameters (Component)" switch "Show Navigation" to Show.
Kind regards,
Benno
1. Go to: --> Back end --> Content --> Article Manager --> Your Created ArticleCan somebody tell me please how to set the number of pictures per page? So that I have let's say 5 pics per page and links to the next pages with pictures at the bottom?
If you want to show 5 pics per page you have to modify your Phoca Gallery Plugin code.
>>page 1:<<
{phocagallery view=category|categoryid=..|limitstart=0|limitcount=5|....}
>>insert a pagebreak<<
>>page 2:<<
{phocagallery view=category|categoryid=..|limitstart=5|limitcount=5|....}
>>insert a pagebreak<<
>>page 3:<<
{phocagallery view=category|categoryid=..|limitstart=10|limitcount=5|....}
>>insert a pagebreak<<
and so on....
2. Go to: --> Back end --> Menus --> e.g. Main Menu --> Menu Item Manager --> Menu Item "Your Article" --> Menu Item: [ Edit ]
It should be "Article Layout" and in "Parameters (Component)" switch "Show Navigation" to Show.
Kind regards,
Benno
-
lena11d
- Phoca Newbie

- Posts: 2
- Joined: 19 Mar 2010, 03:21
Re: number of pictures per page
Thank you, Benno, I'll try it out!
- Benno
- Phoca Hero

- Posts: 10081
- Joined: 04 Dec 2008, 11:58
- Location: Germany
- Contact:
Re: number of pictures per page
You´re welcome!
Kind regards,
Benno
Kind regards,
Benno