Page 1 of 1

How to place 'Back' buttons at the bottom of the gallery

Posted: 25 Mar 2023, 17:37
by MichaelD
When I activate the 'Back' buttons in category view, I get the 'Back' buttons as the first entry on the display of images. How can I display them at the bottom of the image list, preferably on a new line?

Re: How to place 'Back' buttons at the bottom of the gallery

Posted: 27 Mar 2023, 12:35
by Jan
Hi, the only way is to overwrite the output in your template (the category view output) :idea:

Jan

Re: How to place 'Back' buttons at the bottom of the gallery

Posted: 27 Mar 2023, 18:12
by MichaelD
Hi Jan
That's what I assumed. Unfortunately, there are plenty of files that configure the output. Could you point me to the specific files and code lines where the back button is configured? I'm not a pro, so I have a very hard time making sense of the code.
Thanks in advance!

Re: How to place 'Back' buttons at the bottom of the gallery

Posted: 28 Mar 2023, 12:04
by Jan
Hi, the back button is rendered in category view output:

components/com_phocagallery/views/category/tmpl/default_categories.php

There is an if condition to render back button to categories view or back button to category in category view (in case the subcategory has parent category)

The link is on line 28

Jan