All Low add-ons are now owned by EEHarbor. Read the blog post.

Support archive

Low Alphabet class highlight

dguy 12 Dec 2012 18:28 question, complete

Hello, I'm trying to highlight the selected letter in an azlist but not getting any results. Any help would be appreciated. Below is the code:

 
{exp:low_alphabet:azlist channel="guides" alpha_field="title" alpha_ignore="the|a" numbers="after" group_numbers="yes" numbers_label="#"}

{if low_alphabet_label == "{segment_3}"} class="active"{/if}[a href="{path="guides/entry/{low_alphabet_url}"}" title="Guides: {low_alphabet_entries}"]{low_alphabet_label}[/a]
{/exp:low_alphabet:azlist}



And the url would be something like: /guides/entry/a

Replies

  1. Low 12 Dec 2012 18:32

    Try this as conditional:

    {if segment_3 == low_alphabet_url}{/if}

  2. dguy 12 Dec 2012 18:51

    Perfect, thank you so much!