Twitter Bootstrap Modal

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by hatuhay on August 26, 2013 at 9:46pm

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

Posted by bowevil on August 27, 2013 at 1:27am

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

Posted by rowlandheights on September 5, 2013 at 1:37pm

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:
Create test

PS: The link will open a form.

Thank you.

Test

Posted by hatuhay on September 5, 2013 at 4:28pm

Your link does not work.

Posted by sergey-shulipa on August 31, 2018 at 10:41am

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

Still having problem with modal window

Posted by rowlandheights on September 6, 2013 at 4:33am

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

Bootstrap

Group organizers

Group notifications

This group offers an RSS feed. Or subscribe to these personalized, sitewide feeds:

AltStyle によって変換されたページ (->オリジナル) /