Development

/plugins/dwPrototypeWindowPlugin/README

You must first sign up to be able to contribute.

root/plugins/dwPrototypeWindowPlugin/README

Revision 10937, 1.0 kB (checked in by dwhittle, 5 years ago)

dwPrototypeWindowPlugin: converted README to markdown format

Line 
1 dwPrototypeWindowPlugin
2 =======================
3
4 Overview
5 --------
6
7 The plugin provides windows and dialog boxes via the prototype library for the symfony php framework.
8
9 License
10 -------
11
12 For the full copyright and license information, please view the LICENSE
13 file that was distributed with this source code.
14
15 Installation
16 ------------
17
18
19   * *Install the plugin*
20
21     symfony plugin:install dwPrototypeWindowPlugin
22
23
24   * *Clear you cache*
25
26     symfony cc
27
28
29 Using the plugin
30 ----------------
31
32     <?php use_helper('Window'); ?>
33
34     <?php if(sfConfig::get('sf_debug')) { echo link_to_function('open js debug window', 'showDebug()'); } ?>
35
36     <?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)); ?>
37
38     <?php echo link_to_prototype_dialog('hello', 'hello world', 'alert', array('className' => 'alphacube')); ?>
39
40
41 Examples
42 --------
43
44   * [http://prototype-window.xilinus.com/samples.html]
45
Note: See TracBrowser for help on using the browser.