I did a search for this, but didn't come up with a solution that worked for me.

Anyway, I'm upgrading from 5.x to 6.x and everything seems to be working fine so far. I'm working with my custom theme using the PHPTemplate system. My problem is that it isn't using my page.tpl.php file that lives in my theme folder. My other template files (like node-*.tpl.php) work just fine.

I have "engine = phptemplate" in my .info file. I've cleared the cache many times. I've visited the theme admin page and enabled/disabled my theme. Still no good.

Any suggestions are appreciated.

Comments

vm’s picture

If it's not using page.tpl.php what is it using?

have you walked through the upgrading themes documentation from 5.x to 6.x?

mparas’s picture

I'm not sure where it's getting the page.tpl.php file from (the Devel module won't show me the filename). But it is for sure not the one I want.

Yes, I'm pretty sure I upgraded things properly.

prakashp’s picture

You can implement the preprocess hook in your template.php to see which template is being used. So you would implement something like

function yourtheme_preprocess_page(&$vars) {
  // check $vars['template_file'] or $vars['template_files']
}

This should give you an idea which template is being used.