Welcome,
Guest
.
Please
login
or
register
.
Did you miss your
activation email
?
News:
Did you know that
Elxis 5.x
uses HTML5, CSS3 and pure javascript without external libraries such as jQuery?
Home
Help
Login
Register
Elxis CMS Forum
»
Extensions
»
Components
»
IOS Downloads unwanted behaviour (possible bug)
« previous
next »
Print
Pages: [
1
]
Author
Topic: IOS Downloads unwanted behaviour (possible bug) (Read 4288 times)
jmous
Newbie
Posts: 10
IOS Downloads unwanted behaviour (possible bug)
«
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
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: IOS Downloads unwanted behaviour (possible bug)
«
Reply #1 on:
April 15, 2011, 20:20:47 »
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?
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
jmous
Newbie
Posts: 10
Re: IOS Downloads unwanted behaviour (possible bug)
«
Reply #2 on:
April 17, 2011, 18:34:02 »
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]...
Logged
datahell
Elxis Team
Hero Member
Posts: 10356
Re: IOS Downloads unwanted behaviour (possible bug)
«
Reply #3 on:
April 17, 2011, 18:48:28 »
Create a listing and delete it afterwards.
Logged
Elxis Team
|
Is Open Source
|
IOS Rentals | IOS AERO
jmous
Newbie
Posts: 10
Re: IOS Downloads unwanted behaviour (possible bug)
«
Reply #4 on:
April 18, 2011, 10:21:49 »
This works and updates the counter...thanks
Logged
Print
Pages: [
1
]
« previous
next »
Elxis CMS Forum
»
Extensions
»
Components
»
IOS Downloads unwanted behaviour (possible bug)