jquery - How to load a template into a div of a phtml file in Magento -
i trying load advanced search template div in header.phtml. don't know how exactly. help me create possible.
i trying load advanced search feedback in next link.
example
follow below steps :
step 1: first of open theme , open page layout file / page.xml
.
block: theme>layout>page.xml
location : \ app \ design \ frontend \ default \ theme \ layout \ page.xml
add block under block : <block type="page/html_header" name="header" as="header"></block>
your block code : <block type="core/template" name="name" template="page/custom.phtml"/>
name unique name of block , template path of file.
now block <?php echo $this->getchildhtml('content') ?>
place want display block.
feel free inquire if have query.
jquery magento
No comments:
Post a Comment