no subcategory

Phoca Download - download manager
jciconsult
Phoca Member
Phoca Member
Posts: 35
Joined: 06 Aug 2009, 12:30

no subcategory

Post by jciconsult »

I can't seem to see how to get rid of the no-subcategory message.
www.jacobsonconsulting.com/jver316/ Look at the downloads link.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48610
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: no subcategory

Post by Jan »

Hi, sorry, I don't understand, what you mean with: "how to get rid of the no-subcategory message" :idea:

Jan
If you find Phoca extensions useful, please support the project
pach25
Phoca Newbie
Phoca Newbie
Posts: 1
Joined: 06 Nov 2011, 23:08

Re: no subcategory

Post by pach25 »

Hello,

i am having the exact same problem. I don't have subcategories, and in the Categories view, my categories appear with the text "no subcategory" under the category name.

I tried to remove it in the "layout" section but nothing.

Is there an alternative way to remove it?

Thank you in advance for your answer!
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48610
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: no subcategory

Post by Jan »

Hi, you can enable displaying description instead of subecategories or customize the categories view output:

commenting this:
$pdSubcategories .= '<div class="pd-no-subcat">'.JText::_('COM_PHOCADOWNLOAD_NO_SUBCATEGORIES').'</div>';
in:
components\com_phocadownload\views\categories\tmpl\default.php

Jan
If you find Phoca extensions useful, please support the project
Dougt
Phoca Newbie
Phoca Newbie
Posts: 5
Joined: 20 Feb 2011, 01:45

Re: no subcategory

Post by Dougt »

I was wanting to do the same thing. I will give it a try. Thanks for the suggestion.
Post Reply