Magento theme development base vs default

basedefaultmagentothemes

I'm using Magento 1.6. I've created my own theme (mytheme) under base.

So my file structure is app/design/frontend/base/mytheme

I could also develop my theme under app/design/frontend/default/mytheme

Which is best practice? And what are the implications of using base/mytheme rather than default/mytheme?

Cheers,
Eddie

Best Answer

I do disagree with the solution of Mr Storm.

ref: http://www.magentocommerce.com/knowledge-base/entry/magentos-theme-hierarchy

Those documents recommend You avoid to use the package default (as the base package too)

You have to creating Your own package 'mytheme' and to define a theme 'default'

ref: http://info.magento.com/rs/magentocommerce/images/MagentoDesignGuide.pdf

"Please ignore legacy Magento instructions and tutorials that instruct you to create your custom theme inside of the default design package, or to edit files in the default/default directory directly.

Rather, the method that affords the best upgrade path for your theme and the most protection from accidental changes is to create a new designpackage and to create your custom theme inside of there."

So the correct answer is

app/design/frontend/your-package/default

Do NOT use:

app/design/frondend/default/your-theme

Related Topic