Category on Separate Line

Phoca Gallery - image gallery extension
prdg1
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 12 Jun 2009, 00:38

Category on Separate Line

Post by prdg1 »

I've looked through the documentation and I haven't found this so I'm just checking if this is possible.

The way the category view stands, it displays the category and then the subcategory next to it. This can sometimes be very long since I'm using the sub category as an event title. My question is this. I'd like to see it display with the main category as a heading and then the subcategories listed below it. For example

Party Pictures
- Event at the House
- Event at the Office
- Event Anywhere
Party Pictures 2
- Event at the House 2
- Event at the Office 2
- Event Anywhere 2

Now the tree menu does display this way but I was preferring something less tree like. I would think this is possible but I may have missed it.

Any ideas?
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Category on Separate Line

Post by caro84g »

Hi,

it's not possible by default, so I think you need to hack the core files.

You can display only the topcategories and let people click to see the subcategories. Then you need to set 'display subcategories' to no and 'display empty categories' to yes.

Regards, Carolien
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
prdg1
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 12 Jun 2009, 00:38

Re: Category on Separate Line

Post by prdg1 »

Thanks. I'll take a look at the code to see what I can do with it. It would certainly be a nice feature for future releases. Thanks again. I may check back if I have trouble with it. So if anyone else has any ideas or has done this, can ya share? :)
User avatar
caro84g
Phoca Hero
Phoca Hero
Posts: 1369
Joined: 11 Feb 2008, 17:52
Location: Holland
Contact:

Re: Category on Separate Line

Post by caro84g »

By the way, I think you can accomplish this with a template override... (do your changes are saved when updating)
Please ask your support questions in the forums and not via PM - I delete those PM's
Backup before you do any major change to your website (and test first)
prdg1
Phoca Newbie
Phoca Newbie
Posts: 3
Joined: 12 Jun 2009, 00:38

Re: Category on Separate Line

Post by prdg1 »

Good idea. I know with Joomla, I've been having trouble getting my template overrides to work so hopefully it will work better with this component. Thanks again
Post Reply