You are here

README.txt in RoyalSlider Integration 7

Same filename in this branch
  1. 7 README.txt
  2. 7 contrib/views_slideshow_royalslider/README.txt
Same filename and directory in other branches
  1. 8 README.txt
RoyalSlider
===============
This module provides integration with the excellent RoyalSlider library.

It contains the RoyalSlider module and an implementation for views in the Views Slideshow: RoyalSlider module.

Features of the RoyalSlider module:
 - Configuration stored in Features-exportable "Option Sets" (based on FlexSlider)
 - Field formatter for image fields
 - Views Slideshow integration
 - Full support for custom RoyalSlider Skins
 - API functions to manually include the RoyalSlider library and/or option sets and/or skins

Installation
=============

1) Upload/install the Libraries API module. http://drupal.org/project/libraries
2) Upload/install the ctools library. http://drupal.org/project/ctools
3) Upload/install the jQuery Update module. https://drupal.org/project/jquery_update
4) Configure jQuery Update to use jQuery 1.7+
5) Create a sites/all/libraries directory on your server.
6) Create a directory within sites/all/libraries named royalslider.
7) Locate/download the RoyalSlider plugin. http://dimsemenov.com/plugins/royal-slider/
8) Upload/install the RoyalSlider plugin: place it inside the royalslider
   directory.
9) Enable the RoyalSlider module
10) You should now see the new views style option called "Slideshow"

For the Views Slideshow: Royalslider:
11) Upload/install the Views 3 module. https://drupal.org/project/views
12) Upload/install the Views Slideshow module. https://drupal.org/project/views_slideshow
13) Enable the Views Slideshow: RoyalSlider module

Requirements
============
* RoyalSlider library
* Libraries
* jQuery Update (jQuery 1.7+)
* Ctools

Views Slideshow: RoyalSlider
* Views 3
* Views Slideshow


Description
===========

The RoyalSlider module will provide a new field display option for image fields: RoyalSlider.
If you select the display option, you can select which "Option Set" you want to use for that field.
You can configure Option Sets at 'admin/config/media/royalslider'.
For more information about the different options, see the documentation of RoyalSlider: http://dimsemenov.com/plugins/royal-slider/documentation/

For more information about the usage of the Views Slideshow: RoyalSlider module, read the README.txt in its own folder.


Manually initialize example usage
===========

(function ($) {
  Drupal.behaviors.yourModuleTheme = {
    attach: function (context, settings) {

      if (myCustomConditions) {
        if (settings.royalslider) {
          if (settings.royalslider.instances) {
            for (var id in settings.royalslider.instances) {
              var $slider = $('#' + id, context),
                optionset_name = settings.royalslider.instances[id].optionset,
                optionset = settings.royalslider.optionsets[optionset_name];

              // Manually initialize.
              if (optionset.manuallyInit) {
                $slider.royalSlider(optionset);
              }
            }
          }
        }
      }

    }
  };
})(jQuery);


Authors/maintainers
===================

Original Author:

Alex Weber
http://drupal.org/user/850856

Co-maintainers:

thijsvdanker
http://drupal.org/user/234472/dashboard


Support
=======

Issues should be posted in the issue queue on drupal.org:

https://drupal.org/project/issues/royalslider

File

README.txt
View source
  1. RoyalSlider
  2. ===============
  3. This module provides integration with the excellent RoyalSlider library.
  4. It contains the RoyalSlider module and an implementation for views in the Views Slideshow: RoyalSlider module.
  5. Features of the RoyalSlider module:
  6. - Configuration stored in Features-exportable "Option Sets" (based on FlexSlider)
  7. - Field formatter for image fields
  8. - Views Slideshow integration
  9. - Full support for custom RoyalSlider Skins
  10. - API functions to manually include the RoyalSlider library and/or option sets and/or skins
  11. Installation
  12. =============
  13. 1) Upload/install the Libraries API module. http://drupal.org/project/libraries
  14. 2) Upload/install the ctools library. http://drupal.org/project/ctools
  15. 3) Upload/install the jQuery Update module. https://drupal.org/project/jquery_update
  16. 4) Configure jQuery Update to use jQuery 1.7+
  17. 5) Create a sites/all/libraries directory on your server.
  18. 6) Create a directory within sites/all/libraries named royalslider.
  19. 7) Locate/download the RoyalSlider plugin. http://dimsemenov.com/plugins/royal-slider/
  20. 8) Upload/install the RoyalSlider plugin: place it inside the royalslider
  21. directory.
  22. 9) Enable the RoyalSlider module
  23. 10) You should now see the new views style option called "Slideshow"
  24. For the Views Slideshow: Royalslider:
  25. 11) Upload/install the Views 3 module. https://drupal.org/project/views
  26. 12) Upload/install the Views Slideshow module. https://drupal.org/project/views_slideshow
  27. 13) Enable the Views Slideshow: RoyalSlider module
  28. Requirements
  29. ============
  30. * RoyalSlider library
  31. * Libraries
  32. * jQuery Update (jQuery 1.7+)
  33. * Ctools
  34. Views Slideshow: RoyalSlider
  35. * Views 3
  36. * Views Slideshow
  37. Description
  38. ===========
  39. The RoyalSlider module will provide a new field display option for image fields: RoyalSlider.
  40. If you select the display option, you can select which "Option Set" you want to use for that field.
  41. You can configure Option Sets at 'admin/config/media/royalslider'.
  42. For more information about the different options, see the documentation of RoyalSlider: http://dimsemenov.com/plugins/royal-slider/documentation/
  43. For more information about the usage of the Views Slideshow: RoyalSlider module, read the README.txt in its own folder.
  44. Manually initialize example usage
  45. ===========
  46. (function ($) {
  47. Drupal.behaviors.yourModuleTheme = {
  48. attach: function (context, settings) {
  49. if (myCustomConditions) {
  50. if (settings.royalslider) {
  51. if (settings.royalslider.instances) {
  52. for (var id in settings.royalslider.instances) {
  53. var $slider = $('#' + id, context),
  54. optionset_name = settings.royalslider.instances[id].optionset,
  55. optionset = settings.royalslider.optionsets[optionset_name];
  56. // Manually initialize.
  57. if (optionset.manuallyInit) {
  58. $slider.royalSlider(optionset);
  59. }
  60. }
  61. }
  62. }
  63. }
  64. }
  65. };
  66. })(jQuery);
  67. Authors/maintainers
  68. ===================
  69. Original Author:
  70. Alex Weber
  71. http://drupal.org/user/850856
  72. Co-maintainers:
  73. thijsvdanker
  74. http://drupal.org/user/234472/dashboard
  75. Support
  76. =======
  77. Issues should be posted in the issue queue on drupal.org:
  78. https://drupal.org/project/issues/royalslider