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
- sfModalBoxPlugin-0.0.1.tgz (8.7 kB) -
first comit
, added by Mickael.Kurmann on 05/25/07 01:20:39. - sfModalBoxPlugin-0.0.2.tgz (8.7 kB) -
updated symfony validation in package.xml --> 1.0.0 to 1.0.5
, added by Mickael.Kurmann on 06/19/07 18:22:51. - sfModalBoxPlugin-0.0.3.tgz (16.7 kB) - added by Mickael.Kurmann on 08/20/07 15:32:49.
- sfModalBoxPlugin-0.0.4.tgz (17.2 kB) - added by Mickael.Kurmann on 09/26/07 23:58:32.
- sfModalBoxPlugin-0.0.5.tgz (18.4 kB) - added by Mickael.Kurmann on 06/10/08 23:41:12.