RSGallery2 support forums > RSGallery2 modules and plugins

Remove pagination bar (numbers) in 'gallery - single image' view

(1/1)

Leif_e:
Hi,
is it possible to remove the numberbar in the top of the gallery.
I will only remove it to get more space for the pictures

mvh. Leif

whazzup:
This can only be accomplished by changing the actual sources if you have access to them
In your joomla path find file \components\com_rsgallery2\templates\semantic\html\inline.php
Find following lines and remove them

--- Code: ---<?php //if (nav_both_top_and_bottom or nav_only_top){ //MK// [todo] [make config var for location navigation]?>
      <div class="rsg_sem_inl_Nav">
          <?php $this->showDisplayPageNav(); ?>
      </div>
<?php //}  ?>

--- End code ---
Please copy the file before so you may go back if needed
Sadly the file will be replaced by the next RSGallery2 installtion.

In the long run there will be settings in the config for it. But i can't tell when it is on our list. I already added an issue for it. See https://github.com/RSGallery2/RSGallery2_Component/issues/74

Leif_e:
Thanks for the reply, I will have a look at it

Best regards
Leif

Navigation

[0] Message Index

Go to full version