Wednesday 30 March 2016

Override Layout Core Files in Magento


images.jpeg

Sometimes we are required to do some changes in our core phtml files. Its a good habit of every Magento programmer to override the core file instead of the making change in the core file.
To do so overriding the core file can be done as :
Step 1
Under your local folder, create a new folder in the path  /app/local/Over/Ride. In that folder make a file config.xml in etc folder with the below code :
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <config>
  3.   <modules>
  4.       <Over_Ride>
  5.           <version>0.0.1</version>
  6.       </Over_Ride>
  7.   </modules>
  8.   <frontend>
  9.       <layout>
Read full Blog about Override Layout Core Files in Magento at Findnerd.

Also visit Findnerd for its various Replenishing Features such as Project Management, Session Tracker tool, Find Projects etc.

No comments:

Post a Comment