Page 1 of 1
Control Panel Images Pagination...
Posted: 23 Feb 2012, 00:44
by nichollsa
Evening,
Does anyone know where to set the default pagination for the images tab within the users control panel?
Thanks in advance...
Re: Control Panel Images Pagination...
Posted: 25 Feb 2012, 21:59
by Jan
Hi, in parameters of menu link to gallery and global configuration. See similar posts in this forum.
Jan
Re: Control Panel Images Pagination...
Posted: 26 Feb 2012, 19:21
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
Re: Control Panel Images Pagination...
Posted: 28 Feb 2012, 22:10
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
Re: Control Panel Images Pagination...
Posted: 29 Feb 2012, 22:14
by nichollsa
Brilliant, that has sorted it thanks Jan...
Re: Control Panel Images Pagination...
Posted: 02 Mar 2012, 00:18
by Jan
Ok