Add the option to include microdata

It would be amazing


carajito’s picture

The option to add attribute inside of html tags of the wrapper like

itemprop="rating" itemscope itemtype="">
Rating: 8.5

XmhO’s picture

I just wrote a little module for my needs in order to add microdata to field group. It defines a new field group type called "Div (extra)" and that permits you to add extra attributes in "inline" mode.

I don't think It is a great definitive solution but It was a good workaround for me.

Hope It will help you.

Edit : please note that maybe you could try a solution with altering actual field group types, but I didn't came up to any solution with the hooks and tools that provided field group.

jcodina’s picture

Thanks XmhO, it works!

yannickoo’s picture

Hey guys, take a look at #1926938: Simple html wrapper :)

carajito’s picture

Perfect, I will test soon

yannickoo’s picture

Status: Active » Closed (duplicate)

Closed this issue because of #4.