Magento How-to: Custom Error Page Design

A question was asked in the comments of a previous post about creating a custom design for the error “report” page of Magento. Another reader, from PILLWAX Industrial Solutions Consulting gave us this solution.

Create the layout
First we need to create a layout file. This is called design.xml, is placed in the /report directory and has the following content.

<?xml version=”1.0″ encoding=”UTF-8″?>
<design>
    <template>error.phtml</template>
</design>

Create the template
The current report template is held in /report/skin/default/index.phtml. Let’s make a copy of that index.phtml and call it error.phtml. We can then make all of the necessary improvements to the the template in error.phtml.

We’re done!

Posted by Nick.

About Nick: As embarrassing as it may be, he gets irrationally excited about new projects and technologies. Refuses to wear shoes in the office. Technical Director at Meanbee.

View the original version of this post.

Leave a Reply

  • You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Tweets from @meanbee

Contact Meanbee

Send us your message