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

Support archive

Low Alphabet and EE 2.7.3

Adam Interact 20 May 2015 20:23 problem, complete

 
A PHP Error was encountered
Severity: Notice
Message: Undefined index: field_id_27
Filename: low_alphabet/pi.low_alphabet.php
Line Number: 836
A PHP Error was encountered

Severity: Notice
Message: Undefined index: field_id_27
Filename: low_alphabet/pi.low_alphabet.php
Line Number: 836
A PHP Error was encountered

Severity: Warning
Message: Cannot modify header information - headers already sent by (output started at /public_html/system/codeigniter/system/core/Exceptions.php:170)
Filename: core/Common.php
Line Number: 408


for the code:


{exp:low_alphabet:entries channel="doctors" alpha_field="doctor_short_name" alpha_groups="a-n"}
{title}
{/exp:low_alphabet:entries}


When I use regular entries tag it works fine. Any clue what is going on?

Thanks,
Adam

Replies

  1. Adam Interact 20 May 2015 21:14

    Also I have two tabs - first should to display doctors names starting from A-N and second one names starting from O-Z


    <div class="tab-pane active" id="providers1">
    {exp:low_alphabet:entries channel="doctors" alpha_field="doctor_short_name" alpha_filter="a-n"}
    {title}
    {/exp:low_alphabet:entries}
    </div>
    <div class="tab-pane" id="providers2">
    {exp:low_alphabet:entries channel="doctors" alpha_field="doctor_short_name" alpha_filter="o-z"}
    {title}
    {/exp:low_alphabet:entries}
    </div>


    but somehow both tabs are displaying same entries not triggering Low Alphabet filter.

  2. Low 20 May 2015 21:49

    Can you try using the orderby parameter rather than the alpha_field param, so:

    {exp:low_alphabet:entries channel="doctors" orderby="doctor_short_name" alpha_groups="a-n"}

  3. Low 20 May 2015 21:52

    Also, for the 2 tabs, try using both the alpha_groups="" param and alpha_filter="" param. The filter should be part of the groups.

  4. Adam Interact 21 May 2015 13:58

    I have switched code to


    <div class="tab-pane active" id="providers1">
    {exp:low_alphabet:entries channel="doctors" alpha_field="doctor_short_name" alpha_groups="A-N" alpha_filter="A-N"}
    {photos limit="1"}
    <img src="{photos:image_thumbnail}" alt="{photos:image_title}" class="img-responsive">
    {/photos}<br>
    <a href="{site_url}index.php/meet_us/{url_title}">{title}</a>
    {/exp:low_alphabet:entries}
    </div>
    <div class="tab-pane" id="providers2">
    {exp:low_alphabet:entries channel="doctors" alpha_field="doctor_short_name" alpha_groups="O-Z" alpha_filter="O-Z"}
    <a href="{site_url}index.php/meet_us/{url_title}">{title}</a>
    {/exp:low_alphabet:entries}
    </div>


    but it looks like filters are not triggering - both tabs showing same last names.

    I think that Low Alphabet extension is not kick in because all those errors mentioned in a first post above.

    Thoughts?

    Thanks

  5. Adam Interact 21 May 2015 14:06

    OK - I think I have got is solved. It looks like CE Cache was causing issues when Low Alphabet was used in a template.

  6. Low 21 May 2015 14:36

    Glad you got is solved!