Still on Drupal 7? Security support for Drupal 7 ended on 5 January 2025. Please visit our Drupal 7 End of Life resources page to review all of your options.
Schema.org will be one additional syntactical form of using GoodRelations for your site. GoodRelations remains an independent vocabulary. The original namespace of GoodRelations will remain the primary location.
Set up
This module requires no configuration, just enable it and your Drupal Commerce products should show a rich snippet in the Google Rich Snippet testing tool. The following fields are currently automatically supported:
- title
- price
- currency
- ratings (fivestar / voting API)
qTip Form API is a development tool which allows you to create tooltips in code via the form api.
It uses the wonderful qTip plugin (version 2 or compatible).
Link: http://craigsworks.com/projects/qtip2/
How to install
Install the libraries module (required dependency)
Rename the qTip folder and upload the qtip library inside your libraries folder, the result will be something like /sites/all/libraries/qtip the qtip js library should be at the path /sites/all/libraries/qtip/dist/qtip.min.js the qtip css library should be at /sites/all/libraries/qtip/dist/qtip.min.css
Now that the library is installed; Install the module as normal
API Documentation
This module works by enabling an extra parameter to each form element.
This parameter contains an array of configuration which is then used to configure the qtip module.
To add a tooltip add the following to any form element:
'#qtip' => array(/*add your configuration overrides here*/),
inside the array you should place all your overrides.
Override settings use the same syntax as listed in the default settings
They are passed in as a php array instead of Javascript.