drupal ctools - how to show view in modal
I'开发者_JAVA技巧m wondering how to show a view into a modal? Could someone give me an example? Further more I like to call the view out of an action.
Have you looked at this? http://www.angrydonuts.com/ctools-presentation-slides-and-example-code
This is implemented using hook_menu, which offers a means to call the modal (see http://api.drupal.org/api/drupal/developer--hooks--core.php/function/hook_menu/5)
In terms of using an action, I would have thought you could have applied the same code inside your action code (see http://drupal.org/node/142154 "Implementation of a Drupal Action"), but I could be wrong.
精彩评论