azlist - all letters have zero entries, but that's wrong
Hi Low,
I've got a low alphabet on two different sections of a site. All is working well including filtering etc.. However in the azlist tag the {low_alphabet_entries} variable is always outputting zero '0' despite there being entries. When I click the letter with the entry all is filtered correctly, however this issue is affecting styling of the alphabet list. See this code
<li class="{if '{low_alphabet_entries}' == '0'}none{/if}"><a href="{path="{segment_1}/{segment_2}/{low_alphabet_url}"}" title="{low_alphabet_entries}">{low_alphabet_label}</a></li>
Where the {low_alphabet_entries} is in a conditional that outputs a class so that the letter is a different color if there are no entries.
I also changed the show_empty parameter to no and then no letters were displaying.
Please advise.
Replies
Low 26 Jul 2013 08:29
Hi Sean,
Can't replicate. What is your full opening tag for the AZ list? And what's the version?
Sean 26 Jul 2013 13:18
EE 2.6.1
LA 1.0.9
full azlist tag
Low 27 Jul 2013 08:51
Still cannot replicate. Your exact code works fine on my EE261/LA109 combo. Guess I'll have to take a look myself. Can you send the usual login credentials to hi at gotolow dot com?