Control Panel Images Pagination...

Phoca Gallery - image gallery extension
nichollsa
Phoca Member
Phoca Member
Posts: 15
Joined: 21 Feb 2012, 01:48

Control Panel Images Pagination...

Post by nichollsa »

Evening,

Does anyone know where to set the default pagination for the images tab within the users control panel?

Thanks in advance...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Control Panel Images Pagination...

Post by Jan »

Hi, in parameters of menu link to gallery and global configuration. See similar posts in this forum.

Jan
If you find Phoca extensions useful, please support the project
nichollsa
Phoca Member
Phoca Member
Posts: 15
Joined: 21 Feb 2012, 01:48

Re: Control Panel Images Pagination...

Post by nichollsa »

Hi Jan,

The pagination was already setup within these areas so we know this does not work.

Please note that this is the pagination for the images tab within the users control panel and not the list of images inside a category.

Hope this expains our issue better...

Regards

Ant
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Control Panel Images Pagination...

Post by Jan »

Hi, this needs to be set directly in the code :-(

components\com_phocagallery\models\user.php

change the 20 in

$limit_subcat = $app->getUserStateFromRequest( $this->_context_subcat.'.list.limitsubcat', 'limitsubcat', 20, 'int' );
$limit_image = $app->getUserStateFromRequest( $this->_context_image.'.list.limitimage', 'limitimage', 20, 'int' );

Jan
If you find Phoca extensions useful, please support the project
nichollsa
Phoca Member
Phoca Member
Posts: 15
Joined: 21 Feb 2012, 01:48

Re: Control Panel Images Pagination...

Post by nichollsa »

Brilliant, that has sorted it thanks Jan...
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49150
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Control Panel Images Pagination...

Post by Jan »

Ok
If you find Phoca extensions useful, please support the project
Post Reply