Hello!

Thanks for your reply, but none of your solutions worked for me. By
the way the sfLoader is deprecated and was removed since symfony
version 1.4.

I found the sfContext::getInstance()->getConfiguration()-
>loadHelpers() method which works perfectly.

Two questions remaing:
1) How does it come that standard_helpers in settings.yml are not
beeing correctly loaded in forms or actions?
2) What's the problem with accessing helpers in the form method?


Thx


On 4 Mrz., 03:05, "Antoine S." <[email protected]> wrote:
> it should be :
> use_helper('IDontKnowTheName');
>
> or in settings.yml :
>     standard_helpers:       [Partial, Cache, I18N, IDontKnowTheName]
>
> to be able to access from a template.
>
> You should not access from a form.
> (If you have too .. you could use sfLoader::loadHelpers() to load the
> helper)
>
> On Mar 4, 1:11 pm, ScherlOMatic <[email protected]> wrote:
>
> > Hello!
>
> > Unfortunately I'm having a minor problem with this plugin.
>
> > I installed it with the "plugin:install" command, did "publish-assets"
> > and everything went fine. It has been enabled in my
> > ProjectConfiguration and the web dir has also been created
> > successfully.
>
> > Now I'm calling one of the helper functions within one of my form
> > classes which gives me an error.
> > "Fatal error: Call to undefined function jq_link_to_remote() in ..."
>
> > I also tried to ask Google for this error code, but without success.
>
> > Hope somebody could give me a hint, where to enable/load the
> > jqueryreloaded functions.
>
> > Thx and good night Stefan

-- 
If you want to report a vulnerability issue on symfony, please send it to 
security at symfony-project.com

You received this message because you are subscribed to the Google
Groups "symfony users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/symfony-users?hl=en

Reply via email to