| 5 | | Eine schöne Möglichkeit ohne die {php} Tags liefert Smarty selbst: |
| 6 | | |
| 7 | | Für Content-Seiten: |
| 8 | | {{{ |
| 9 | | <a href="{'shop_content.php'|xtc_href_link:'coID=123'}">Content-Link-Name</a> |
| 10 | | }}} |
| 11 | | bzw.: |
| 12 | | {{{ |
| 13 | | <a href="{$smarty.const.FILENAME_CONTENT|xtc_href_link:'coID=123'}">Content-Link-Name</a> |
| 14 | | }}} |
| 15 | | Für Kategorie-Seiten: |
| 16 | | {{{ |
| 17 | | <a href="{'index.php'|xtc_href_link:'cPath=123'}">Kategorie-Link-Name</a> |
| 18 | | }}} |
| 19 | | bzw.: |
| 20 | | {{{ |
| 21 | | <a href="{$smarty.const.FILENAME_DEFAULT|xtc_href_link:'cPath=123'}">Kategorie-Link-Name</a> |
| 22 | | }}} |
| 23 | | Für Produkt-Seiten: |
| 24 | | {{{ |
| 25 | | <a href="{'product_info.php'|xtc_href_link:'products_id=123'}">Produkt-Link-Name</a> |
| 26 | | }}} |
| 27 | | bzw.: |
| 28 | | {{{ |
| 29 | | <a href="{$smarty.const.FILENAME_PRODUCT_INFO|xtc_href_link:'products_id=123'}">Produkt-Link-Name</a> |
| 30 | | }}} |
| | 5 | > Eine schöne Möglichkeit ohne die {php} Tags liefert Smarty selbst: |
| | 6 | > |
| | 7 | > Für Content-Seiten: |
| | 8 | > {{{ |
| | 9 | > <a href="{'shop_content.php'|xtc_href_link:'coID=123'}">Content-Link-Name</a> |
| | 10 | > }}} |
| | 11 | > bzw.: |
| | 12 | > {{{ |
| | 13 | > <a href="{$smarty.const.FILENAME_CONTENT|xtc_href_link:'coID=123'}">Content-Link-Name</a> |
| | 14 | > }}} |
| | 15 | > Für Kategorie-Seiten: |
| | 16 | > {{{ |
| | 17 | > <a href="{'index.php'|xtc_href_link:'cPath=123'}">Kategorie-Link-Name</a> |
| | 18 | > }}} |
| | 19 | > bzw.: |
| | 20 | > {{{ |
| | 21 | > <a href="{$smarty.const.FILENAME_DEFAULT|xtc_href_link:'cPath=123'}">Kategorie-Link-Name</a> |
| | 22 | > }}} |
| | 23 | > Für Produkt-Seiten: |
| | 24 | > {{{ |
| | 25 | > <a href="{'product_info.php'|xtc_href_link:'products_id=123'}">Produkt-Link-Name</a> |
| | 26 | > }}} |
| | 27 | > bzw.: |
| | 28 | > {{{ |
| | 29 | > <a href="{$smarty.const.FILENAME_PRODUCT_INFO|xtc_href_link:'products_id=123'}">Produkt-Link-Name</a> |
| | 30 | > }}} |