From today I will start a series of Magento Certified Developer exam preparation, which completely follow the Certification Study Guide. So stay with me 🙂 . I randomly pick a topic of Magento Rendering process, This is interesting to me. So start now.
Topic : 3- Rendering
From this topic approximately 7% of question available in exam.
Themes in Magento
package: base(by default)/default(by default)/custom_package
theme_name: default/ custom_theme
So when you creating a new theme,it’s really good to create new package with new theme. Don’t change base/core file.. It’s really horrible for future update.
Register Custom Theme
Two ways you can register custom theme. That is
1. If you want your theme to be used ‘always’ as your store theme, you may tell Magento to use it from System => Configuration => Design
2. Another way to register theme form going System => Design, available this theme for all time or for certain period of time.
What is the difference between package and theme
Package : A design package is a collection of related themes.
Theme : A theme is a collection of template,layout file and js,css,images that’s create the visual experience of your store.
Theme must have one package and package has many theme with default one.
What happens if the requested file is missed in your theme/package
If a particular file is missed in a theme, there is are some fallback themes and packages where Magento will try to find it.
1. First location in the fallback chain is the default theme of the current package.
2. Second location is the base package default theme which exists in a stock Magento install.
You can also define a third point in the middle of these by defining a custom default theme (with a different name than ‘default’) in your admin panel.
This enough for today. Next article I will discuss vastly. Good luck and Thank you!