Return to Snippet

Revision: 59247
at August 27, 2012 22:19 by xaddict


Initial Code
<default translate="label" module="page">
	<label>All Pages</label>
	<block type="page/html" name="root" output="toHtml" template="page/3columns.phtml">

		<block type="page/html_head" name="head" as="head">
			<action method="addJs"><script>prototype/prototype.js</script></action>
			<action method="addJs"><script>lib/ccard.js</script></action>
			<action method="addJs"><script>prototype/validation.js</script></action>
			<action method="addJs"><script>scriptaculous/builder.js</script></action>
			<action method="addJs"><script>scriptaculous/effects.js</script></action>
			<action method="addJs"><script>scriptaculous/dragdrop.js</script></action>
			<action method="addJs"><script>scriptaculous/controls.js</script></action>
			<action method="addJs"><script>scriptaculous/slider.js</script></action>
			<action method="addJs"><script>varien/js.js</script></action>
			<action method="addJs"><script>varien/form.js</script></action>
			<action method="addJs"><script>varien/menu.js</script></action>
			<action method="addJs"><script>mage/translate.js</script></action>
			<action method="addJs"><script>mage/cookies.js</script></action>
			<block type="page/js_cookie" name="js_cookies" template="page/js/cookie.phtml"/>
			<action method="addCss"><stylesheet>css/styles.css</stylesheet></action>
			<action method="addItem"><type>skin_css</type><name>css/styles-ie.css</name><params/><if>lt IE 8</if></action>
			<action method="addCss"><stylesheet>css/widgets.css</stylesheet></action>
			<action method="addCss"><stylesheet>css/print.css</stylesheet><params>media="print"</params></action>
			<action method="addItem"><type>js</type><name>lib/ds-sleight.js</name><params/><if>lt IE 7</if></action>
			<action method="addItem"><type>skin_js</type><name>js/ie6.js</name><params/><if>lt IE 7</if></action>
		</block>

		<block type="core/text_list" name="after_body_start" as="after_body_start" translate="label">
			<label>Page Top</label>
		</block>

		<block type="page/html_notices" name="global_notices" as="global_notices" template="page/html/notices.phtml" />

		<block type="core/text_list" name="top" as="top" translate="label">
			<label>Top</label>
			<block type="page/switch" name="store_language" as="store_language" template="page/switch/languages.phtml"/>
			<block type="page/template_links" name="top.links" as="topLinks"/>
		</block>
		
		<block type="page/html_header" name="header" as="header">
			<block type="page/html_wrapper" name="top.container" as="topContainer" translate="label">
				<label>Page Header</label>
				<action method="setElementClass"><value>top-container</value></action>
			</block>
		</block>
					
		
		<block type="core/text_list" name="main" as="main" translate="label" template="page/html/main.phtml">
			<label>Main Content</label>
			
			<block type="core/text_list" name="left" as="left" translate="label" template="page/html/left.phtml">
				<label>Left Column</label>
			</block>
			
			<block type="core/text_list" name="middle" as="middle" translate="label" template="page/html/middle.phtml">
				<label>Middle Column</label>
				
				<block type="core/text_list" name="topmenu" as="topmenu" translate="label" template="page/html/topmenu.phtml">
					<label>Navigation Bar</label>
				</block>
				
				<block type="page/html_breadcrumbs" name="breadcrumbs" as="breadcrumbs"/>
				
				<block type="core/messages" name="global_messages" as="global_messages"/>
				
				<block type="core/text_list" name="content" as="content" translate="label">
					<label>Main Content Area</label>
				</block>
			</block>
			
			<block type="core/text_list" name="right" as="right" translate="label" template="page/html/right.phtml">
				<label>Right Column</label>
			</block>
		</block>
		
		
		
		<block type="core/messages" name="messages" as="messages"/>
		
		
		<block type="page/html_footer" name="footer" as="footer" template="page/html/footer.phtml">
			<block type="page/html_wrapper" name="bottom.container" as="bottomContainer" translate="label">
				<label>Footer</label>
				<action method="setElementClass"><value>bottom-container</value></action>
			</block>
			<block type="page/switch" name="store_switcher" as="store_switcher" template="page/switch/stores.phtml"/>
			<block type="page/template_links" name="footer_links" as="footer_links" template="page/template/links.phtml"/>
			<block type="core/text_list" name="before_body_end" as="before_body_end" translate="label">
				<label>Page Bottom</label>
			</block>
		</block>
		
	</block>
	<block type="core/profiler" output="toHtml" name="core_profiler"/>
</default>

Initial URL

                                

Initial Description
Please comment or see the stackoverflow question to improve this.

Initial Title
part of page.xml. not working

Initial Tags
theme, magento

Initial Language
XML