This forum is in READ-ONLY mode.
You can look around, but if you want to ask a new question, please use Stack Overflow.

dwPrototypeWindowPlugin

Forum to discuss ExtJS and other JS plugins

dwPrototypeWindowPlugin

by mdlugi » Fri Jul 04, 2008 12:47 pm

Since the update to Symfony 1.1 i got an error in/with the dwPrototypeWindowPlugin.

Code: Select all
Call to undefined function _method_option_to_s() in /path/to/the/project/plugins/dwPrototypeWindowPlugin/lib/helper/WindowHelper.php on line 230


I think this comes with the removal of prototype und scriptaculous. Does Anybody have a solution for this problem?
mdlugi
Junior Member
 
Posts: 16
Joined: Wed Jul 02, 2008 4:16 pm

Re: dwPrototypeWindowPlugin

by patrickespake » Tue Jul 15, 2008 11:59 pm

I have same problem.

This plugin just working with symfony 1.0, not working with symfony 1.1.
Patrick Espake
[url=mailto:patrickespake@gmail.com" target="_blank">patrickespake@gmail.com</a>
<a href="http://patrickespake.wordpress.com]http://patrickespake.wordpress.com[/url]
patrickespake
Member
 
Posts: 49
Joined: Tue Jan 08, 2008 2:18 pm
Location: Brasil

Re: dwPrototypeWindowPlugin

by patrickespake » Thu Jul 24, 2008 5:37 pm

http://trac.symfony-project.org/wiki/dwPrototypeWindowPlugin

http://trac.symfony-project.org/attachment/wiki/dwPrototypeW indowPlugin/dwPrototypeWindowPluginSf1.1-1.0.0.tgz

symfony 1.1

Download the file dwPrototypeWindowPluginSf1.1-1.0.0.tgz.

Put in the root directory of your project.

Installation:

Code: Select all
symfony plugin:install dwPrototypeWindowPluginSf1.1-1.0.0.tgz


Setup:

In the root directory.

Code: Select all
cd web

ln -s ../plugins/dwPrototypeWindowPlugin/web/ dwPrototypeWindowPlugin
Patrick Espake
[url=mailto:patrickespake@gmail.com" target="_blank">patrickespake@gmail.com</a>
<a href="http://patrickespake.wordpress.com]http://patrickespake.wordpress.com[/url]
patrickespake
Member
 
Posts: 49
Joined: Tue Jan 08, 2008 2:18 pm
Location: Brasil

Re: dwPrototypeWindowPlugin

by gregoire_m » Mon Jul 28, 2008 4:04 pm

Hi,
I'm trying this plug-in (on sf 1.1, it works), and I'm wondering how I can use every options available on the demos... Like disabling the rest of the window, forbiding moving the window, enabling themes, having buttons to close the window, etc.
gregoire_m
Member
 
Posts: 51
Joined: Wed May 07, 2008 10:36 am
Location: France

Re: dwPrototypeWindowPlugin

by patrickespake » Mon Jul 28, 2008 4:13 pm

I think that some features are not implemented in that pluggin.
Patrick Espake
[url=mailto:patrickespake@gmail.com" target="_blank">patrickespake@gmail.com</a>
<a href="http://patrickespake.wordpress.com]http://patrickespake.wordpress.com[/url]
patrickespake
Member
 
Posts: 49
Joined: Tue Jan 08, 2008 2:18 pm
Location: Brasil

Re: dwPrototypeWindowPlugin

by gregoire_m » Tue Jul 29, 2008 9:33 am

I've found how to apply a theme:
First, the option "'className' => 'alphacube'" must be added. Second, this has to be added:
Code: Select all
use_stylesheet('/dwPrototypeWindowPlugin/themes/alphacube.css');
gregoire_m
Member
 
Posts: 51
Joined: Wed May 07, 2008 10:36 am
Location: France

Re: dwPrototypeWindowPlugin

by patrickespake » Tue Jul 29, 2008 3:17 pm

You do not have to do that.

The pluggin already does this for you.

You need only create a symbolic link on its web directory, pointing to the directory's web pluggin.

Code: Select all
cd web

ln -s ../plugins/dwPrototypeWindowPlugin/web/ dwPrototypeWindowPlugin


Thus the pluggin can add all css and javascript.
Patrick Espake
[url=mailto:patrickespake@gmail.com" target="_blank">patrickespake@gmail.com</a>
<a href="http://patrickespake.wordpress.com]http://patrickespake.wordpress.com[/url]
patrickespake
Member
 
Posts: 49
Joined: Tue Jan 08, 2008 2:18 pm
Location: Brasil

Re: dwPrototypeWindowPlugin

by gregoire_m » Tue Jul 29, 2008 5:51 pm

I've already done the symbolic link.

Hum... I think that I have to do that because the place where the call to link_to_prototype_window() is in a DIV called in AJAX when I click on an other link...
It's pretty complicated :)~ :-)~ :smile:
gregoire_m
Member
 
Posts: 51
Joined: Wed May 07, 2008 10:36 am
Location: France