Help: my first time with low Alphabet
Bought this plug-in today. Have been trying to get it working with only partial success.
I've used your code example largely unaltered. This is my first line:
{exp:low_alphabet:entries channel="profile" alpha_field="last" orderby="last" sort="asc"}
I get a nice alphabetically sorted list but without the without the individual alpha heading and labels which I was expecting. I don't think I understand how all the variables work.
Replies
Low 28 Mar 2011 08:38
Hey John,
I take it you've looked at the low_alphabet:entries example in the docs?
Basically what happens is, based on the alpha_field you define in the parameters, the variable {low_alphabet_field} is set. The value is a sanatized version of the alpha_field, so without punctuation etc. All values in the orderby="" parameter will be treated in the same way.
The headings and footers can be generated using the {if low_alphabet_heading} My heading here {/if} conditionals.
So what you're after would be something like:
{exp:low_alphabet:entries channel="profile" alpha_field="last"}
{if low_alphabet_heading}*Profiles with {low_alphabet_label}*{/if}
-- {last}
{/exp:low_alphabet:entries}
Let me know if this helps.
apoco 28 Mar 2011 10:04
Low Alphabet is wonderful ... the problem I had was completely down to me!!
I had looked at and followed your example in the docs. And realised this having followed your extra advice today.
I went back a few steps to the install: I had uploaded the files to the third party folder, checked Add-Ons and saw that the low_alphabet plug-in had been added. But I never thought to look elsewhere and of course there's also a module which needs installing. I've installed it now and everything works as expected. I simply wasn't looking in the right place.
Great addition to my site.
Thanks for your prompt response.
Low 28 Mar 2011 10:12
Cool, glad you got it working!
James Woodman 25 Feb 2014 20:32
Hi Low,
I am having the same issue with the of the {low_alphabet_label}, heading, url etc not parsing. I'm following the example directly from the docs but all I get is the alphabetized list of entries. I was hoping to get the entries grouped with a heading at the beginning of each letter.
I do have the extension installed. What else could I be missing?
Thanks,
Jim
{exp:low_alphabet:entries
channel="manufacturers"
alpha_ignore="the|a"
numbers="after"
group_numbers="no"
numbers_label="#"
alpha_field="title"
sort="asc"
disable="categories|member_data|pagination"
}
{if count == 1}<h2>Manufacturers</h2>{/if}
{if low_alphabet_heading}
<h3>{low_alphabet_label}</h3>
<ul>
{/if}
<li><a href="{url_title_path="products/view"}">{title}</a></li>
{if low_alphabet_footer}
</ul>
{/if}
{/exp:low_alphabet:entries}
Low 25 Feb 2014 20:50
This is a 3 year old thread. The workings of Low Alphabet has changed slightly since. Try this as an opening tag (with the alpha_filter="" param as optional):
James Woodman 25 Feb 2014 20:53
Thanks. But I didn't want to filter by a segment I just wanted to display all the entries in alpha order with a letter heading like:
A
entry
entry
entry
B
entry
entry
C
entry
etc...
Low 25 Feb 2014 20:54
Yes, that should be achieved with the above opening tag. Just leave out the alpha_filter="" param.
James Woodman 25 Feb 2014 20:56
For some reason that is not working for me. Outputs the entries but none of the labels or headings.
{exp:low_alphabet:entries
channel="manufacturers"
alpha_ignore="the|a"
numbers="after"
orderby="title"
sort="asc"
disable="categories|member_data|pagination"
}
{if count == 1}<h2>Manufacturers</h2>{/if}
{if low_alphabet_heading}
<h3>{low_alphabet_label}</h3>
<ul>
{/if}
<li><a href="{url_title_path="products/view"}">{title}</a></li>
{if low_alphabet_footer}
</ul>
{/if}
{/exp:low_alphabet:entries}
James Woodman 25 Feb 2014 21:03
EE 2.7.3
LA 1.1.0
PHP 5.4.22
Andy 26 Feb 2014 00:56
Yes I'm having this problem too. Was working fine before I upgraded to 2.7.3 now it will not recognise the following template tags within the {exp:low_alphabet:entries) loop:
{low_alphabet_heading}
{low_alphabet_label}
{low_alphabet_url}
Same setup as James ^