Active
Project:
Delta
Version:
7.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
19 Mar 2012 at 11:36 UTC
Updated:
4 Nov 2012 at 09:57 UTC
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
Comment #1
Anandyrh commentedI 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.
Thanks,
Anand
Comment #2
fmilland commentedHello, I have same issue with my sites, any solution?
Best regards
Comment #3
johnellings commentedTo 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.