Hi,

using custom templates, with alpha6 version putting

render $page["content"]["metatag"]

in page templates did the trick, but now, with alpha8 version, metatag module doesn't render any tag and it is Drupal default one that are in use.

Any idea about what has changed between those 2 versions?

Comments

tahiticlic’s picture

In metatag_page_build, change

  if (!isset($page['content'])) {
    return;
  }

to

  if (!isset($page['content'])) {
    $page['content']=array();
  }

and that's ok.

damienmckenna’s picture

Status: Active » Fixed

Thanks for pointing this out. I mentioned both you and jrglasgow (who provided the same fix) in the changelog but attributed the fix to him as he provided an actual patch file.

tahiticlic’s picture

I mentioned both you and jrglasgow (who provided the same fix) in the changelog but attributed the fix to him as he provided an actual patch file.

We're not here to get rewards... just to share solutions! :-) Thanks anyway, and thanks for your work.

Status: Fixed » Closed (fixed)

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