Revision: 45417
Updated Code
at June 20, 2011 21:57 by nico65
Updated Code
// make file: /app/design/frontend/YOUR-THEME/YOUR-TEMPLATE/template/catalog/snippets/test-snippet.phtml <?php echo test ?> // call the above file in another phtml: <?php echo $this->getLayout()->createBlock('catalog/snippets_test-snippet')->setTemplate('catalog/snippets/test-snippet.phtml')->toHtml(); ?>
Revision: 45416
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at April 29, 2011 20:00 by nico65
Initial Code
// make file: /app/design/frontend/YOUR-THEME/YOUR-TEMPLATE/template/catalog/snippets/test-snippet.phtml <?php echo test ?>
Initial URL
Initial Description
Call the snippet above in youre Code via: {{block type="core/template" name="test-snippet" template="catalog/snippets/test-snippet.phtml"}}
Initial Title
easy way to call php in static blocks or CMS
Initial Tags
Initial Language
PHP