Elxis CMS Forum
Extensions => Components => Topic started by: jmous on April 15, 2011, 15:55:56
-
Hello all,
I am a fresh user of Elxis trying to custom IOS Downloads for my site.
First of all i can't figure out the trouble in the following scenario:
1. I make a category (A) and some listings in it
2. I make a subcategory (B) in supercategory (A) and move some listings from (A) to (B)
It appears that the no of listings in A don't change (these appear in brackets ex: A [5] )
After that i run the sequence differently:
Make supercategory (A) then subcategory (B) and then add my listings. The number of listings appears now correct (but different than 1st scenario)
I wonder if this is a small bug in the code.
Thanks
-
In order to reduce db queries in front-end the component stores the information of how many listings each category has on the category itself. This number is updated on saving a listing belonging to that category.
Tip:
1. Click to edit a listing in category B. Click save.
2. Click to edit a listing in Category A. Click save.
Is the listings number now correct?
-
Category A is now empty of listings (only contains B with a listing) so I can't edit/save any listing there and the number of files is A[1]...
-
Create a listing and delete it afterwards.
-
This works and updates the counter...thanks