⚠ In case you've missed it, we have migrated to our new website, with a brand new forum. For more details about the migration you can read our blog post for website migration. This is an archived forum. ⚠

  •     

profile picture

Fixing Persian datepicker (UI Problem)



Hamed
  • profile picture
  • Member

Posted 04 January 2013 - 06:41 AM

Hello,
while I am trying to fix Persian(Farsi) datepicker I got one problem.
I try to use jQueryUI without datepicker and add fixed datepicker and I use these codes:

$crud->unset_jquery_ui();
$crud->set_js('assets/grocery_crud/js/jquery_plugins/ui/jquery.ui.core.minFixed.js');

but after I addd these code ui core doesn't work and I don't know what is the problem
Can any one help me?
also I try these code:

$crud->unset_jquery_ui();
$crud->set_js('assets/grocery_crud/js/jquery_plugins/ui/minified/jquery.ui.core.min.js');
$crud->set_js('assets/grocery_crud/js/jquery_plugins/ui/minified/jquery.ui.widget.min.js');
$crud->set_js('assets/grocery_crud/js/jquery_plugins/ui/minified/jquery.ui.mouse.min.js');
$crud->set_js('assets/grocery_crud/js/jquery_plugins/ui/minified/jquery.ui.draggable.min.js');
$crud->set_js('assets/grocery_crud/js/jquery_plugins/ui/minified/jquery.ui.sortable.min.js');
$crud->set_js('assets/grocery_crud/js/jquery_plugins/ui/minified/jquery.ui.button.min.js');
$crud->set_js('assets/grocery_crud/js/jquery_plugins/ui/minified/jquery.ui.slider.min.js');

But not work.

Hamed
  • profile picture
  • Member

Posted 06 January 2013 - 13:37 PM

no one can help me?

Hamed
  • profile picture
  • Member

Posted 12 January 2013 - 12:46 PM

No one can help me ?
It is really important~!

web-johnny
  • profile picture
  • Administrator
  • 1,166 posts

Posted 16 January 2013 - 08:14 AM

Hello [member='Hamed'], I think the reason that it is not working is because you forgot to add the jquery as a library. So in your case try this:


$crud->set_js('assets/grocery_crud/js/jquery-1.8.2.min.js');
$crud->unset_jquery_ui();
$crud->set_js('assets/grocery_crud/js/jquery_plugins/ui/jquery.ui.core.minFixed.js');
...