an ASP.NET Open Source CMS & eCommerce platform
Search:
Last Post 12/16/2010 12:28:25 PM By Bahram. 10 replies.
11/22/2010 9:58:34 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Bug in DSC Calendar
 Hi,
 
The DSC Calendar is not correct. Try create a coupon and it shows the Nov 2010, one day wrong :
Th 17, Fri 18, Sa 19, Su 20, Mon 21
 
Which is one day back. The Bug comes on Nov 7 when Both Sun and Mon are 7.
 
Please Fix it ASAP. I will send screen shot in email.
 
Thanks,
 
 
11/22/2010 10:15:21 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Bug in DSC Calendar
Interesting. DSC is using JQuery to display Calendar picker. We will upgrade to the newer version JQuery. You can upgrade JQuery yourself if you cannot wait.
DotShoppingCart Staff
11/22/2010 11:14:43 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Bug in DSC Calendar
 would you please briefly mention which folder or file needs to be updated
11/22/2010 11:39:18 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Bug in DSC Calendar
 DSC uses jquery-1.2.6.min.js and jquery-ui-1.5.2.min.js
 
on jQuery site the download is one code file and version is 1.4.4
 
 Please tell what files need to be updated.
 
Thanks
11/22/2010 11:56:06 AM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Bug in DSC Calendar
DSC 4.1 is using JQuery 1.3.2. You will need to update Web\JS\jquery-1.3.2.min.js, jquery-ui-1.7.2.min.js and themes subfolder. You probably need to update web.config to point to the correct JQuery files.
 
            <add name="JQueryThemePath" value="JS/themes/smoothness/jquery-ui-1.7.2.custom.css"/>
            <add name="JQuery" value="JS/jquery-1.3.2.min.js"/>
            <add name="JQueryUI" value="JS/jquery-ui-1.7.2.min.js"/>
 
DotShoppingCart Staff
11/22/2010 12:32:14 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Bug in DSC Calendar
 We are using V 4.0 and before your post I downloaded  ui-1.8.6 and 1.4.2.min and smooth/*.css
I also updated the web.config and after refreshing and running the site , I have no Date picker icons.
 
Should I go with 1.7.X as you said? 
11/22/2010 1:15:33 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Bug in DSC Calendar
I fixed config file Now my code is running on 1.8. This is my test site. And I want to make sure updating jQuery on main store site will not have any side effects.
 
Is it Ok to go with 1.8 ?
 
11/22/2010 1:30:06 PM
lukezy
Posts: 2109
Joined: 6/12/2007
Location:WA, US
Re: Bug in DSC Calendar
I recall there were breaking changes from 1.5 to 1.7.Just make sure the popup window scenario is good. Try to use page editor to see if it works.
DotShoppingCart Staff
11/26/2010 11:13:28 AM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Bug in DSC Calendar
 Anyway I went with 1.8.6 which is stable and latest version. Do you use jQuery for image carousel?  Then you can use graphic buttons for pause/play inside the image frame.
 
12/16/2010 12:26:31 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Bug in DSC Calendar
<div class="Section1"> <p class="MsoNormal" style="line-height: 18pt; margin-bottom: 7.5pt; margin-left: 0in; margin-right: 0in; mso-margin-top-alt: 7.5pt"><font color="#000000" size="2" face="Arial"><span style="font-family: Arial; color: black; font-size: 10pt">Hi luke,<o:p></o:p></span>

<p class="MsoNormal" style="line-height: 18pt; margin-bottom: 7.5pt; margin-left: 0in; margin-right: 0in; mso-margin-top-alt: 7.5pt"><font color="#000000" size="2" face="Arial"><span style="font-family: Arial; color: black; font-size: 10pt">I did according to your instructions :<o:p></o:p></span>

<p class="MsoNormal" style="line-height: 18pt; margin-bottom: 7.5pt; margin-left: 0in; margin-right: 0in; mso-margin-top-alt: 7.5pt"><font color="#000000" size="2" face="Arial"><span style="font-family: Arial; color: black; font-size: 10pt">DSC 4.1 is using JQuery 1.3.2. You will need to update Web\JS\jquery-1.3.2.min.js, jquery-ui-1.7.2.min.js and themes subfolder. You probably need to update web.config to point to the correct JQuery files.<o:p></o:p></span>
 

<p class="MsoNormal" style="line-height: 18pt; margin-bottom: 7.5pt; margin-left: 0in; margin-right: 0in; mso-margin-top-alt: 7.5pt"><font color="#000000" size="2" face="Arial"><span style="font-family: Arial; color: black; font-size: 10pt"><add name="JQueryThemePath" value="JS/themes/smoothness/jquery-ui-1.7.2.custom.css"/>
</span><font color="#000000" size="2" face="Arial"><span style="font-family: Arial; color: black; font-size: 10pt"><add name="JQuery" value="JS/jquery-1.3.2.min.js"/>
 <add name="JQueryUI" value="JS/jquery-ui-1.7.2.min.js"/><o:p></o:p></span>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-family: Arial; font-size: 10pt"><o:p></o:p></span>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-family: Arial; font-size: 10pt">The Calendar error is fixed but the date ranges are not working in either 1.3.2 or 1.4.4 of jQuery. You will need to fix DSC code or release updates.<o:p></o:p></span>

<p class="MsoNormal"><font size="2" face="Arial"><span style="font-family: Arial; font-size: 10pt"><o:p> </o:p></span><font size="2" face="Arial"><span style="font-family: Arial; font-size: 10pt">Bahram<o:p></o:p></span>

12/16/2010 12:28:25 PM
Bahram
Posts: 878
Joined: 12/8/2008
Location:Vancouver, BC Canada
Re: Bug in DSC Calendar removed but date ranges do not work
Hi luke,
 
I did according to your instructions:
 
DSC 4.1 is using JQuery 1.3.2. You will need to update Web\JS\jquery-1.3.2.min.js, jquery-ui-1.7.2.min.js and themes subfolder. You probably need to update web.config to point to the
correct JQuery files.
 
            <add name="JQueryThemePath" value="JS/themes/smoothness/jquery-ui-1.7.2.custom.css"/>
            <add name="JQuery" value="JS/jquery-1.3.2.min.js"/>
            <add name="JQueryUI" value="JS/jquery-ui-1.7.2.min.js"/>
 
The Calendar error is fixed but the date ranges are not working in either 1.3.2 or 1.4.4 of jQuery.

Bahram