Blocks in Bootstrap Modals

Events happening in the community are now at Drupal community events on www.drupal.org.
Posted by hatuhay on December 26, 2013 at 11:49pm

As a sub-module of the Twitter Bootstrap Modal module just published Twitter Bootstrap Modal Block, that convert any block in a button to trigger the block a Bootstrap modal.

Just need to add block id or any jQuery selector into a list triggers and module does the rest.

Comments

Can anyone give an example how to do this.

Posted by swedishdru on December 27, 2013 at 8:40pm

Can anyone give an example how to do this. I really need this function but do not know how to implement it. If anyone kindly would tell me I would be most thankful

Johan from Sweden

Just install the module

Posted by hatuhay on December 27, 2013 at 11:17pm
  1. Install Twitter Bootstrap Modal
  2. Enable the TBM block module
  3. On the trigger field set the ID of the block with a preceding #.

Yepp tried that!

Posted by swedishdru on December 28, 2013 at 12:39am

And i get some layover but no block showing. Could you put out the code to use as an example, might be Im just not smart enough :)

Bootstrap

Group organizers

Group notifications

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

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