number of pictures per page

Phoca Gallery - image gallery extension
lena11d
Phoca Newbie
Phoca Newbie
Posts: 2
Joined: 19 Mar 2010, 03:21

number of pictures per page

Post by lena11d »

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!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10081
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: number of pictures per page

Post by Benno »

Hi,
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?
1. Go to: --> Back end --> Content --> Article Manager --> Your Created Article
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
Phoca Newbie
Posts: 2
Joined: 19 Mar 2010, 03:21

Re: number of pictures per page

Post by lena11d »

Thank you, Benno, I'll try it out!
User avatar
Benno
Phoca Hero
Phoca Hero
Posts: 10081
Joined: 04 Dec 2008, 11:58
Location: Germany
Contact:

Re: number of pictures per page

Post by Benno »

You´re welcome!
Kind regards,
Benno
Post Reply