1

I am writing an extension for Magento 1.9. This extension should add a link to my account navigation. It is working so far, but I have no idea where I can put my vendor_module.xml file what includes the addLink action.

This extension should be work with every Magento system and if I put the file on app/design/frontend/*/*/layout I have to decide for a design. But I do not know the name of the current design of the users.

Is there a folder where the rewrite surely takes place?

1

1 Answer 1

0

Yes, the base/default folder is the folder where you should put all your module layout files.

This folder is the last folder where Magento fallback system will look for files.

Also as it is a core Magento folder it will never get deleted by Magento upgrades.

5
  • I used vendor_module.xml. I just edited it for the question. Your solution works well for me. I tried it before, but I got an empty file at the other design folder. I had to know that Magento will just look for one file. May 9, 2016 at 11:22
  • @SimonSolutions you don't need an empty layout file with the same name in other theme folders, Magento will automatically find the one in base/default if it can't find it in the current theme. May 9, 2016 at 11:25
  • I noticed my mistake of an empty file. Thank you! May 9, 2016 at 11:27
  • @SimonSolutions no worries feel free to mark your question as answered so others will benefit from it. May 9, 2016 at 11:29
  • I had to wait 15 minutes. Sorry about that. May 9, 2016 at 11:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.