5 column footer

Posted on 2012-09-16
Medium Priority
Last Modified: 2012-09-16
Hi guys,

I am currently developing a custom theme for my Magnto Store and would like to know how I could go about integrating elements from a paid theme into my custom magneto theme.

In particular is a 5 column footer that I would like to use but not sure how to go about recreating it in my custom theme.

Does anyone know if it possible and how I might set about doing this?

Please let me know, as always your thoughts and suggestions are welcomed...
Question by:rafique12
  • 2
LVL 45

Expert Comment

by:Chris Stanyon
ID: 38403593
It really depends on what you want in your footer and how you want to manage it.

The simplest method would be to create a template in your template folder, and then render it by adding a block in your local.xml file. You then style the HTML using CSS.

Let us know more about what you're after, and we can probably offer some specific solutions.

Author Comment

ID: 38403598
Thankyou, I have purchased this theme but will not be using it for my magento store.
: http://www.venustheme.com/demo/?theme=ves_store

I would like to use the footer and the product grid as it looks much nicer in terms of layout compared to what I have at the moment...

Any ideas?
LVL 45

Accepted Solution

Chris Stanyon earned 2000 total points
ID: 38403623
OK. With Magento there are a few different ways of achieving this. By default, Magento creates a block called footer and then renders it to your page using the footer.phtml template with the call - $this->getChildHtml('footer'). Inside the footer.phtml you will have a call to getChildHtml() which will in turn render all the child blocks of footer.

You add child blocks to this footer block by creating your own new layout blocks, preferably in the local.xml. In local.xml, under the default handle, you'll need to add something like the following:

<reference name="footer">
    <!-- create a block that will load the siteDesign.phtml tempalte (static html) -->
    <block type="core/template" name="site.design" as="siteDesign" template="page/siteDesign.phtml" translate="label">
        <label>Site Design</label>
        <action method="setElementClass"><value>site-design</value></action>

    <!-- create a block for the newsletter, using the subscribe.phtml template -->
    <block type="newsletter/subscribe" name="footer.newsletter" template="newsletter/subscribe.phtml"/>
    <!-- create a block to include one of your Static blocks, which you can edit in the backend -->
    <block type="cms/block" name="cms_footer_address" after="footer_links">
        <action method="setBlockId"><block_id>footer_address</block_id></action>

Open in new window

That code will create three new block in your footer and render them to your webpage. It's up to you to then style them using CSS.

Featured Post

Hire Technology Freelancers with Gigs

Work with freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely, and get projects done right.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When it comes to write a Context Sensitive Help (an online help that is obtained from a specific point in state of software to provide help with that state) ,  first we need to make the file that contains all topics, which are given exclusive IDs. …
3 proven steps to speed up Magento powered sites. The article focus is on optimizing time to first byte (TTFB), full page caching and configuring server for optimal performance.
In this tutorial viewers will learn how to embed videos in a webpage using HTML5. Ensure your DOCTYPE declaration is set to HTML5: "<!DOCTYPE html>": Use the <video> tag to insert a video. Define the src as the URL of your video; this is similar to …
The viewer will the learn the benefit of plain text editors and code an HTML5 based template for use in further tutorials.
Suggested Courses
Course of the Month17 days, 4 hours left to enroll

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question