How to place 'Back' buttons at the bottom of the gallery
-
- Phoca Member
- Posts: 10
- Joined: 25 Mar 2023, 17:31
How to place 'Back' buttons at the bottom of the gallery
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?
- Jan
- Phoca Hero
- Posts: 48704
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to place 'Back' buttons at the bottom of the gallery
Hi, the only way is to overwrite the output in your template (the category view output) 
Jan

Jan
If you find Phoca extensions useful, please support the project
-
- Phoca Member
- Posts: 10
- Joined: 25 Mar 2023, 17:31
Re: How to place 'Back' buttons at the bottom of the gallery
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!
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!
- Jan
- Phoca Hero
- Posts: 48704
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: How to place 'Back' buttons at the bottom of the gallery
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
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
If you find Phoca extensions useful, please support the project