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.
This module provide tools, tweaks, formatters and helpers to build a Drupal site. Following functionality is provided:
Formatters:
Trimmed with suffix (text, text_long, text_with_summary): Trimmed with an optional suffix and linked to his content (Trying to end it at a sensible place).
Tokens:
[prv_extras:logo]: The absolute theme logo path (e.g. as Open Graph image token for the frontpage).
Display Suite Fields:
PRV Extras Search API Excerpt: This field displays the search excerpt from the Search API (only tested with Solr backend) when the views integration with the row plug-in "Rendered entity" is used. In this case, it is possible to ad this field in the view mode for the search result. IMPORTANT: The checkbox "Return an excerpt for all results" in the Search API Solr must be selected!
Helpers:
Simple NET-Metrix (WEMF) integration. Provides a settings page to add the code, enable it and define pages to exclude the NET-Metrix code.
Test to find modules which are in the database but not on the file system (admin/modules/test). This can slowdown Drupal.
-----------------------------
INSTALLATION
-----------------------------
Enable the module from Administer -> Modules as usual.
Create a new Feed
Select the OAuth Connector Fetcher
-----------------------------
EXAMPLE USE-CASE
Creating Pages with your Facebook Feed updates
-----------------------------
Modules
oauth
oauth_common
oauth_common_providerui
oauthconnector
feeds
http_client
feeds_jsonpath_parser
Enable all modules
Go to /admin/structure/oauthconnector/list, click Add Provider from Preset, and choose Facebook
Go to https://developers.facebook.com/apps and create a Facebook App
Enter your site's URL in App Domain
Check the Website row and enter your site's URL
Copy App ID and App Secret keys into the OAuth Consumer Key and OAuth Consumer Secret fields
Under OAUTH CONSUMER ADVANCED SETTINGS, add "read_stream" to the end of the Scope field.
This will give us the proper Facebook permissions
Go to /user and click on the Connections tab
Click on the Facebook button and go through the connection process
Create a new Feeds Importer at /admin/structure/feeds/create
Select the OAuth Connector fetcher