Page 1 of 1

change number of rows in:backend>Phocagallery>Images

Posted: 23 Oct 2014, 12:12
by mhparvaz
Hello! :)
How can i change number of rows displayed in backend>Phocagallery>Images?

link: administrator/index.php?option=com_phocagallery&view=phocagalleryimgs

Re: change number of rows in:backend>Phocagallery>Images

Posted: 23 Oct 2014, 14:45
by Jan
Hi, like in Joomla, there is a pagination, and you set the your value there, e.g. from 20 to 40 :idea:

Jan

Re: change number of rows in:backend>Phocagallery>Images

Posted: 23 Oct 2014, 19:47
by mhparvaz
Jan wrote:Hi, like in Joomla, there is a pagination, and you set the your value there, e.g. from 20 to 40 :idea:

Jan
Hi
Now, the default value is 100. In which file this value is defined? How can i change the default value?

Re: change number of rows in:backend>Phocagallery>Images

Posted: 23 Oct 2014, 20:17
by Benno
Hi,

Image

Kind regards,
Benno

Re: change number of rows in:backend>Phocagallery>Images

Posted: 24 Oct 2014, 10:59
by mhparvaz
Benno wrote:Hi,

Image

Kind regards,
Benno
Hi,
I don't want to change it manualy. I want that automatically display e.g. 5 images when i visit this page.

Re: change number of rows in:backend>Phocagallery>Images

Posted: 24 Oct 2014, 19:23
by Benno
Hi,
I want that automatically display e.g. 5 images when i visit this page.
Sorry, I don't know how to do this.

Kind regards,
Benno

Re: change number of rows in:backend>Phocagallery>Images

Posted: 28 Oct 2014, 12:30
by mhparvaz
can anyone guide me?

Re: change number of rows in:backend>Phocagallery>Images

Posted: 30 Oct 2014, 19:44
by Jan
Hi, as default, in Joomla! there is the number 20.

To change it, you need to do directly in the code.

As the pagination is not defined in Phoca Gallery, but it is taken from Joomla! models, you should take a look at:
\libraries\legacy\model\list.php

Jan