Note the upgraded forum! If you are experiencing issues logging in, you may need to reset your password which should send an email. If the email doesn't arrive, be sure to check your spam folder just in case.

datepicker need add_edit ?

edited March 2011 in Modules
Just find out this, not sure why.

I build advance module with custom controller , using the form builder library , with date field , but the datepicker jquery doesn't show , the small icon beside the date field never appear, until I reference the blog module and added this in my controller, then the datepicker icon appear.

$this->js_controller_params['method'] = 'add_edit';

not really understand this part, is it a bug ?

Comments

  • edited 5:55AM
    The code to initiate the datepicker is in the fuel/modules/fuel/assets/js/fuel/controller/BaseFuelController.js file's add_edit method. We are thinking about compartmentalizing the different Form_builder types a little more to help with issues like this, but at the moment, the solution is to either use the BaseFuelController or extend it.
  • edited 5:55AM
    noted, thanks
Sign In or Register to comment.