Inhaltsverzeichnis Smarty Smarty Funktionen {nav_url}

{nav_url}

Erzeugt eine sprechende EGOTEC Url innerhalb eines Smarty {nav}-Blocks.

Beispiel

QuelltextSmarty Code:
  1. {nav id=$site->rootId item="nav1" query.fields='id,name' param.has_children=1}
  2.     <li>
  3.         <a href="{nav_url}">{$nav1->field.name}</a>
  4.     {/if}
  5. {/nav}

{nav_url} kann nur innerhalb eines {nav}{/nav} Blocks verwendet werden.