Drupal Technical
[SOLVED][Drupal Views] How to access Views plugins options from within Drupal.behaviors?
A Drupal user having a Drupal Views plugins wanted to know how to access View plugins options form within Drupal.behaviors. If you are facing the same question while using Views plugins in your Drupal site then read on to find out more.
Here is the solution
- You can move your Drupal-behaviour JS file inside on of the class definitions in a custom style plugin.
- The best solution would be to add drupal_add_js() to the settings
Hope that helps.
The easiest way to solve a Drupal issue is to hand it to the Drupal experts. We can provide a wide range of Drupal services to help you maintain and manage your Drupal websites. Get in touch with us to know more.
Reference: http://drupal.org/node/1878412