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

How to change the template layout for module
 
Rashid Tahir
Jr. Member
 
Total Posts:  6
Joined:  2010-05-14
 

Hi to all,

I have created a custom module with the help of someone posting.Now when i try to access that module it show in three column layout.I want to show in two column layout with right sidebar.

I have config.xml

<?xml version="1.0"?>
 
<config>
    <
modules>
        <
ActiveCodeline_SimpleContact>
            <
version>0.1.0</version>
        </
ActiveCodeline_SimpleContact>
    </
modules>   
 
    <
frontend>
        <
routers>
            <
JustSomeFreeRouterNameHereNo1>
                <use>
standard</use>
                <
args>
                    <
module>ActiveCodeline_SimpleContact</module>
                    <
frontName>activecodeline-simplecontact</frontName>
                </
args>
             
            </
JustSomeFreeRouterNameHereNo1>
            <
updates>
              <
test><file>activecodeline.xml</file></test>
          </
updates>

        </
routers>
        
    </
frontend>    
</
config>

How i can show this module in 2 column layout with right sidebar.

thanks in advance

 
Magento Community Magento Community
Magento Community
Magento Community
 
RohanP
Jr. Member
 
Avatar
Total Posts:  28
Joined:  2011-05-30
Pune, India
 

Hi

I know this post is out of time now

but If any 1 trying for this then try to add the layout.xml (activecodeline.xml as in above config) file in your module so that will help to change the layout to you
you need to look at into action tab

some thing like this

<action method="setTemplate"><template>page/2columns-right.phtml</template></action>

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