Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

problem after jqueryui.com/themeroller/


peteravu

Recommended Posts

after I used http://jqueryui.com/themeroller/ the datepicker dont work anymore.

 

if use this code the datepicker is not showing

<link rel="stylesheet" type="text/css" href="ext/jquery/ui/mynewdesign/jquery-ui-1.8.6.css" />

if change back to this code if works fine, but oscommerce colors

<link rel="stylesheet" type="text/css" href="ext/jquery/ui/redmond/jquery-ui-1.8.6.css" />

What did I do wrong?

 

when I downloaded, I selected all components also Datepicker

Link to comment
Share on other sites

What ui version is the new theme you got? You need probably to upgrade your jQuery ui version too

Thank you very very very much Multimixer

from your help I did

Change from
<script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.6.min.js"></script>
to
<script type="text/javascript" src="ext/jquery/ui/jquery-ui-1.8.16.custom.js"></script>

and also copyed the file from the new them to ext/jquery/ui/jquery-ui-1.8.16.custom.js

 

now it works like a dream, big thanks to Multimixer for the help

Link to comment
Share on other sites

why can i not change formate from 'yy-mm-dd' to 'dd-mm-yy' than it don't get saved

 

from

<script>
$(document).ready(function(){
$('#delivery_date').datepicker({
	dateFormat: 'yy-mm-dd',
	minDate: '1d',
//		beforeShowDay: $.datepicker.noWeekends
});
});

this is saved as 2011-10-26 00:00:00 in datebaseo

change to

<script>
$(document).ready(function(){
$('#delivery_date').datepicker({
	dateFormat: 'dd-mm-yy',
	minDate: '1d',
//		beforeShowDay: $.datepicker.noWeekends
});
});

it show correct order, but save as 0000-00-00 00:00:00 in datebase

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...