Okay I might just be having a moment, but I am having trouble modifying my template files for the subtheme I'm creating for a client.

I'm not a drupal expert, though this is not the first subtheme I've created. It is, however, my first time working with the adaptive theme - so far I really like its ease of use. However, I am trying to add/move some divs around in the template files and I can't seem to get my subtheme to recognize my new tpl.php files.

For now I'm trying to move some divs in my page.tpl.php file, and I've copied over my page.tpl.php file into my sites/all/themes/mysubthemename folder and its not being recognized.

I've also tried dropping this file into a sites/all/themes/mysubthemename/templates folder with no luck. It continues to look at the template in the

What am I missing? I want to keep my modified tpl.php files in my subtheme folder to make upgrading as painless as possible in the future.

Thanks in advance!

Comments

Jeff Burnz’s picture

1) Is it still called page.tpl.php or are you renaming this (such as a template suggestion) e.g. page-front.tpl.php? If so remember you need both - page.tpl.php and the template suggestion (this goes for all templates).

2) Are you clearing the theme registry after you add the template (Clear cache data on the performance settings page).

Its doesn't matter where the file is in the subtheme - in the root folder, in a sub-directory, Drupal will find it.

theladebug’s picture

Thanks so much for your help! I actually had made a typo in my coding in the template, once I found it everything was happy again :) I'm loving this theme!

theladebug’s picture

Status: Active » Closed (fixed)