Development

sfModalBoxPlugin

You must first sign up to be able to contribute.

sfModalBoxPlugin symfony plugin

Installation

symfony plugin-install http://plugins.symfony-project.com/sfModalBoxPlugin

You need to install the prototype plugin too

symfony plugin-install http://plugins.symfony-project.com/sfPrototypePlugin

Usage

Declaring helper ModalBox? automaticaly include required javascripts files

<?php use_helper('ModalBox') ?>

Simply add this tag to link remote content to the page

<?php echo m_link_to('link name', '@remote_route_for_action' [, normal_html_options, modalbox_options]) ?>

This will output :

<a OnClick="Modalbox.show(this.title, this.href, modalbox_options);
return false;" href="/route_for_action">link name</a>

For modalbox options see : http://www.wildbit.com/labs/modalbox/

License

For the full copyright and license information, please view the LICENSE file that was distributed with this source code.

Support / feedback

If you have question, request, improvement, I've created a topic on the forum : http://www.symfony-project.com/forum/index.php/m/28859/

Changelog

  • 0.0.1 - first release with modalbox 1.5.3
  • 0.0.2 - bugfixe
  • 0.0.3 - bugfixe, upgrades to modalbox 1.5.4
  • 0.0.4 - html option no more needed, upgraded to modalbox 1.5.5.1
  • 0.0.5 - upgrade to modalbox 1.6

Attachments