-
- DevHasMag

-
Total Posts: 18
Joined: 2007-12-19
|
Hello All,
Can anyone please help?
I have a URL like http://mydomain.com/store/sampleorder/tsample
I have created folders Block, controllers, etc in my app/code/local/Mage/Sampleorder folder.
But the tsample.phtml file created is not read.
When i execute the URL, i dont see any output.
In my etc folder(/store/app/code/local/Mage/Sampleorder/etc), there is a config file in which the code is wriiten like,
<?xml version="1.0"?>
<config>
<global>
<blocks>
<!-- declare sampleorder block group -->
<sampleorder>
<class>Mage_Sampleorder_Block</class>
</sampleorder>
</blocks>
</global>
<frontend>
<routers>
<!-- declare a router for urls starting with /sampleorder -->
<sampleorder>
<use>standard</use>
<args>
<module>Mage_Sampleorder</module>
<frontName>sampleorder</frontName>
</args>
</sampleorder>
</routers>
<layout>
<updates>
<!-- declare a file that will supply layout updates for your controllers -->
<sampleorder>
<file>sampleorder/sampleorder.xml</file>
</sampleorder>
</updates>
</layout>
</frontend>
</config>
i think my sampleorder.xml is not read.
Can anyone please help? I have been trying this and not able to get.
Regards,
DevHasMag
|