I'm using Phoca Gallery 2.1.0 RC
How can I put the pagination results above the gallery as opposed to having them underneath the gallery?
Moving Pagination
- progenitor
- Phoca Member

- Posts: 17
- Joined: 16 Jun 2008, 15:43
- Location: United Kingdom
- Contact:
- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: Moving Pagination
Hi, this need to be customized, in view (html/php)
e.g.:
components\com_phocagallery\views\category\tmpl\default.php
pagination code which begins on row 389 should be moved
Jan
e.g.:
components\com_phocagallery\views\category\tmpl\default.php
pagination code which begins on row 389 should be moved
Jan
If you find Phoca extensions useful, please support the project
- progenitor
- Phoca Member

- Posts: 17
- Joined: 16 Jun 2008, 15:43
- Location: United Kingdom
- Contact:
Re: Moving Pagination
Cheers for the pointer Jan 
It was not line 389 on my version.
In components\com_phocagallery\views\category\tmpl\default.php
I found it on lines 327 - 351:
I copied it up to line 70 to make it appear above the thumbnails as well as the bottom.
Code
Thanks again.
It was not line 389 on my version.
In components\com_phocagallery\views\category\tmpl\default.php
I found it on lines 327 - 351:
I copied it up to line 70 to make it appear above the thumbnails as well as the bottom.
Code
Code: Select all
// EDIT FOR PAGINATION
if (count($this->items)) {
echo '<div><center>';
if ($this->params->get('show_pagination_limit')) {
echo '<div style="margin:0 10px 0 10px;display:inline;">'
.JText::_('Display Num') .' '
.$this->tmpl['pagination']->getLimitBox()
.'</div>';
}
if ($this->params->get('show_pagination')) {
echo '<div style="margin:0 10px 0 10px;display:inline;" class="sectiontablefooter'.$this->params->get( 'pageclass_sfx' ).'" >'
.$this->tmpl['pagination']->getPagesLinks()
.'</div>'
.'<div style="margin:0 10px 0 10px;display:inline;" class="pagecounter">'
.$this->tmpl['pagination']->getPagesCounter()
.'</div>';
}
echo '</center></div>';
}
echo '</form>';
echo '<div> </div>';
// EDIT FOR PAGINATION- Jan
- Phoca Hero

- Posts: 49297
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact: