I guess we need some css as well. When I click on input field teh calendar appears on top of the page. Additionally false is written on top;
On Mon, Sep 7, 2009 at 5:25 PM, Noor Mustafa <[email protected]> wrote: > step # 1 > Hi , i have sent u calander.zip, in this folder there are two javascript > file (calander.js and Jquery.js) put both file in yourproject/web/js folder > > Step#2 > Go to > apps/frontend/config/view.yml > > default: > http_metas: > content-type: text/html > metas: > #title: symfony project > #description: symfony project > #keywords: symfony, project > #language: en > #robots: index, follow > stylesheets: [main.css] > javascripts: [calendar.js, jquery-1.js ] //add both two > javascript file here... > has_layout: on > layout: layout > > > step#3 > > to go form just rename/adjust ur widget like below: > > class FixedAssetForm extends BaseFixedAssetForm > { > public function configure() > { > > $this->setWidgets(array( > > 'date_of_purchase' => new > sfWidgetFormInput(array(),array('onfocus' => 'showCalendarControl(this);')), > > )); > > > } > > } > > you will see the newSuccess pages, when u focus on inputfield it will show > the calander..any query/problem u may freely ask , if it doesn't work... > > Regard, > > NOOR Mustaft > Software Engineer > > > > > > > > ################################################################# > > Date: Mon, 7 Sep 2009 04:14:30 -0700 > > Subject: [symfony-users] calendar using new sfWidgetFormDate() > > From: [email protected] > > To: [email protected] > > > > > > > Hi > > > > Does any one knows how to make javascript calendar available via [new > > sfWidgetFormDate()] widget? > > Did many search over web but could not find something useful :( > > > > Krishan.g > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
