Try the Demo

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:  23
Joined:  2011-05-31
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>

 Signature 

Rohan Patil

E-mail :

| Magento Developer | php Developer |

http://magento-rohan.blogspot.in/

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