Page 1 of 1

Categorie list / show problem

Posted: 22 Sep 2011, 10:14
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

Re: Categorie list / show problem

Posted: 22 Sep 2011, 11:14
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.