|
I’m having a problem with customizing the default theme, and I was wondering if anyone here can help me out a bit. Here’s what I’m trying to do:
I need to have the homepage be a special template which is like the 2columns-right template, but which has a couple of full width DIVs with content beneath the header but before the 2 columns start.
I created a new skeleton template called 2columns-right-home.phtml, which is a copy of the standard 2columns-right template. I added just the empty container divs to this with getChildHtml statements for each of the two new DIVs. This is how I’ve got it in the template:
<div id="feature-container"> <?php echo $this->getChildHtml('product-feature') ?> </div> <div id="big-product-images"> <?php echo $this->getChildHtml('BPI') ?> </div>
Now, from here, I’m getting confused about how to get the content into these divs. I tried just adding a “BPI” block to page.xml, but that did nothing. (I’ve attached what I tried in page.xml.) I’ve read the theme design guide and the intro to layout, but these leave a lot to be desired, as has been mentioned here before. Can someone help me out a bit and just give a real quick step-by-step? I don’t need anyone to hold my hand if someone could just tel me what steps I need to take.
Many thanks,
Scott
File Attachments
page.xml (File Size: 10KB - Downloads: 87)
|