I removed the ‘We-re available 24/7. Call us now.’ image from my website which is part of the magento default ‘moderm’ theme. I did this by removing the following line of code:
<img src="getSkinUrl(‘images/media/footer_callout.png’);?>” class=”footer-callout” alt=”” />
LOCATION OF CODE:
My question is, is this the correct way of doing this or am i supposed to make a copy of the ‘modern’ theme first and make the changes to that. What will happen to the ‘modern’ theme during a magento update? Will the theme be over-written and therefore any changes i have made to it will be removed?
If a copy of the modern theme does have to be made how do i tell magento to look in that copy first?
I’m going to keep this reply as simple as it should be :)
am i supposed to make a copy of the ‘modern’ theme first and make the changes to that
Yes you are :)
Magento has a fallback system that allows you to create a child theme, in the child theme if you make alterations, Magento will use them, also if a template file is missing from the child theme, Magento falls back to the default or base files (which is exactly why you should not edit anything in the base folder, they’re you’re omg save my * files!).
I don’t believe that Magento will let you make a child theme of a child theme (modern is a child theme), so what I would suggest you do is in “app/design/frontend/default/” duplicate the “modern” folder calling it “mymodern” and the same in “skin/frontend/default”, copying the modern folder to a new folder called “mymodern”.
Then in System > Configuration > Design, change the part where its says “modern” change it to “mymodern” and Magento will use the files in the two new folders called “mymodern”.
You can edit those files willy-nilly then and when there is an update, you still have the original modern files available to check against (tip, there is a tool called beyond compare, it has a free trial for 30 days or so and will come in very, very handy in checking the differences).
Does that make sense?
@matt So just to check. I have gone into ‘System > Configuration > Design’ and made these changes:
I also note there are settings related to the theme at ‘System > Design’ (see image below). So i also changed this to ‘modern-david’. Am i correct in making this change as well?
PS i did a search for ‘magento beyond compare’ but nothing relevant turned up (its not that important as i will just make a note of the changes i have made to the theme).
That’s right all bar the last step, don’t use “System > Design” as that will catch you out later on when making changes.
For Beyond Compare see here http://www.scootersoftware.com…..reinfo.php
I’d like to just jump into this thread as my question is similar.
I have not made a Child Theme (YET), and I plan to do it in next 2 days. I am using Ultimo, and the changes I have made are only in settings/CMS Blocks etc.
I have not made any code changes, but I do intend to make a couple – hence needing the Child Theme now.
Here’s my question:
If I make a copy (Child Theme) now, from the site design I have already created, will that be the base for any code changes I make, and also remain when I make future Theme updates?
I may be answering my own question here as I type, but just want to check :-)
Why Should You Join UnderstandingE?
- Access to over 500 step-by-step video tutorials
- +20 video courses available
- Magento, M2E Pro, Magmi, eBay, Amazon & Design all covered
- Everything is in 100% Plain English
- Learn how to build your own multi-channel software for eBay & Amazon
- Access to the community forums, meet fellow business owners like yourself
Join Now with 2 Clicks
Join now for less that £1 per day you can gain access to over 400 step-by-step video tutorials & learn how to build your very own multi-channel software.
Most Users Ever Online: 1012
Currently Browsing this Page:
Jim @ Moogento: 688
Steve Froggatt: 514
Badeth - UE: 513
Paul Cartwright: 414
Administrators: Matthew Ogborne: 4565, Dave Furness: 4606