XML REFERENCE
<layout version="0.1.0">
<default translate="label" module="page">
<!-- Defining the main layout design template -->
<reference name="root">
<!-- define the default template for the theme -->
<action method="setTemplate">
<template>page/1column.phtml</template>
</action>
<!-- define the block slider -->
<block type="core/text_list" name="homeslider" as="homeslider" translate="label">
<label>Slider Block</label>
</block>
<!-- define the home subscribe section -->
<block type="core/text_list" name="homesubscribe" as="homesubscribe" translate="label">
<label>Subscribe Block</label>
</block>
<!-- define top product section -->
<block type="core/text_list" name="topproduct" as="topproduct" translate="label">
<label>Top Product Block</label>
</block>
</reference>
<reference name="head">
<!-- ########################## REMOVE DEFAULTS ########################## -->
<action method="removeItem">
<type>skin_css</type>
<name>css/bootstrap.min.css</name>
</action>
<action method="removeItem">
<type>skin_css</type>
<name>css/styles.css</name>
</action>
<action method="removeItem">
<type>skin_css</type>
<name>css/print.css</name>
</action>
<action method="removeItem">
<type>skin_css</type>
<name>css/styles-ie.css</name>
</action>
<action method="removeItem">
<type>skin_css</type>
<name>css/styles.css</name>
</action>
<action method="removeItem">
<type>skin_css</type>
<name>css/widgets.css</name>
</action>
<action method="removeItem">
<type>skin_js</type>
<name>js/ie6.js</name>
</action>
<action method="removeItem">
<type>js</type>
<name>lib/ds-sleight.js</name>
</action>
<action method="removeItem">
<type>js</type>
<name>varien/menu.js</name>
</action>
<!-- ########################## LOAD CUSTOM ########################## -->
<!-- Adding Bootstrap Css -->
<action method="addItem">
<type>skin_css</type>
<name>css/bootstrap.min.css</name>
</action>
<!-- Adding the styles.css -->
<action method="addItem">
<type>skin_css</type>
<name>css/styles.css</name>
</action>
<!-- Adding the prettyphoto.css -->
<action method="addCss">
<stylesheet>css/prettyPhoto.css</stylesheet>
</action>
<!-- Adding Javascripts -->
<action method="addItem">
<type>skin_js</type>
<name>js/jquery.min.js</name>
</action>
<action method="addItem">
<type>skin_js</type>
<name>js/bootstrap.min.js</name>
</action>
<action method="addItem">
<type>skin_js</type>
<name>js/ddaccordion.js</name>
</action>
<action method="addItem">
<type>skin_js</type>
<name>js/accordion.js</name>
</action>
<action method="addItem">
<type>skin_js</type>
<name>js/jquery.scripts.js</name>
</action>
<action method="addItem">
<type>skin_js</type>
<name>js/jquery.prettyPhoto.js</name>
</action>
<action method="addItem">
<type>skin_js</type>
<name>js/html5shiv.js</name>
<params/>
<if>lt IE 9</if>
</action>
<action method="addItem">
<type>skin_js</type>
<name>js/respond.min.js</name>
<params/>
<if>lt IE 9</if>
</action>
</reference>
<!-- ########################## HEADER ########################## -->
<reference name="header">
<block type="cms/block" name="top-product" as="top-product">
<action method="setBlockId">
<block_id>top-product</block_id>
</action>
</block>
<block type="checkout/cart_sidebar" name="top_cart" template="checkout/cart/topcart.phtml" before="-">
<action method="addItemRender">
<type>simple</type>
<block>checkout/cart_item_renderer</block>
<template>checkout/cart/sidebar/default.phtml</template>
</action>
<action method="addItemRender">
<type>grouped</type>
<block>checkout/cart_item_renderer_grouped</block>
<template>checkout/cart/sidebar/default.phtml</template>
</action>
<action method="addItemRender">
<type>configurable</type>
<block>checkout/cart_item_renderer_configurable</block>
<template>checkout/cart/sidebar/default.phtml</template>
</action>
<block type="core/text_list" name="cart_sidebar.extra_actions" as="extra_actions" translate="label" module="checkout">
<label>Shopping Cart Sidebar Extra Actions</label>
</block>
</block>
</reference>
<!-- // END Header -->
<!-- ########################## FOOTER ########################## -->
<reference name="footer">
<block type="cms/block" name="footer-ourquality" as="footer-ourquality">
<action method="setBlockId">
<block_id>footer-ourquality</block_id>
</action>
</block>
<block type="cms/block" name="footer-shop" as="footer-shop">
<action method="setBlockId">
<block_id>footer-shop</block_id>
</action>
</block>
<block type="cms/block" name="footer-cmslinks" as="footer-cmslinks">
<action method="setBlockId">
<block_id>footer-cmslinks</block_id>
</action>
</block>
<block type="cms/block" name="footer-social" as="footer-social">
<action method="setBlockId">
<block_id>footer-social</block_id>
</action>
</block>
<block type="cms/block" name="footer-getspecialdeals" as="footer-getspecialdeals">
<action method="setBlockId">
<block_id>footer-getspecialdeals</block_id>
</action>
</block>
<block type="cms/block" name="footer-menu" as="footer-menu">
<action method="setBlockId">
<block_id>footer-menu</block_id>
</action>
</block>
<!-- add the newsletter block in the footer -->
<block type="newsletter/subscribe" name="footer.newsletter" as="footer_newsletter" template="newsletter/subscribe.phtml"/>
</reference>
<!-- // END Footer -->
<!-- ########################## LEFT SIDEBAR ########################## -->
<reference name="left">
<!-- remove the default newsletter block from the sidebar, put it on reference name="footer" -->
<remove name="left.newsletter"/>
<remove name="left.permanent.callout"/>
<remove name="tags_popular"/>
<block type="catalog/navigation" before="-" name="leftNav" as="leftNav" template="catalog/navigation/leftnav.phtml"/>
</reference>
<!-- // Left Sidebar -->
<remove name="right.permanent.callout"/>
<remove name="right.poll"/>
<remove name="right.reports.product.viewed"/>
<remove name="right.reports.product.compared"/>
<!-- ########################## related ########################## -->
<catalog_product_view>
<reference name="root">
<action method="setTemplate">
<template>page/1column.phtml</template></action>
</reference>
<reference name="head">
<action method="addItem">
<type>skin_js</type>
<name>js/jquery.prettyPhoto.js</name>
</action>
<!-- Adding the prettyphoto.css -->
<action method="addCss">
<stylesheet>css/prettyPhoto.css</stylesheet>
</action>
</reference>
<reference name="product.info.additional">
<block type="catalog/product_list_related" as="related" name="catalog.product.related" after="-" template="catalog/product/list/related.phtml"/>
</reference>
</catalog_product_view>
</default>
<!-- ########################## 1 COLUMN TEMPLATE FOR CATEGORIES ########################## -->
<catalog_category_default>
<reference name="root">
<action method="setTemplate">
<template>page/1column.phtml</template>
</action>
</reference>
</catalog_category_default>
<catalog_product_view>
<reference name="root">
<action method="setTemplate">
<template>page/1column.phtml</template>
</action>
</reference>
</catalog_product_view>
<!-- ########################## USE CUSTOM LOGIN REGISTER TEMPLATE ########################## -->
<customer_account_login>
<reference name="content">
<block type="customer/form_register" name="customer_form_register" template="customer/form/register.phtml" before="customer_form_login"/>
</reference>
</customer_account_login>
</layout>