Snippets with the tag: html

Call Static Block

Description

Call Static Block

Code

$this->getLayout()->createBlock('cms/block')->setBlockId('block-name')->toHtml();

Show image html

Description

Show image using current skin path (PHTML)

Code

<img src="<?= $this->getSkinUrl('images/logo.png'); ?>" alt="logo" />

Show CMS block in html

Description

Show CMS block in html

Code

<?= $this->getLayout()->createBlock('cms/block')->setBlockId('block_identifier')->toHtml(); ?>