Sub cats or not counted as having files in cat above and head cat

Phoca Download - download manager
nicolaas1
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 24 Dec 2021, 22:41

Sub cats or not counted as having files in cat above and head cat

Post by nicolaas1 »

http://joomla.cmkks.biz/downloads/1-belgium

See MECHANICAL SIGNALLING , there is one input under http://joomla.cmkks.biz/downloads/1-bel ... on-signals.

Hope you can fix this.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Sub cats or not counted as having files in cat above and head cat

Post by Jan »

Hi, sorry, I don't understand what do you exactly mean? Can you give more detailed information?

Jan
If you find Phoca extensions useful, please support the project
nicolaas1
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 24 Dec 2021, 22:41

Re: Sub cats or not counted as having files in cat above and head cat

Post by nicolaas1 »

Jan, there are head categories an sub, what i see is that if a subcat has 10 files the cat above will still say 0.

Look at the lnks i gave you, you have everything there to see what i mean.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Sub cats or not counted as having files in cat above and head cat

Post by Jan »

Hi, now I understand. See similar posts in this forum. There is count of files of current category, not any other category. It does not matter if some category is a parent category or a subcategory. The number is just a number of files of the category. As seen in similar posts, this was selected by community to display the real count of files of category not from other categories.

To display even count of files of sub categories, the code needs to be customized - to add some recursive function to count all files from category tree. :idea:

Jan
If you find Phoca extensions useful, please support the project
nicolaas1
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 24 Dec 2021, 22:41

Re: Sub cats or not counted as having files in cat above and head cat

Post by nicolaas1 »

Could you custimize the code ? This would be a greadt thing for our site.
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Sub cats or not counted as having files in cat above and head cat

Post by Jan »

Hi, unfortunately, because of overwriting Joomla 4 extensions, I am now overloaded so I am not able to do because of time issues :-(

Jan
If you find Phoca extensions useful, please support the project
nicolaas1
Phoca Newbie
Phoca Newbie
Posts: 4
Joined: 24 Dec 2021, 22:41

Re: Sub cats or not counted as having files in cat above and head cat

Post by nicolaas1 »

Can you do it by the time the stable download system comes out for joomla 4 ?J
User avatar
Jan
Phoca Hero
Phoca Hero
Posts: 48550
Joined: 10 Nov 2007, 18:23
Location: Czech Republic
Contact:

Re: Sub cats or not counted as having files in cat above and head cat

Post by Jan »

Hi, unfortunately, I will be not able to do it for the stable. Stable is in fact ready but still waiting in front to be released and there are many tasks I need to do (in fact adding all new features is now frozen as the priority is to bring the stable versions with current features :-( )

Unfortunately, the situation with J4 is so, that is is completely different system in comparing to J3 (so many backward compatibility changes) so I have spent this year only with overwriting extensions to Joomla 4 and not adding new features :-( And this takes some times until it will be possible to add new features again :-(

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