Low Alphabet anchor link instead of filtered result
Is it possible, using Low Alphabet, to just spit the entire list of entries, and link to them via an anchor?
I had setup a glossary, where I have the alphabet, and clicking on a letter would filter the results and only show entries for that letter.
The client now prefers to have have the entire list on the page. Clicking on a letter at top of page would jump you to that section.
possible?
Replies
Low 29 Apr 2014 09:56
Sure, that should be possible. Just use the A-Z-list tag to link to #{low_alphabet_url} and use the Entries tag with auto_limit="yes" and the {if low_alphabet_heading}id="{low_alphabet_url}"{/if} to create the anchors.
andrew001 14 Oct 2014 20:57
OK so I am back, and this time, my code from another site, which works fine, do not work on a new site:
I have my list:
{exp:low_alphabet:azlist channel="glossary"} {low_alphabet_label} {/exp:low_alphabet:azlist}
This renders out fine.
Then I have:
{exp:low_alphabet:entries channel="glossary" auto_limit="yes"}
{if low_alphabet_heading}
---
{low_alphabet_label}
---
{/if}
{title}
{glossary_description}
{/exp:low_alphabet:entries}
The entries render out fine, however, main letter will not show... and I need that to complete the link. It's like that whole if statement just doesnt work.
any idea?
Low 14 Oct 2014 20:59
Can you try and re-paste your code? GetSat strips out some. You can use http://pastie.org/ or http://pastebin.com/ for large chunks of code. Also, please share your EE and Low Alphabet versions.
andrew001 14 Oct 2014 21:00
well... it kinda got botched...
here is the alphabet nav
{exp:low_alphabet:azlist channel="glossary"} {low_alphabet_label} {/exp:low_alphabet:azlist}
Then the rest:
{exp:low_alphabet:entries channel="glossary" auto_limit="yes"}
{if low_alphabet_heading}
-hr-
-a.name="{low_alphabet_url}">-/.a-
-h.3-{low_alphabet_label}-/h.3-
-hr-
{/if}
-h3-{title}-/h3-
{glossary_description}
{/exp:low_alphabet:entries}
Again, all this renders fine, just the top level letter doest show, in my if statement, rendering the navigation useless.
andrew001 15 Oct 2014 04:15
EE v2.8.1
LA version 1.1.1
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>Untitled Document</title>
</head>
<body>
{exp:low_alphabet:azlist channel="glossary"} <a href="#{low_alphabet_url}">{low_alphabet_label}</a> {/exp:low_alphabet:azlist}
<hr>
{exp:low_alphabet:entries channel="glossary" auto_limit="yes"}
{if low_alphabet_heading}
<hr>
<a name="{low_alphabet_url}"></a>
<h3>{low_alphabet_label}</h3>
<hr>
{/if}
<h3>{title}</h3>
{glossary_description}
{/exp:low_alphabet:entries}
</body>
</html>
andrew001 15 Oct 2014 04:18
Channel: glossary
Channel Field Label : Glossay_description
glossary_description is a rich text area
Low 15 Oct 2014 06:58
I'll need to take a look myself. Please send SuperAdmin login credentials to hi at gotolow dot com if you can.
Danielle LeComte 16 Nov 2016 13:36
Having this same issue. Do you guys recall what the problem was?
My label is not displaying. Thanks!
Low 16 Nov 2016 14:13
Can you verify if the extension part of the add-on is installed and enabled?
Danielle LeComte 16 Nov 2016 14:54
Was just about to follow up - ha! It was not. For some reason the upload didn't complete. Sorry to bug ya. Thx Low!