When using the theme developer module, and after creating a theme template, e.g. page-front.tpl.php, I know the template file is the one being used to display the content, but when I click on the page the themer info overlay displays 'page.tpl.php' as the Template Called.

Comments

cchan’s picture

StatusFileSize
new118.08 KB

Rydo,

Are you using a zen subtheme or any subtheme? I am having similar issues. I have a node-issue.tpl.php file and a node.tpl.php. I know that the node-issue.tpl file is being called (theme developer says so and I have inserted a hello world comment into node-issue.tpl.php with a var_dump() statement). I have attached a screenshot to this comment.

Does the Theme Developer retrieve the 'template called' name from a location other than the template file name?

In any event, this is a minor annoyance because the correct template file is used, but I'd like to figure out what is wrong.

moshe weitzman’s picture

Project: Devel » Theme developer
Version: 6.x-1.16 » 6.x-1.x-dev
Component: devel_themer » Code
Priority: Normal » Critical

template called really means 'theme hook called'. very bad label.

JeremyFrench’s picture

Assigned: Unassigned » JeremyFrench

I'll try and get to this one, it should be trivial.

JeremyFrench’s picture

Assigned: JeremyFrench » Unassigned
Status: Active » Needs review
StatusFileSize
new1.26 KB

Patch for review.

JeremyFrench’s picture

Status: Needs review » Fixed

Commited here

Status: Fixed » Closed (fixed)

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