Closed (fixed)
Project:
Acquia Slate
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
5 Feb 2010 at 21:32 UTC
Updated:
25 Feb 2010 at 20:20 UTC
Not really an Acquia Slate issue, but I though I would ask.
So I want to override a theme function defined in the SimpleNews module. I understand I can do this in template.php. However, if an updated version of this theme is released, it means my function could be overwritten - correct? Can I place theme overrides in a different file?
Comments
Comment #1
jeremycaldwell commentedYes you are correct. Each theme has their own template.php file so if you update the Acquia Slate theme it comes with a template.php file so there is the chance you would override your custom changes. I recommend before you update that you copy the custom code out of the template.php, update the theme, then add your custom code back to the template.php file.
Comment #2
dan.crouthamel commentedSounds good - thanks for responding.