Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Need to add extra blocks to a skeleton template - need help :)
 
Brightwork
Jr. Member
 
Total Posts:  12
Joined:  2008-03-18
 

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)
 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
52294 users|454 users currently online|105616 forum posts