getLayout()->createBlock('cms/block')->setBlockId('full_brochure')->toHtml();; $doc = new DOMDocument(); @$doc->loadHTML($page_data); $tags = $doc->getElementsByTagName('a'); foreach ($tags as $tag) { echo 'getAttribute('href')) . '">'.strip_tags($tag->nodeValue).'
'; break; } ?>
Magento Static Block as Managable DOM
by
Tags: