With the inclusion of the base package, creating a new design package and default theme has never been easier. You can create a new theme by including just the files that need to be different from the base. One rule you must always remember to follow is to make certain that you preserve the subdirectory structural conventions of Magento. A good starting point when creating a custom design package and theme is to create an empty “skeleton” reflecting all of the main templating and theming directories used by Magento so that you can easily save your files to the correct locations. When you are done, if any of these directories remains empty and were unneeded, you can delete them then if desired.
CREA TI NG A NEW P ACKAGE AND THEME( S)
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 design package and to create your custom theme inside of there.
Inside of app/design and skin, create a new design package directory and in each create the templating and skinning directories required by Magento as shown below.
Không có nhận xét nào:
Đăng nhận xét