Hi,

I'm using the meta tags module. It works fine with the omega main theme, but on a delta subtheme there is no og:image tag printed.
http://drupal.org/node/1365840#comment-5750284

In the thread http://drupal.org/node/1310780
they recommend to put

print render($page['content']['metatags']); 

in the template. Where do I find it?

Here is an example for a node made with delta
http://eichstätter-datenblatt.de/content/mitfahrgelegenheiten-ausgewertet-alle-wege-führen-nach-eichstätt

Comments

Anandyrh’s picture

I am having exactly the same issue, the below code has to be pasted in node.tpl.php or page.tpl.php, but in omega sub themes these files dose not exists.

<?php
 render($content['metatags']); 
?>

Thanks,
Anand

fmilland’s picture

Hello, I have same issue with my sites, any solution?

Best regards

johnellings’s picture

To override node.tpl.php you have to copy it from the base theme /sites/all/themes/omega/omega/templates to the subtheme /sites/all/themes/[subtheme name]/templates

With page.tpl.php it inherits from the alpha theme, so you have to copy from there.

All of which said I had the problem with meta tag patterns not being applied on nodes styled with context/delta. I tried the php fix linked in the original post & it wasn't working for me, so I just updated to the dev version of Meta Tag and that fixed the issue.