Question about item count display in directory view

More
9 years 5 months ago - 9 years 5 months ago #59394 by gardenho
Hello, I wonder if you could tell me where the zero following the item count for every category comes from? My customer wants the item count to display but wants the zero removed. Normally it shows like:
(186/0) where 186 is the number of items in that category but how to get rid of the zero?

I attached a screenshot where I circled it - this is directory view. In top categories it shows like (186). On a subcategories page it shows without a zero as well, I attached a screenshot showing this.
Attachments:
Last edit: 9 years 5 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago - 9 years 5 months ago #59395 by gardenho
the subcategories screenshot
Attachments:
Last edit: 9 years 5 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago - 9 years 5 months ago #59407 by Rooney
Have you disabled subcategory count?
Rooney

Joomla! 3.9.24 and FC 3.3.9
Last edit: 9 years 5 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago - 9 years 5 months ago #59409 by gardenho
I want the counts to show for category and subcategory, but not the zero behind the count. There are no subcategories below so no reason for a zero to show from what I can tell
Last edit: 9 years 5 months ago by ggppdk.

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago - 9 years 5 months ago #59412 by ggppdk
Hello

you can create a Joomla template override for:
components/com_flexicontent/views/flexicontent/tmpl/default.php

as
template/joomlatemplate/html/com_flexicontent/flexicontent/default.php

- what was missing for me, is not just the hiding but the clear distiction of what is displayed:



10 minutes work to improve it
- icon class and unique icon class to override easier via CSS
- the separator is also a CSS class

i will commit


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...
Attachments:
Last edit: 9 years 5 months ago by ggppdk.
The following user(s) said Thank You: gardenho

Please Log in or Create an account to join the conversation.

More
9 years 5 months ago #59524 by gardenho
Yes for the client also that was the problem - to realize what is being displayed. The icons will help greatly! Thank you ggppdk

Please Log in or Create an account to join the conversation.

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.343 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save