Modal Views view
Categories
Component ID
2548383
Component name
Modal Views view
Component type
module
Maintenance status
Development status
Component security advisory coverage
not-covered
Component created
Component changed
Component body
Modal Views view module allows to display custom View in Ctools modal window just by using prepared, simple link.
Usage
- Enable Views and Modal modules
- Create new view with proper display and max one contextual argument
- Create link that will call this view in a new modal:
<a href="/modal/{view_name}/{view_display_name}/{arguments}/no_js" class="ctools-use-modal">Example view</a> - If view without arguments use none. You can use also view with multiple arguments (Contextual Filters) only this way: arg1,arg2,arg3
- In order to display page view as fallback (with JS disabled) you should use the same format in your view - comma separated arguments
- Many thanks to Maxim Podorov (maximpodorov) - the maintainer of Modal module.
