TEmplates override

Phoca Gallery - image gallery extension
borja
Phoca Enthusiast
Phoca Enthusiast
Posts: 69
Joined: 16 Apr 2011, 22:21

TEmplates override

Post by borja »

Hello
I want to change a little bit the html code. It is just a little change. I try using templae override but it doesn´t work. In the folder of my template there is now a folder "html/com_phocagallery/category" here are different files:

default.php

default-20201102-084420.php

i try to change the code and later in the menu i change the paramter "template style" to the this template, but i cannot see the change donde.

What can be wrong?

How can i change the default template? I want to change the html not only the css.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49138
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: TEmplates override

Post by Jan »

Hi, just name the file the same like the original file:

html/com_phocagallery/category/default.php

It will be automatically used - there is no need to change template style.

Jan
If you find Phoca extensions useful, please support the project
Post Reply