Remote Viewer

Categories

Component ID

2476679

Component name

Remote Viewer

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

The goal of this project is to provide an easy way to share information across multiple Drupal instances through the use of "remote views". This module does not replace the Views module but it extends it beyond local-only views. Remote Viewer does exactly what the name implies, it gives the site owners the ability to share data through remote views across multiple Drupal installs. Create once share everywhere.

Synopsis

Remote Viewer modifies Views to allow the selection of a remote Drupal database as the source for a view query. The module does this by extending the views_plugin_display_page class to enable database selection in the options_form method.

Configuration tips

Settings for remote sites should be configured in settings.php file per site. These settings can be verified on the Remote Viewer configuration page which is located at [admin/config/content/remote_viewer]

Sample settings.php config
Add the server key (to ['hub']['default'] in this example) to $databases array as shown below.

  $databases['hub']['default'] = array( 
    'driver' => 'mysql', 
    'database' => 'example_db', 
    'username' => 'user_db', 
    'password' => 'password', 
    'host' => 'localhost', 
    'port' => '3306', 
    'server' => 'hub.example.com', 
  ); 

** When building a remote view which contains a photo stored on a remote site ensure you use an image field and select the formatter type of remote picture.

Requirements

Must have matching content types on both local and remote Drupal installs. This can easily be accomplished by using the Features module.

Remote content user interface is a similar project and was the first stab at this remote content sharing idea. What makes Remote Viewer different is the feature set which is narrowed down and extra code was removed.

This module is designed to work with the Picture Module.

Credits

Project Maintainers

Project sponsor