NAVIGATION
This shows you the differences between two versions of the page.
|
deutsch:module:shop:erweiterungen [2011/06/18 09:30] Knut Heermann (flip-flop) |
deutsch:module:shop:erweiterungen [2018/06/03 18:09] (current) |
||
|---|---|---|---|
| Line 23: | Line 23: | ||
| ===== PHP-Script ===== | ===== PHP-Script ===== | ||
| + | |||
| + | **Datei:** /include/inc_module/mod_shop/custom_fe_render.php | ||
| <code php |h custom_fe_render.php |h> | <code php |h custom_fe_render.php |h> | ||
| Line 42: | Line 44: | ||
| if(strpos($content["all"],'<!--SHOP-BEGIN-->') !== false) { | if(strpos($content["all"],'<!--SHOP-BEGIN-->') !== false) { | ||
| preg_match('/\<!--SHOP-BEGIN--\>(.*?)\<!--SHOP-END--\>/is', $content['all'], $my_arr); | preg_match('/\<!--SHOP-BEGIN--\>(.*?)\<!--SHOP-END--\>/is', $content['all'], $my_arr); | ||
| - | // dumpVar($string); | ||
| if (!empty($my_arr[1])) { | if (!empty($my_arr[1])) { | ||
| Line 87: | Line 88: | ||
| ?> | ?> | ||
| </code> | </code> | ||
| + | |||
| + | \\ | ||
| + | Im o.g. Beispiel werden die TAGs | ||
| + | * {SHOW_CONTENT:...} | ||
| + | * [PHP]....[/PHP] | ||
| + | * Alle einfachen Ersetzer | ||
| + | * mailto: mit makeEmailSpamSave //(Voraussetzung: Das Script existiert in template/inc_script/frontend_render/*)// | ||
| + | * %%[img=...../]%% und %%[download=...../]%% | ||
| + | berücksichtigt. | ||
| \\ | \\ | ||