Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
The Commons Events feature depends on RDFa and Schema.org, but our intranet site doesn't need these features because no events are ever published publicly on the open web, so annotated markup isn't a necessity for us. It looks like the Schema.org integration is really an optional enhancement, rather than a hard requirement, so could we simply make these dependencies optional instead of a solid requirement?
Comment | File | Size | Author |
---|---|---|---|
#2 | remove-commons-events-rdf-dependency-2127735-2.patch | 585 bytes | Devin Carlson |
Comments
Comment #1
quicksketchAFAICT, it's only commons_events.info that depends on schemaorg and rdf modules. Removing the dependency lines in commons_events.info allows these modules to be disabled, with no detrimental effect except removing the corresponding meta attributes from the markup.
Comment #2
Devin Carlson CreditAttribution: Devin Carlson commentedRDFa support is optional so I don't see any issues with removing the dependencies on RDF and Schema.org.
Comment #3
Devin Carlson CreditAttribution: Devin Carlson commentedRetested #2 and was able to remove the RDF and Schemaorg modules without any issues or errors.
Committed #2 to Commons 7.x-3.x.
http://drupalcode.org/project/commons.git/commit/8a231dc
Comment #4
quicksketchThanks!