dwPrototypeWindowPlugin =======================
Overview
The plugin provides windows and dialog boxes via the prototype library for the symfony php framework.
License
For the full copyright and license information, please view the LICENSE file that was distributed with this source code.
Installation
- *Install the plugin*
symfony plugin:install dwPrototypeWindowPlugin
- *Clear you cache*
symfony cc
Using the plugin
<?php use_helper('Window'); ?>
<?php if(sfConfig::get('sf_debug')) { echo link_to_function('open js debug window', 'showDebug()'); } ?>
<?php echo link_to_prototype_window('Google', 'google', array('title' => 'Google', 'url' => 'http://google.com', 'width' => '520', 'height' => '350', 'center' => 'true', 'className' => 'alphacube'), array('absolute' => true)); ?>
<?php echo link_to_prototype_dialog('hello', 'hello world', 'alert', array('className' => 'alphacube')); ?>
Examples
Tickets
symfony 1.1
Download the file dwPrototypeWindowPluginSf1.1-1.0.0.tgz.
Put in the root directory of your project.
Installation:
symfony plugin:install dwPrototypeWindowPluginSf1.1-1.0.0.tgz
Setup:
In the root directory.
cd web ln -s ../plugins/dwPrototypeWindowPlugin/web/ dwPrototypeWindowPlugin
Attachments
- dwPrototypeWindowPlugin-1.0.0.tar.gz (184.2 kB) -
dwPrototypeWindowPlugin 1.0
, added by dwhittle on 01/03/08 08:31:31. - dwPrototypeWindowPlugin-1.0.1.tgz (134.8 kB) -
dwPrototypeWindowPlugin v1.0.1
, added by dwhittle on 03/14/08 19:45:22. - dwPrototypeWindowPluginSf1.1-1.0.0.tgz (130.9 kB) -
Pluggin created for the symfony 1.1. Fix bug _method_option_to_s()
, added by patrickespake on 07/24/08 17:31:58.