I was searching for the web, but I only found a smarty plugin function for displaying the Alphabet from A to Z.

There are cases, when you couldn't add a new plugin, so how could you display it otherwise?

有帮助吗?

解决方案

Its easy with pure smarty foreach.

    {foreach item=i from='A'|@range:'Z'}
        {$i}
    {/foreach}
许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top