Categorie list / show problem

Phoca Gallery - image gallery extension
sealine
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 21 Sep 2011, 18:38

Categorie list / show problem

Post by sealine »

Hi there,
i want to Change the "spaces" in the Categorie view.
i was looking into the templates but didn't find the right code for it. Can anyone tell me where to find the Code for the part marked on the Image ?

Image
quayfee
Phoca Member
Phoca Member
Posts: 14
Joined: 13 Jul 2011, 19:15

Re: Categorie list / show problem

Post by quayfee »

Have a look at the 'views'in the component, then create template overrides to create the layout that you want. There's lots of information and documentation about template overrides on the web, but the basic concept is to take the file that you want to tweak, place a copy inside an html folder in your template and Joomla will use that as the layout for the component instead of the original.

the folder structure shold be as follows:

your-template/html/com_your-component/tweaked-view/template-file.php

so if you're changing the default category view in phoca gallery it would be:

you-template/html/com_phocagallery/category/default.php

where default .php it the corresponding file in the category folder in the comonent's view folder.

Hope that helps.
Post Reply