Some BLOGs not displaying Fry sizes
- bekateen
- Posts: 9646
- Joined: 09 Sep 2014, 17:50
- I've donated: $40.00!
- My articles: 4
- My images: 143
- My cats species list: 146 (i:106, k:34)
- My aquaria list: 37 (i:14)
- My BLogs: 44 (i:154, p:2563)
- My Wishlist: 36
- Spotted: 184
- Location 1: USA, California, Stockton
- Location 2: USA, California, Stockton
- Contact:
Some BLOGs not displaying Fry sizes
Hi Jools,
I'm noticing that some BLOG entries show fry sizes at various ages and others don't display them. For example, if you check my BLOGS for and , you'll see fry sizes listed in the Dekeyseria BLOG but not in the Rineloricaria BLOG, even though I've entered fry sizes in both.
Cheers, Eric
I'm noticing that some BLOG entries show fry sizes at various ages and others don't display them. For example, if you check my BLOGS for and , you'll see fry sizes listed in the Dekeyseria BLOG but not in the Rineloricaria BLOG, even though I've entered fry sizes in both.
Cheers, Eric
Find me on YouTube & Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code bekateen for 15% off your order. Also, for you Swifties: Https://youtu.be/ZUKdhXL3NCw
- bekateen
- Posts: 9646
- Joined: 09 Sep 2014, 17:50
- I've donated: $40.00!
- My articles: 4
- My images: 143
- My cats species list: 146 (i:106, k:34)
- My aquaria list: 37 (i:14)
- My BLogs: 44 (i:154, p:2563)
- My Wishlist: 36
- Spotted: 184
- Location 1: USA, California, Stockton
- Location 2: USA, California, Stockton
- Contact:
Re: Some BLOGs not displaying Fry sizes
Follow up: Right now I do not have any data for Rineloricaria fry size at 1 week old (so the entry field contains the default "0" mm), and when I view the complete BLOG, I see no fry sizes listed. But if I change the size at 1 week from "0" mm to a random number greater than zero (I used "1" mm), then save and view the BLOG, THEN all of the size entries appear. If I delete the "1" mm entry at 1 week of age and replace it with "0" mm, then all of the fry sizes disappear again when the BLOG is viewed.
Conversely, I do have size at 1 week listed for the Dekeyseria BLOG, and all the fry sizes display. If I change the value at 1 week from its current number ("10" mm) to the default "0" mm, then all the other fry sizes disappear when this BLOG is viewed.
I don't recall ever noticing that behavior on BLOGS in years past, but maybe it's always been there?
Cheers, Eric
Conversely, I do have size at 1 week listed for the Dekeyseria BLOG, and all the fry sizes display. If I change the value at 1 week from its current number ("10" mm) to the default "0" mm, then all the other fry sizes disappear when this BLOG is viewed.
I don't recall ever noticing that behavior on BLOGS in years past, but maybe it's always been there?
Cheers, Eric
Find me on YouTube & Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code bekateen for 15% off your order. Also, for you Swifties: Https://youtu.be/ZUKdhXL3NCw
- Jools
- Expert
- Posts: 16273
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Re: Some BLOGs not displaying Fry sizes
This makes sense given the code I am looking at. What it did was check (3 times, incorrectly) if the 7 days size field was empty or not, if not then the 7, 14 and 21 information was displayed.
I have changed this to be what the code should have done which is check if any of the 7,14 or 21-day size data has a non zero value and if so then display the text.
Could you try the process above and confirm the behaviour is changed to be as you would expect?
Cheers,
Jools
I have changed this to be what the code should have done which is check if any of the 7,14 or 21-day size data has a non zero value and if so then display the text.
Could you try the process above and confirm the behaviour is changed to be as you would expect?
Cheers,
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- bekateen
- Posts: 9646
- Joined: 09 Sep 2014, 17:50
- I've donated: $40.00!
- My articles: 4
- My images: 143
- My cats species list: 146 (i:106, k:34)
- My aquaria list: 37 (i:14)
- My BLogs: 44 (i:154, p:2563)
- My Wishlist: 36
- Spotted: 184
- Location 1: USA, California, Stockton
- Location 2: USA, California, Stockton
- Contact:
Re: Some BLOGs not displaying Fry sizes
For Dekeyseria picta: with 7 days set to 10 mm and then to 0 mm. Seems to work correctly now.
Thanks!
Eric
Thanks!
Eric
Find me on YouTube & Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code bekateen for 15% off your order. Also, for you Swifties: Https://youtu.be/ZUKdhXL3NCw
- Jools
- Expert
- Posts: 16273
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Re: Some BLOGs not displaying Fry sizes
I could improve that and put "not recorded" in for the zero entry - let me have a look at it....
Jools
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.
- bekateen
- Posts: 9646
- Joined: 09 Sep 2014, 17:50
- I've donated: $40.00!
- My articles: 4
- My images: 143
- My cats species list: 146 (i:106, k:34)
- My aquaria list: 37 (i:14)
- My BLogs: 44 (i:154, p:2563)
- My Wishlist: 36
- Spotted: 184
- Location 1: USA, California, Stockton
- Location 2: USA, California, Stockton
- Contact:
Re: Some BLOGs not displaying Fry sizes
Or "N/A" (not available) for brevity
Find me on YouTube & Facebook: http://youtube.com/user/Bekateen1; https://www.facebook.com/Bekateen
Buying caves from https://plecocaves.com? Plecocaves sponsor Bekateen's Fishroom. Use coupon code bekateen for 15% off your order. Also, for you Swifties: Https://youtu.be/ZUKdhXL3NCw
- Jools
- Expert
- Posts: 16273
- Joined: 30 Dec 2002, 15:25
- My articles: 198
- My images: 941
- My catfish: 237
- My cats species list: 87 (i:13, k:1)
- My BLogs: 7 (i:10, p:167)
- My Wishlist: 23
- Spotted: 450
- Location 1: Middle Earth,
- Location 2: Scotland
- Interests: All things aquatic, Sci-Fi, photography and travel. Oh, and beer.
- Contact:
Re: Some BLOGs not displaying Fry sizes
Fixed it up, it simply doesn't display a particular size if there is no data for it.
Jools
Jools
Owner, AquaticRepublic.com, PlanetCatfish.com & ZebraPleco.com. Please consider donating towards this site's running costs.