Page 1 of 1

Phoca Gallery Only Subcategories name display

Posted: 26 Jul 2012, 20:11
by cost22
Hello , I would like to know how I can display only the subcategory name and not the parent's category name.
I have a menu item phoca gallery, where I would like to put all my photo galleries. So I created a Parent Category "Main_Cat" and 4 subcategories. I want all this 4 subcategories to be displayed in my menu with their name "Pencils (11)"
, "Pens(8)" , "Rubber(12)" , "Desks(9)" and not like "Main_Cat ยป Pencils (11) " etc. How can I prevent from parent gategory title to appear?

Also if there is another method to do present all my albums in one menu item without creating a parent category please mention.
I appreciate your help.

Re: Phoca Gallery Only Subcategories name display

Posted: 26 Jul 2012, 22:59
by Jan
Hi, you can modify:

a) the SQL and recursive tree function directly - to not produce the tree like it is (see libraries folder - search for category tree)
b) or make some str_replace, etc function in output - in frontend to find and rename the parent category names and cut them.

Jan

Re: Phoca Gallery Only Subcategories name display

Posted: 27 Jul 2012, 00:01
by cost22
Thank you for your quick response. Hmm, it was really simpler than I was trying to manage. I will just select the list category which chooses all the phoca gategories and I will not have a parent category. Your suggestion was the one(and demanding :P) for my problem as I wrote it.
How can I change the font size of the Categories in the Category List Layout? I would like to make the font bigger.
Thank you.

Re: Phoca Gallery Only Subcategories name display

Posted: 09 Aug 2012, 09:15
by Jan
Hi, this you can do per CSS.

Jan