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

load file problem with modalbox plugin

Forum to discuss ExtJS and other JS plugins

load file problem with modalbox plugin

by whalexis » Tue Nov 11, 2008 6:26 pm

Hi,

I'm trying to figure out to make this plugin working the way is should.
Actually, it's now working on my application but I have to make to modifications.

First I simply added the sfmodalboxplugin with this command
Code: Select all
php symfony plugin:install sfModalBoxPlugin --release=1.0.0

Then I added the plugin name in my setting.yml file to enable it.
Finally I ran the clear cache command.

And I would be able to make it works. But no.

The error message is that the modalbox object doesn't exists. So I've added the modalbox javascript file in the view.yml file.
It happenned also with the effects and scriptaculous javascript files so I added them too to the view.yml file.
And now it works.

But it's not the good way to make it work. Do you have any ideas on how to make it work "out of the box"?

Alexis
whalexis
Faithful Member
 
Posts: 207
Joined: Wed Jul 16, 2008 7:14 pm