I have a problem with metatag module, similar to what was reported in #1259462: Front Page Meta Description, meta tags appearing normally on every page except the front page. I switched to Bartik, and the meta tags appeared on the front page. Line 769 of metatag.module checks for $page['content'] inside metatag_page_build, and with my zen 3.1 subtheme enabled, it's not there. Can someone explain why?

Comments

davidtrainer’s picture

I fixed this by adding the "Main page content" block to the Content region, through Context module. But I'm still unclear about why I needed to do that, and why meta tags, but not the main content, won't work without that change.

johnalbin’s picture

Status: Active » Closed (won't fix)

It sounds like this more related to what blocks are enabled per theme. Rather than what theme is being used. The Zen theme has no effect over hook_page_build().

Good luck finding an explanation of what is going on! I don't use the metatag module.