But i still don’t get it.
Youâll need to create a new block area and then insert it into the layout.
Do you mean i have to create additional file with needed structure in (my situation?) template/page , and then insert block in page.xml that would link to that file?
Modifiy two files page.xml and the template you are changing.
Page.xml will just be the âdeclarationâ of the block and the block type. See the current blocks that are there for examples.
The template will reference the block from page.xml and handle where itâs going to be displayed. Again, see the items that are there. Youâll have to handle the layout in the template.
I thought i understood what you were saying, but whatever i did it didn’t seems to be working.
... Ive created phtml file in template/page/html/box1.phtml and block in page.xml:
<block type="page/html_box1" name="box1" as="box1"/>
And got nothing.
Then i opened template/page/2columns-right.phtml and added following:
I got what i need - pic insertion under menu, but im having bad feeling about it… lol
<!-- [start] middle -->
<div id="box1" class="box1">
<img src="http://www.website.com/skin/frontend/default/my_skin2/images/header_top_container_bg.jpg" width="110" height="90"/>
</div id="box1" class="box1">