Overview -------- The templates contained in this file show you examples of how the {searches} template function can be used to list the search terms that your users have entered. There are a total of 3 templates included in this file, each showing a different way to list the search terms: Template #1 - Display the most entered search terms in a tag cloud Template #2 - Display the most entered search terms in a list Template #3 - Display the most recent search terms in a list Template Code #1 ---------------- {searches var=$searches amount=30 order=searches DESC alphabetize=true}
{foreach var=$search from=$searches} {$search.term|htmlspecialchars}    {/foreach}
Template Code #2 ---------------- {searches var=$searches amount=10 order=searches DESC} Top 10 Searches:
    {foreach var=$search from=$searches}
  1. {$search.term|htmlspecialchars}
    {/foreach}
Template Code #3 ---------------- {searches var=$searches amount=10 order=date_last_search DESC} 10 Most Recent Searches:
    {foreach var=$search from=$searches}
  1. {$search.term|htmlspecialchars}
    {/foreach}