I'm getting this error when I copy the template file into my subtheme directory:
Fatal error: Cannot redeclare blueprint_theme() (previously declared in ~/sites/all/themes/blueprint/blueprint/template.php:15) in ~/sites/all/themes/blueprint/<subtheme>/template.php on line 21
Any idea what's causing that? Is this not a file that can be duplicated then edited in the subtheme?
Comments
Comment #1
designerbrent commentedFM: Have you tried using the BPSTARTER theme to start your sub theme with?
The recommended way to do it is to copy the BPSTARTER theme and then rename all the functions that start with BPSTARTER_ to mythemename_. I will be writing this up into a readme file soon.
It really isn't recommended to edit or duplicate the template.php file from the base theme. Take a look at the template.php file in BPSTARTER.
Comment #2
fm commentedI did build my sub-theme with BPSTARTER. I guess with all the updates recently I must have deleted or overwritten my sub-theme/template.php thinking the /blueprint/template.php was the same thing.
Comment #3
fm commentedNevermind. Fixed.
Comment #4
designerbrent commentedGreat. Glad you got it fixed.