My Custom theme not applied in magento?
-
16-10-2019 - |
Question
I am new to magento, I have created custom theme(test) and I copied the all (layout,template and skin) default source code paste it my theme. And I have selected the admin panel my theme which is Test, but it's not applying.
can any one tell me where I went wrong?
see below images which is I have created and selected themes.
thanks in advance.
Solution
The folder in app/local
has nothing to do with your theme.
Your template & layout files need to be placed in app/design/frontend/test/default/template/
and app/design/frontend/test/default/layout/
.
Your js, css and images need to be placed in skin/frontend/test/default/
.
After having these set up you need to set in System->configuration->design
the Current package name
to test
(lowercase letter).
Save and clear the cache.
If you don't want to use default
as the theme folder (but it's better if you do) you can change the folders above to
app/design/frontend/test/{theme_name}/template/
app/design/frontend/test/{theme_name}/layout/
skin/frontend/test/{theme_name}/
.
if you do this then you have to set in System->Configuration->Design->Themes
the field Default
to {theme_name}
. (Don't use curly brackets. They are there just as placeholders).
Read this for more info