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

Support archive

azlist "letters" to linking

Margie Montserrat 24 Mar 2014 17:34 question, complete

I have azlist shows up fine now. Not sure how to get a letter i.e. "C" to show me only member_lastnames that begin with the letter "C"

this is link to my member directory
http://test.metrohort.org/?/member_di...

Replies

  1. Low 24 Mar 2014 17:52

    You should use the Entries tag and point the alpha_filter="" param to the letter in the URI.

  2. Margie Montserrat 24 Mar 2014 19:37

    This is what I have so far: (I don't know what you mean by entries tags, i have that i think?

    {exp:low_alphabet:azlist channel="zoo_visitor" transcribe="disable" dynamic="no" paginate="both" status="Members-id5" show_empty="no" limit="20" alpha_field="member_lastname" group_numbers="yes" search:membership_type="Individual Membership ($40)"
    orderby="member_lastname" alpha_ignore="the|a" numbers="no" status="open" show_empty="yes"}
    {if count == 1}

    {/if}

    {/exp:low_alphabet:azlist}

    {embed="search/member_search"}

    {exp:low_alphabet:entries channel="zoo_visitor" dynamic="no" status="Members-id5" alpha_field="last" alpha_filter="{member_lastname}" orderby="member_lastname" limit="24" parse="inward" paginate="top"}

  3. Low 25 Mar 2014 07:32

    Couple of things here. First, the azlist-tag:

    - The transcribe="", dynamic="", paginate="", limit="", orderby="" and alpha_ignore="" parameters do nothing on the tag. You can remove them.
    - The show_empty="" and status="" parameters appear twice. Pick one for each.

    Then the entries-tag:

    - You can remove the alpha_field="" parameter. That's only relevant if you define multiple fields in the orderby="" parameter, which you don't.
    - The alpha_filter="" parameter should point to the letter you want to filter by. You're putting that in the URI using the azlist-tag. So try using alpha_filter="{segment_3}".

  4. Margie Montserrat 25 Mar 2014 11:31

    Wow, great, thank you so much, that helped a ton!.

    I have "limit="2", just to test.

    If I click on "C" I should only get 'Carson, Sharon' name, but I get two names, and if I click on "Z" i still get both two names, did i leave something out?

  5. Low 25 Mar 2014 11:41

    Looks to me you haven't added alpha_filter="{segment_3}" to your low_alphabet:entries tag.

  6. Margie Montserrat 25 Mar 2014 11:53

    I got it to work I had "TWO" exp:entries, took out the original one I had

  7. Margie Montserrat 25 Mar 2014 11:53

    THANK YOU!