How do I prepare fresh magento install (ver. 1.8.1) for local theme developement? - magento

Just installed a fresh copy of Magento and I would like to know what settings/configurations have to be made in order to begin theme development. I'm running php 5.4 on a mac and for coding the theme I will use SCSS.

You have to create a new theme folder and theme package folder (optional) as followig
app/design/frontend/{theme package name}/{theme folder name}/
then create two folders layout and template and work in them.
Then create the skin related folders in skin/frontend/{theme package name}/{theme folder name}/ and place all your theme related css and images here.
Note that you have to keep the theme package name same for both.
To activate this theme on the site, log-in to your admin panel, go to
system >> configurations >> Design and click the Package Tab and enter your theme package name then open the Theme tab beneath it and enter the Template, Skin and layout theme folder names, if the theme folder name is same for all of them then just enter it in the Default field and leave others empty and save the settings. Now clear the site Cache by going to system >> Cache Management, select all the options and click Submit button and reload the frontend. The new theme will be in action.

Related

Theme issues in Magento 2

I have created the new theme with folder structure as give in the document . I have setup the new theme in the admin panel also .
enter image description here
The problem is new theme is coming in the front-end but once i copy the module like search from vendor to the new theme but in the front-end still coming from the vendor .
enter image description here
How to over come this any help me in this plzz..
Like you need frontend files should come from your theme not from vendor. Then you have to do like this:
For magento-search module
Create a folder under your theme "Magento_Search".
Copy templates folder from vender/module-search/view/frontend/ and put under "Magento_Search" folder .
Now view files will comes from your theme search folder. You can do it same for layout and web also.

How can I install new theme in Magneto ?

I want to install new theme in magento and I have also followed step of this link (https://www.siteground.com/tutorials/magento/magento_themes.htm) but I am not abling to get theme in magento. Please suggest me how can I install theme in magento ?
Thanks
If you already have the pre-built theme, then in magento project folder navigate to
app/design/frontend/default
Place your theme folder here.
Now to activate your theme. Log in to your admin panel.
Navigate to
system->configuration
Click in the design tab in the left hand side
Under the "Pakage Name" put you package name i.e "default" in this case and under you theme In the "Template" put your theme name "Your_theme_name" i.e your theme folder name that you copied inside default directory.
If you are creating a new theme, just create a new folder inside default directory and follow the step as described above.
In this way you can install a new theme.
Hope this will help.
It depends how theme you want to use is distributed. If it is a package, just extract it to your root folder and you should get proper folders in skin and app/design dirs and what you need to do then is to set correct package and / or theme in backend (Configuration > Web > Design). For full package theme name would probably always be default. Although if you are only adding new theme, you should pick its name app/design/frontend/default/{theme_name} and same in skin folder (if it includes some additional css, images and / or javascript).

Magento - Changing the name of a theme

I'm trying to change the name of a theme which I have downloaded recently.
These are the procedures I did.
I have created an Interface folder named x And a theme folder named y. Under app/design/frontend/ and skin/frontend/ And I moved all contents of the downloaded theme into the theme folder I have created.
Next I have changed the Current Package Name name to x under package.
And the Default to y under themes of Configurations->Design
After saving the configurations when I refreshed the store I'm getting only blank page.
Please anyone help me to resolve this issue and setup the theme.
Hope you are doing well.
1) As of you are required to change you magento's current store to new theme. For changing the theme in magento we are having three folder in magento which are as under
1)app
2)js
3)skin
So your old theme which is there right now will have this 3 folders in it. Now for change of store to new theme all you are required to do is you have to replace this 3 folders by the theme which you want to replace.
Suppose X is theme is there right now and you want to replace it by y. Then you are required to replace app,js and sking of x theme with y.
And then you are required to make some changes in the admin pannel under
->system->configuration->design->theme
Give appropriate name of the theme which you using right now and then save it. Refresh the front end you theme will be changed.
2) Another way to change the theme or you can install the magento theme is you can use the magento connect from
->Magento Connect -> Magento Connect Manager -> Get the key of the theme which you want to install ->click on install.
Hope this solutions will be use full to you.

Magento loading base theme instead of downloaded theme

Im trying to install a theme on magento 1.9. Have copied all files into the correct places.
Under System -> Configuration -> Design -> Themes I have set templates, skin, layout and default all to the theme name.
The problem I think i am having is 'Current package name' It was originally set to 'rwd' and when it is set to this it loads the default 1.9 magento theme. However when i change this to 'default' it loads the magento base theme. If i set the package name to the name of the theme it also loads the base package.
Skin Directory Structure
Design Directory Structure
Did you check your custom design? Access: System > Design
just cross check following configuration with your configuration.
Then clear cache and check.

Changing a Magento default theme

My understanding of Magento is that you can only have 2 themes loaded at any one time. ( according to the Magento design guide)
Also, that there is two types of themes - default and non-default (i.e. default contain all possible options, non-default override a subset).
All the documentation I've read says that both default and non-default themes are set in the configuration-> section. I don't see how I can have a customised default theme (not called default) and non-default theme at the same time. Do I have to rename my theme to default in order to use non-default themes?
I had the wrong idea.... 3 themes are loaded.
According to the hierarchy, from lowest priority to highest-
default - this theme must be called default. I will be planning on using the magento default theme untouched as this theme. This cannot be currently overwriten.
your custom default theme - specified in configuration->design->theme->default
I will be using the Magento blank theme as base for developing an everyday store theme.
your custom non-default theme - specified in configuration->design->theme->(layout, templates and skin)
I will be using this to create special occasion themes, e.g. Christmas or sale, that will override only a subset of the default theme.
You can start with your own magento custom theme development and also put your name instead of using default or else, and also copy all the templates files and layout XML files and save it in your theme folder. same way repeat the things with the Skin folder also.
Default folder structure
Template and XML files >magento>> app >> design >> front-end ?? base or default >> theme-name
SKIN - CSS and JS files >magento >> skin >> front-end >> base or default >> theme name
now just copy and paste the theme files from above structure and paste it to the same place and just change the name to base or default to you favorite name.
NOw go to admin >> system >> design >> and Add custom magento theme >> here you will see the theme which you have created in folder structure, just select and save the theme and then just delete or refresh the cache and refresh your web page thata all.
Thanks
Magento Development

Resources