By Rajan M on
Hi All,
I am creating a subtheme using Omega (http://drupal.org/project/omega) for drupal7, is there way to override template files from Omega to my own subtheme.
I want to override 'omega/templates/region--branding.tpl.php' in my subtheme.
Thanks In Advance
Comments
Simply adding your own
Simply adding your own version of "region--branding.tpl.php" to your theme should do it, nothing more required. Though you will have to flush the caches to rebuild the theme registry (/admin/config/development/performance).
At least that's how it works in D6, I know that much. :-)
Yeah... thanks :)
Yes, It was my first attempt.
After adding own version of "region--branding.tpl.php" to my subtheme, I just disabled and re-enabled my subtheme but it was not working.
Now after flushing the cache it is working fine!
Thanks for quick reply.
Do you know how I should name
Do you know how I should name the preprocess file/function for a tpl file that looks like this:
node--general-page.tpl.php