sorry again for my bad english...

i'd like to create a A-Z list for my entries (recipes) and show them if i click on the related letter. This code below showing entries by first letter and it's ok but how can i show also empty letters as well?

<?php $temp = ''; ?>
    {exp:channel:entries channel="recipes" orderby="title" sort="asc"}
    $letter = strtoupper(substr('{title}', 0, 1));
    if ($temp != $letter) {
        echo "<button data-role='letter-loader' class='button-big button-overlay'>" . $letter . "</button>";
        $temp = $letter;

i need something like this, where inactive letters are showing as well: enter image description here

Thank you all

2 Answers 2


Low Alphabet is great and you will get excactly wat you want


Low Alphabet was created for this exact purpose.

  • I can confirm that it works great and is a treat to use. Go check it out! Feb 5, 2014 at 2:26

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.