Closed (fixed)
Project:
Metatag
Version:
7.x-1.x-dev
Component:
Other tags
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
24 Jun 2014 at 19:56 UTC
Updated:
8 Jun 2015 at 19:45 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
eric.chenchao commentedGoogle+ metatag integration module attached.
Known Issues
--------------------------------------------------------------------------------
- When using Zen or its derived theme, Zen will serialize RDF Namespaces into
an RDFa 1.1 prefix attribute, which means itemtype will be included in prefix="..."
To avoid that this module will not add a itemtype directly to $variable['rdf_namespaces'].
Instead, you have to add itemtype code manually in the template.php or your theme.
Here is the example code you need to adapt and add to your code.
Comment #2
eric.chenchao commentedComment #3
damienmckennaNice, Eric! This needs a little tidying to match Drupal's coding standards (mostly comments), but is almost there. Also, the info file needs to be updated.
Comment #4
eric.chenchao commentedHey Damien,
Thanks for the quick response. I have cleaned up code a little bit with updated .info
Could you check it again, please? Thanks.
Comment #5
damienmckennaI reviewed the code and made a few minor changes, mostly in the comments. Nicely done, Eric!
Comment #6
damienmckennaCommitted!
Comment #8
eric.chenchao commentedYeah, thanks Damien; -)
Comment #10
markbannister commentedThis patch seems to be the source of this issues (at least in some cases): https://www.drupal.org/node/1923616
Warning: preg_match_all() expects parameter 2 to be string, array given in token_scan() (line 124 of /home/sites/drupal7/public_html/includes/token.inc).
Warning: html_entity_decode() expects parameter 1 to be string, array given in decode_entities() (line 463 of /home/sites/drupal7/public_html/includes/unicode.inc).