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, 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

Magento Forum

Config.xml problem
Jr. Member
Total Posts:  18
Joined:  2007-12-19

I am unable to fix in the problem in config.xml.

I have a config.xml file as
<?xml version="1.0"?>

The config file is placed in the path app/code/local/Mage/Sampleorder/etc.
Its not reading the sampleorder.xml file that is in “app/design/frontend/default/default/layout”.
here is the code of my sampleorder.xml
<?xml version="1.0"?>
<!-- insert tsample blocks into middle column (content) -->
<reference name="content">
<!-- create generic template block -->
<block type="core/template" name="sampleorder.tsample.generic" template="sampleorder/tsample.phtml">
<action method="setSomeValue"><value>this value is assigned from layout</value></action>

<!-- create tsample block -->
<block type="sampleorder/tsample" name="sampleorder.tsample.custom" template="sampleorder/tsample.phtml"/>
</layout> .
Let me know if there is any mistake in the code. I request you to please suggest a solution as i am unable to fix the same.

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