Location: PHPKode > scripts > XMap > xmap/smarty-template.subelement.tpl

  * Readme
  * In this example I assigned a value that will be used to tell what map id will be used.
  global $smarty;

{xmap file="/projects/smarty/templates/sitemap.xml" assign="sitemap" rule="here" id=$id}

        <meta name="description" content="{$sitemap[$id].description}">
        <meta name="keywords"    content="{$sitemap[$id].keywords}">

<i>This title below was generated by sitemap.xml file:</i><br>

You're at <a href="{$sitemap[$id].url}">{$sitemap[$id].url}</a><br>
Here we can download the menu.
The (menu).tpl file should be open here is: {$sitemap[$id].menu}
Return current item: XMap