Calendar doesn't displayed using sfJQueryUIPlugin

I have installed the sfJQueryUIPlugin for my project, which I want to display a date picker for a birthday selection. therefore after installation I've change my form widgets to

"date_of_birth" =>new sfWidgetFormDateJQueryUI(array("change_month" => true, "change_year" => true)),

But when I viewing the template it only appears a input box. No calender displaying.

Any idea?

This is plugin which i used sfJQueryUIPlugin Is there any other way or plugin which i can use as a date picker for symfony ... please give me an idea..


When you use js and css from plugins you should execute this command:

php symfony plugin:publish-assets

This will copy the files in your web folder.

For a better explanation check the assets section in

You can add normal text widget to the form with id="date_of_birth" and simply use javascript slot wit jQuery (in view template):

<?php append_to_slot('javascript'); ?>

  $(function() {

<?php end_append_to_slot(); ?>

Need Your Help

Android, assigning value to variables in onActivityResult method?

android variables variable-assignment subactivity

I'm trying to retrieve some information from my onActivityResult method, in my case is a picture the user has selected in a subactivity, i believe that is working fine, what i am having problems wi...

CSS padding rule being ignored?

html css

Basically when I try to define different padding amounts for the TRBL the rule gets ignored, but when I just define one padding amount the rule works.

About UNIX Resources Network

Original, collect and organize Developers related documents, information and materials, contains jQuery, Html, CSS, MySQL, .NET, ASP.NET, SQL, objective-c, iPhone, Ruby on Rails, C, SQL Server, Ruby, Arrays, Regex, ASP.NET MVC, WPF, XML, Ajax, DataBase, and so on.