Customize Category View

Phoca Gallery - image gallery extension
topcat
Phoca Member
Phoca Member
Posts: 26
Joined: 30 Apr 2010, 17:46

Customize Category View

Post by topcat »

I'm using 2.6.2

I would like the category view to look like the categories view (with the category title underneath the image instead of to the right of it. Could some one give me a clue as to which file needs editing? Also is there a category hits plugin?
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Customize Category View

Post by Jan »

Hi, you can customize the template:

components/com_phocagallery/views/categories/tmpl/default.php

Jan
If you find Phoca extensions useful, please support the project
topcat
Phoca Member
Phoca Member
Posts: 26
Joined: 30 Apr 2010, 17:46

Re: Customize Category View

Post by topcat »

I'm using 2.7.1 now
thanks for the reply. I looked at the file you pointed to. I don't know how to edit that kind of code. I don't know how to insert the break that would send the category title to beneath the image. I was hoping it was more a CSS thing.

http://topcatlive.com/index.php?option= ... Itemid=105


the page would look so much nicer if it was more like the categories view, with the title underneath and some nice padding around each image and title (exactly like categories view). It would also allow me to have medium size images of about 175 px which would be really great, too.

If anyone can help me achieve this it would be greatly appreciated.

by the way, I've tried a few galleries in my time but phocagallery is the best phoc-ing gallery I've ever used.
topcat
Phoca Member
Phoca Member
Posts: 26
Joined: 30 Apr 2010, 17:46

Re: Customize Category View

Post by topcat »

I need the category view customized. I need the titles underneath the image instead of to the right of it. It must have a uniform height so that the length of the title will not throw it off. Underneath the title of the category I would like the view hits to show.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 49299
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Customize Category View

Post by Jan »

Hi, you need to customize the template of the file (I have pasted in previous post) and then you need to set CSS values (for height, etc), in:

components/com_phocagallery/assets/phocagallery.css

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