Ad blocker detected: Our website is made possible by displaying online advertisements to our visitors. Please consider supporting us by disabling your ad blocker on our website.
Hi Jan,
like in subject is it possible?
I think about that after some people watching photos on my site ask me wy there is only 30 photos. They are a little bit surprised when i show them pagination on bottom
In the file components/com_phocagallery/views/category/tmpl/default.php lines (about) 256-288 there is the code for pagination.
if (count($this->items))
{
?>
<center>
<?php
if ($this->params->get('show_pagination_limit'))
{
?>
<span style="margin:0 10px 0 10px">
<?php
echo JText::_('Display Num') .' ';
echo $this->pagination->getLimitBox();
?>
</span>
<?php
}
I copied the code to line 63 right after
<?php echo JHTML::_( 'image.site', ''.str_replace('phoca_thumb_m_','phoca_thumb_
l_',$this->basicimage).'', '', '', '', '', ' id="PhocaGalleryobje$
</td></tr></table></center></div>
<?php
}
and modified the original code by adding a few <br /> tags after the <center> and </center> tags.
It works fine for me but I bet Jan has a better solution for this.
Jan is it possible that You add this as option to settings with 4 option to choose:
- on top
- on bottom
- on both (top and bottom)
- without pagination