solved Rated Count

PatriaCo
PatriaCo
@the-patria-company
8 years ago
349 posts
This part of the {if} statement in the jrElastic skin should only be true if there are rated items, correct?

&& $_conf.jrElastic_rated_count > 0}

but if there are no rated items, this should be false and the rated items sidebar block should be hidden, correct?


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3

updated by @the-patria-company: 10/12/16 01:15:01AM
michael
@michael
8 years ago
7,715 posts
Very cryptic. I'll guess: yes.

But then again it could be a puzzle, I'll go look at the code.......

Seams to me that config setting is probably referring to the skin setting found at:
ACP -> SKINS -> ELASTIC -> GLOBAL CONFIG -> PROFILES -> Recently Rated Count
Quote: How many "Recently Rated" item should be shown in the Profile sidebar? Set to 0 (zero) to disable showing Recently Rated Items.
brian
@brian
8 years ago
10,148 posts
PatriaCo:
This part of the {if} statement in the jrElastic skin should only be true if there are rated items, correct?
&& $_conf.jrElastic_rated_count > 0}
but if there are no rated items, this should be false and the rated items sidebar block should be hidden, correct?

This is a SKIN CONFIG variable, it will not contain any "counts" from your system. This variable will contain what YOU enter in the skin config for the "Recently Rated Count" option. So go to ACP -> Skins -> Elastic -> Global Config.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net
PatriaCo
PatriaCo
@the-patria-company
8 years ago
349 posts
Ok, so just to clarify. I have the Rated Count set to [12], so if there are no rated items the block will show empty, but it will not show more than 12. Correct?


--
The Patria Company - patriaco.com / quality-trades.com / a-t.life - doing Jamroom since v3
brian
@brian
8 years ago
10,148 posts
PatriaCo:
Ok, so just to clarify. I have the Rated Count set to [12] , so if there are no rated items the block will show empty, but it will not show more than 12. Correct?
Correct.


--
Brian Johnson
Founder and Lead Developer - Jamroom
https://www.jamroom.net

Tags