Twitter Bootstrap Modal

We encourage users to post events happening in the community to the community events group on https://www.drupal.org.
hatuhay's picture

After long weeks of work, just published a dev version of my twitter bootstrap modal module: https://drupal.org/project/twitter_bootstrap_modal

The modal loads any Drupal URL link signed by a specific class inside a Drupal Modal.

It only takes the content part of the URL, without loading any extra region. It has also an option to personalize the output via a view mode for nodes.

So far it is working OK on production sites, loading content, forms and scripts, but has not been tested over complex environments as views involving ajax for an example.

It relies on the https://drupal.org/project/jquery_ajax_load module for AJAX callbacks.

Feedback welcome!!

We are seriously commited on Bootstrap/Drupal integration and hope we find a growing community.

Comments

I wanted to let you know that

Bowevil's picture

I wanted to let you know that on this page:
https://drupal.org/project/twitter_bootstrap_modal

Sponsored by:
this link -->Development Factory Group is broken.

Otherwise this module looks pretty cool.

Can you provide a sample useage

rowlandheights's picture

I added the "twitter_bootstrap_modal" class to the link, but the modal does not display. I wonder if I miss any step.

Here is my link:

PS: The link will open a form.

Thank you.

Test

Your link does not work.

sergey-shulipa's picture

Your link does not work. Please, provide documentation or/and working example.
Thanks a lot for your job!

Still having problem with modal window

rowlandheights's picture

hatuhay, thank you for your examples. The content now is displayed on a popup window, but the modal window is still not working properly. The content is returned from a callback function of the menu hook item.

Here is the code of the callback function:
return '

' . $popupContent .

';

Please see the screen shot below:
http://s21.postimg.org/bt542xqcn/Capture.jpg