Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Change default template layout
 
hschillig
Jr. Member
 
Total Posts:  15
Joined:  2013-07-10
 

Ok I’ve researched a lot of pages from Google and all the answers that work are exactly what I have written down. You can see a more detailed question here:

http://stackoverflow.com/questions/17574761/magento-change-default-column-layout

That’s my question there.
I’ll cut and paste here:

Ok I’ve checked everywhere including here and everyone’s answers is exactly what I have written down so I have no idea why it’s not working. I cleared Magento’s cache besides the configuration..

This is what I have in my local.xml file:

<layout>
    <default>
        <!-- 
Remove callouts and rarely used stuff -->
        <
remove name="right.poll" />
        <
remove name="right.permanent.callout" />

        <
remove name="left.permanent.callout" />
            <!-- 
Add the local stylesheet -->

            <
reference name="root">
                <
action method="setTemplate"><template>page/1column.phtml</template></action>
            </
reference>
    </default>
</
layout>
I deleted the other css stuff I had written since my only concern is the root reference. My directories look like:

simplistic
- layout
- - local.xml
- template
- - page
--- html
---- footer.phtml
---- header.phtml
---- etc (all other layout subthings)
--- 1column.phtml

What exactly am I doing wrong? It’s still using the 2 column layout when I’m trying to make it use the 1 column..

EDIT:

For anyone curious on the page, here is the page: http://magento.neofill.com/magento/

You would think after editing local.xml in the default, that would affect all pages right? I don’t get what I’m doing wrong. I keep searching and everything is exactly the way I have it. It should be working but if you view the source code, you’ll see that it’s using the 2 column layout here:

<div class="main-container col2-right-layout">
 
Magento Community Magento Community
Magento Community
Magento Community
 
hschillig
Jr. Member
 
Total Posts:  15
Joined:  2013-07-10
 

Ok so this has answered my question:

http://www.magentocommerce.com/boards/viewthread/272251/

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top