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

jeremycaldwell’s picture

Status: Active » Fixed

Yes 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.

dan.crouthamel’s picture

Sounds good - thanks for responding.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.