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

Call to undefined function javascript_tag()

Forum to discuss ExtJS and other JS plugins

Call to undefined function javascript_tag()

by etoileweb » Tue Nov 02, 2010 10:19 am

Hi,
I installed sfExtraWidget Plugin (http://www.symfony-project.org/plugins/sfExtraWidgetsPlugin), following instructions given on this page http://symfony.swisscenter.com/extrawidgets/rich, in order to have a wysiwyg editor on my page, but when I load the page, it display this error
Code: Select all
Fatal error: Call to undefined function javascript_tag() in C:\wamp\www\...\sfExtraWidgetFormRichTextarea.class.php on line 55

I can't see where this error comes from. I checked the JavascriptBaseHelper.php file, which is in the helper folder in the lib directory, and the javascript_tag() was quite defined.
Any help please ?
etoileweb
Member
 
Posts: 31
Joined: Thu Aug 26, 2010 7:53 am

Re: Call to undefined function javascript_tag()

by defaka » Tue Nov 02, 2010 6:37 pm

I haven't tried this plugin before. May be you could load the javascript helper in your template manually
Code: Select all
<?php use_helper('JavascriptBase') ?>
defaka
Senior Member
 
Posts: 148
Joined: Mon Feb 19, 2007 5:56 am

Re: Call to undefined function javascript_tag()

by etoileweb » Thu Nov 04, 2010 12:09 pm

Worked fine, thanks
etoileweb
Member
 
Posts: 31
Joined: Thu Aug 26, 2010 7:53 am

Re: Call to undefined function javascript_tag()

by mayofunk » Thu Feb 24, 2011 4:10 am

I had the same problem working with ajax (inserting new html code with a call to the helper).
This work for me too ! thanks !!

but, my question is why happens this?

Greetings !

ps, sorry by my english !
mayofunk
Junior Member
 
Posts: 1
Joined: Sat Oct 09, 2010 10:14 pm

Viagra prix en France

by Terramenn » Sun Feb 27, 2011 11:04 am

The post is good,I am glad to read this post. Levitra pas cher <a href="http://www.archive.org/details/LevitraPasCher.ViagraPetitPrix">Levitra pas cher</a> , Viagra petit prix Viagra prix en pharmacie.
Terramenn
Junior Member
 
Posts: 1
Joined: Sun Feb 27, 2011 10:45 am