Magento 1.7 overwriting admin phtml file? - magento

I am trying to overwrite the app\design\adminhtml\default\default\template\page\head.phtml template file and so I created a copy of that in my theme folder. That folder is *app\design\adminhtml\default\my_theme\template\page\head.phtml*.
This is not working, but why? Is there no such overwriting mechanism in the admin area?
Thanks!

Yes, it's on admin area. go to admin panel -> System -> Configuration -> General Tab -> Design -> on Theme Field, fill your theme name on THEME, SKIN, LAYOUT and DESIGN.
Don't forget to clear var/cache/ and disabling all Caches in System -> Cache Management*

You created the file, but have you told Magento to use your adminhtml theme?
Magento has documentation for doing this here:
http://www.magentocommerce.com/wiki/4_-_themes_and_template_customization/admin/using_custom_admin_theme_templates

Related

Modifying Drupal 8 administration theme

I've recently added the faqfield module - but when reviewing this in the content editor the fields are spewing over the container.
I fixed the issue by adjusting the textarea.form-textarea css to min-width:100% in chrome console -- but I am not sure how to apply this fix to the site itself. Is there a way of adding into the db level an override css for the admin theme? Or do I create an overriding change in the theme folder - and if so how?
before quick fix
after quick fix
You can create a new custom admin theme and have it use the contributed admin theme you're using as a base.
You can then just override stuff as needed:
In your my_theme.info.yml in the top section add:
base theme: contrib_admin_theme_name
You then use your own custom theme as the admin theme, but it well use everything from the contributed admin theme, except for the stuff you overwrite.
The best way is to go to Drupal.org and submit it as a patch (you'd be doing it in the Drupal core issue queue since Seven is a core theme). If you don't want to do that then you'd create a subtheme based on the Seven theme, and add your CSS in there. You don't wan to update the theme directly as anytime you update the Drupal core it'll overwrite your changes.

How to activate the custom theme in magento 2.1?

I have recently installed magento Community edition of 2.1 version just want to integrate the custom theme.I made vendor and theme as like magento 2.0 . And also check the theme is showing in magento admin panel in content setting but when i going to activate it in path
store -> configuration -> design there is no options for "Design Theme" where i can activate it. Help would be greatly appreciated.
You can activate the theme in Content > Design > Configuration in the admin.
The files that your theme must contain are:
registration.php
theme.xml
dev/tools/grunt/configs/themes.js

Opencart 2.2 - new custome theme not available in the admin panel

I just followed this tutorial to create a custom new theme for my localhost opencart 2.2 installation. I followed the following instructions from the tutorial :
Let's create a new directory, named mycustomtheme underneath catalog/view/theme. ..... Furthermore, you need to create three more directories within the mycustomtheme directory: image, stylesheet, and templates.
Then I navigated to Admin->System->Settings and clicked on the 'Edit' button of the default store and in the subsequent page expected to get the custom theme in the 'Theme' dropdown but only the 'Default Store theme ' was there.
The tutorial tells that I am supposed to get a 'Template' dropdown there and I found a 'Theme' dropdown instead due to version change I think.
But how to activate the new theme then ?
To change a theme on Opencart 2.2.0.0, follow below setting:
Login to admin panel.
Go to Extension > Themes > Edit
Select your theme for Theme Directory option
Click on save to activate your new theme.
In opencart 2.2 you need to go into the Admin->Extensions->Themes
I know it's bit late to answer but it can be helpful to others.
In OpenCart 2.3.0.2 creating a custom theme is little complex , i have already answered it here , you can check this link
Why is OpenCart 2.3 custom theme not showing?
or can find this blog
http://undefined.gr/site/2016/10/09/custom-opencart-2-3-0-2-theme/
In Open Cart version:2.2
"Admin->Extensions->themes" You can Select your theme.Enable That theme.
After that go to "Extensions->Modules->Theme Control panel",choose your theme and click on insert data,then all data added successfully.

Magento new theme with default data

I have installed Magento CE 1.9.1.0 with sample data. I have copied the default theme of interface rwd and rename it as test theme. Update the package and theme from the admin panel and Save the same. But when refresh the front panel from browser no data will be displayed including images etc. Please help me to know what are the tricks behind the same.
Why data is lost while new theme has been activated?
How to see the sample data?
What are the files am I need to configure more?
you want to Customize RWD theme.in your rwd package you can make a new theme like
design/frontend/rwd/yourtheme and start copying the files which you want to customize in yourtheme.
copy files from design/frontend/rwd/default to design/frontend/rwd/yourtheme and start customization.
and also check this link too
If my understanding is right, you already create your own theme package and set it in the System > Configuration > Design (and correctly followed the magento fallback system) Link
Next, if your working on locally, make sure to set the cache as disabled. Navigate to System > Cache management and select all, refresh and then disabled it.

how to install a downloaded theme to magento?

I am using magento 1.8. I downloaded a theme,
http://www.templatemela.com/new-style-magento-theme.html
Now I have the theme zip file. I searched over the internet but I couldn’t find any solution. I replaced the folders app, js, skin of magento root folder with the folders from theme folder. After that to activate the theme I open the admn dashboard I got an error,
The page isn't redirecting properly
Which is the correct way to install a new theme to magento?
Any one provide the step by step installation.
After you install the theme, go to System -> Configuration -> Design.
For the Themes section, set everything to modern, since that’s the name of the theme.
The theme will now be applied.
If you’re running the default install, you can make the front page look how the demo store on here does. For that you’ll need to update the CMS blocks, so go to CMS -> Manage Pages. Click on the Home Page.
You’ll be in the General Information section. Under Content, put the following:
{{block type="core/template" template="sample/home.phtml"}}
You can either comment out what’s already there, or just remove it completely.
Then you need to go to Custom Design and set the Layout to 1 column.
That’s it! Hope It will help you.
there are 3 steps to install a downloaded Magento theme. I followed this tutorial: http://magentoexplorer.com/how-to-manually-install-a-downloaded-magento-theme and successfully to install ultimo theme downloaded from Themeforest
Step 1: Extract/unzip template file
Step 2: Upload theme to Magento root folder
Step 3: Activate your new Magento theme
see the screenshot
Hope this helps

Resources