Closed (fixed)
Project:
Metatag
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
18 Oct 2011 at 17:45 UTC
Updated:
17 Nov 2011 at 19:30 UTC
The problem is in metatag.theme.inc and metatag_opengraph.module where you are calling theme_html_tag directly. By calling this function directly you disable the ability for themers to alter the output of the metatags with YOUR_THEME_NAME_html_tag.
I attached two patches but these were created with UNIX diff and not that Git system (which I don't know yet how to use). I hope they are still from any use.
| Comment | File | Size | Author |
|---|---|---|---|
| metatag_opengraph.module.patch | 439 bytes | fleshgrinder | |
| metatag.theme_.inc_.patch | 1.27 KB | fleshgrinder |
Comments
Comment #2
dave reidNot sure why people would want to customize the way meta tags are displayed but this is a good change. Committed with http://drupalcode.org/project/metatag.git/commit/fdace92. Thanks Richard!
Comment #3
fleshgrinder commentedThere is a special use case for me. I want to overwrite nearly every theme function within Drupal. I want perfect HTML5 output and I want to reduce the payload size to its minimum (for more info read the short paragraph over at the Google PageSpeed Wiki http://code.google.com/speed/page-speed/docs/payload.html#MinifyHTML).
Glad I was of any help!