My apologies. In #569362: Document $attributes, $title_attributes, and $content_attributes template variables, I don't know why, but I missed thinking through that $content_attributes would also be needed. Patch coming.
| Comment | File | Size | Author |
|---|---|---|---|
| #12 | 608036_user_profile_attr_12.patch | 1.95 KB | scor |
| #10 | 608036_user_profile_attr_10.patch | 1.94 KB | scor |
| #9 | 608036_user_profile_attr_9.patch | 1.82 KB | scor |
| #1 | drupal-theme-content_attributes-608036-1.patch | 5.96 KB | effulgentsia |
Comments
Comment #1
effulgentsia commentedIt's really a no-brainer and I don't know how I missed it in the earlier issue. All the tpl file already have a div for the content, and that's the div that should be used for RDF attributes that describe the content of the entity as opposed to the entire entity. The current RDF patch gets around it by putting an extra div around the content where it needs it, but this way, we can remove redundant divs.
Comment #2
sunMakes perfectly sense.
Comment #3
sunComment #4
moshe weitzman commented+1 from me too
Comment #5
scor commentedI confirm this solves the intended issue. already committed as part of #493030: RDF #1: core RDF module
EDIT: I meant included for now in the patch #493030: RDF #1: core RDF module until this is committed.
Comment #6
sunSlight confusion about the term "committed", I guess.
Comment #7
dries commentedLooks good to me, committed to CVS HEAD. Thanks!
Comment #9
scor commentedThe patch #1 didn't cover user-profile.tpl.php. Tests included.
Comment #10
scor commentedfix documentation
Comment #11
sun4?
Please remove this blank line.
Powered by Dreditor.
Comment #12
scor commentedaddressed sun's review.
Comment #13
sunThanks!
Comment #14
webchickYay! The first RDF patch I understand! ;)
Committed to HEAD.