There are multiple way to show content in popup.
- You can used Jquery Ajax or Prototype script to fetch the content of
that static file and display content in popup.
- Put that static content in either CMS Block or CMS page and called
that block direct in popup.
For static block use this code :
echo $this->getLayout()->createBlock('cms/block')->setBlockId('block_identifier')->toHtml();
For CMS page use this code :
$page = Mage::getModel('cms/page');
$page->setStoreId(Mage::app()->getStore()->getId());
$page->load('CMS-IDENTIFIER-HERE','identifier'); //EDIT IN THIS LINE
$helper = Mage::helper('cms');
$processor = $helper->getPageTemplateProcessor();
echo $html = $processor->filter($page->getContent());
- Put that static content in new .phtml file and call that new file
using this code.
echo $this->getLayout()->createBlock('core/template')->setTemplate('folder/myphtml.phtml')->toHtml();
Choose method according to your requirement.
/public/help/sizes.html