Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryCategory CountCategory Count
Previous
 
Next
New Post
6/20/2007 11:59 AM
 
I intend to use the [TREE] in my form and [TREE] with [COUNT] in my Dashboard. In Form.ascx, my Tree looks like this...

ALL
Category
Subcategory 1
Subcategory 2
Subcategory 3

I upload a file and select the "Subcategory 3" checkbox. When I view the results in the Dashboard, it displays with [Count] as follows...

ALL(1)
Category(0)
Subcategory 1(0)
Subcategory 2(0)
Subcategory 3(1)

Subsequent uploads of items selecting Subcategory 2 and 3 result in...

ALL(3)
Category(0)
Subcategory 1(1)
Subcategory 2(1)
Subcategory 3(1)


I was expecting Category to appear as Category(3). Is this the intended behavior, an error that I have introduced into my code via changes, and/or can I modify something to force the upper level Categories to show true Count of Subcategories under them?
 
New Post
6/25/2007 4:34 PM
 
Is this a bug, designed behavior, or do I have a bad install?
 
New Post
6/25/2007 5:56 PM
 

It's designed behavior

 
New Post
7/8/2007 7:30 PM
 

It would be an awesome feature to be able to show the totals of all  items in a category (including sub-categories).  Most directories on the web have this feature and most users come to expect this.  If most of the items are nicely categorized in sub-categories then it's possible to have hundreds or thousands of items in a category but still show 0 (zero) in the Category Dashbord.

Steve - any plans to add such a feature?

Thanks much,

- Adrian

 
New Post
7/9/2007 3:50 PM
 

it was a tough call, I went back and forth on this particular item.. on the one hand, I would expect it to work as you do, if I have a category of cars with sub categories of Ford and Chevy and there are 2 entries in Ford and 2 entries in Chevy, then I would expect to see 4 as the count for cars.  However, on the other hand if you look at it like a directory there aren't any entries in cars. If those were folders on your hard drive, a root folder of cars with sub folders of Ford and Chevy and looked at the properties for the root folder Cars, it would say the file count was 0. There would be 2 sub folders, but the item count in the root would be 0.

I opted finally to implement it under the folder paradigm, but I can see how it doesn't meet every use case. I suppose the best option would have been to make it configurable in the module settings, or implement it in the .xml settings file for the dashboard as to whether or not you want category counts 'rolled up' to parent categories.

If I have another 3.X release, I'll definately try and implement that option. Right now, I'm starting to work on the 4.0 release and don't really have plans to release another 3.X based update .. but who knows :)   worse case, I could always blog about how to implement it yourself if you're feeling frisky

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsRepositoryRepositoryCategory CountCategory Count


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out