DMXzone Calendar 3 Support Product Page

Under investigation

Calendar 2 Issues After Installing Calendar 3

Reported 23 Feb 2015 15:51:20
1
has this problem
23 Feb 2015 15:51:20 Keith Mears posted:
I have been using Calendar 2 for a long time on my site with no problems but today when opening a page with the calendar in Dreamweaver it decided to upload Calendar 2 files (4 of them) and now calendars are not working on the site and when I try to open the advanced panel an "inspectSelection in dmxCalendar2.htm Javascript error occurred" error message occurs. I have just installed Calendar 3 will that have changed something?

Hope you can help.

Keith

Replies

Replied 23 Feb 2015 16:29:14
23 Feb 2015 16:29:14 Keith Mears replied:
Hi

I have now started a new page to test Calendar 3 and when I try to insert the Calendar I am strangely getting the same message "inspectSelection in dmxCalendar2.htm, a JavaScript error occurred, this error message now. I am working on a new blank .php page. When I insert the page it is also trying to upload the same files as I described has been occurring when I open other pages: ScriptLibrary:dmxCalendar2.js / ScriptLibraryjquery-latest.pack.js / Styles:date picker.gif / Styles:dmxCalendar2.css.

Can someone help please.

Regards

Keith
Replied 23 Feb 2015 16:31:32
23 Feb 2015 16:31:32 Teodor Kuduschiev replied:
Hello Keith,
Please reinstall the extension using DMXzone Extension Manager.
Replied 23 Feb 2015 16:38:31
23 Feb 2015 16:38:31 Keith Mears replied:
Have reinstalled with no changes still getting the error message, I did have to upload the same files again. Do I need to delete the extensions and then reinstall them? I am assuming Calendar 2 is still available to download?

Regards

Keith
Replied 23 Feb 2015 16:40:21
23 Feb 2015 16:40:21 Teodor Kuduschiev replied:
It seems something is not correctly installed. Please completely uninstall the Calendar 2 and install Calendar 3.
Replied 24 Feb 2015 09:14:56
24 Feb 2015 09:14:56 Keith Mears replied:
Hi Teodor

I have now uninstalled and reinstalled Cal 3 but only with some success: I have 4 calendars that all worked well before and no only two of them work and I have entered the advanced section of each to upload any new files so assume I will have to delete old and set them up again!

The other issue I have is that when putting in conditional dates with the dmx Data Bindings I get a error when the page opens "HTML5 Data Bindings Required". I do have a connection because I am bringing in the initial date from the HTML5 Data Bindings . There are two calendars on the page the top one has no conditional formatting and the bottom one does. The top one works fine. Start and finish dates on the page are from the same HTML5 Bindings datasource to show the bindings is working fine, the dates in the calendar are also coming from the HTML5 Data Bindings. You can see the page here: suffolkdays.co.uk/control/cp/CalTest.php?EventNo=244

Hope this makes sense and you can help further.

Regards

Keith
Replied 24 Feb 2015 10:24:36
24 Feb 2015 10:24:36 Teodor Kuduschiev replied:
Hi Keith,
the second calendar has issue with the conditional dates, as the way the data is formatted in the calendar and with the html5 data bindings formatter is different.
In the format tab you have:

(check the yellow help tips to see what the format means)

The data, that comes from the data bindings in the formatting tab is formatted differently:

(check the yellow help tips to see what the format means)

Please make sure both format the date the same way. And the date format used here does not need to be the same as the date format of the calendar, that is shown to the users on the page...
Replied 24 Feb 2015 10:43:24
24 Feb 2015 10:43:24 Keith Mears replied:
Hi Teodor

Yes, I have them set the same, d M yy on all of them, the conditional format reads: {{Events_EventStartDate.formatDate( "d M yy" )}} in the formatting date field. The initial date is set using the same field and that works fine, the dates in the database are set like 25 Aug 2015.

I have been using this with Calander 2 with the dreamweaver bindings and it was working fine then so am confused.

Keith
Replied 24 Feb 2015 10:55:38
24 Feb 2015 10:55:38 Keith Mears replied:
Hi Teodor

Here is the full script from the calendar if that helps.

<input class="dmxCalendar2" name="FinishDate" id="FinishDate" value="{{EventListing.data[0].Events_EventFinishDate}}" readonly="readonly" />
<script type="text/javascript">
// <![CDATA[
jQuery(document).ready(
function()
{
jQuery("#FinishDate".dmxCalendar2(
{"dateFormat": "d M yy", "defaultDate": "{{EventListing.data[0].Events_EventFinishDate}}", "minDate": "+0", "maxDate": "+10y", "altFormat": "yy-mm-dd", "showButtonPanel": true, "showOtherMonths": true, "selectOtherMonths": true, "condFormat": "d M yy", "condDates": [{"date": "{{Events_EventStartDate.formatDate( \"d M yy\" )}}", "till": "", "cls": "", "tooltip": "", "enabled": true, "cond": "", "dsName": "EventListing", "dsType": "dmxDataSet", "repeatElement": "{{EventListing.data}}"}], "firstDay": 1, "showOn": "both", "changeMonth": true, "changeYear": true, "showAnim": "fadeIn", "duration": 1000, "showOptions": {"direction": "down", "easing": "swing"}, "yearRange": "c-10:c+10", "constrainInput": true, "autoSize": true, "showWeek": true}
);
}
);
// ]]>
</script>

Hope this helps

Keith
Replied 24 Feb 2015 10:56:05
24 Feb 2015 10:56:05 Teodor Kuduschiev replied:
Hi Keith,
Please check both yellow help tips.
d M yy format used in the calendar is NOT THE SAME as d M yy used in the formatter! Pelase check the screenshots in my previous post.
What do you mean by: "the dates in the database are set like 25 Aug 2015." aren't you using a DATE Field in your database?!
Replied 25 Feb 2015 09:24:30
25 Feb 2015 09:24:30 Keith Mears replied:
Dear Teodor

I do share your frustrations! I left this yesterday to clear my brain of any influence of selected reading and there obviously was some! However, I am sure there are reasons but it is amazing that date formatting changes from one panel to another without any real explanation, I see I am not the only one falling for this. It now works, all I have to do now is go back and make the calendars (and date pickers) that don’t work since loading Calendar 3 function again.

One thing I have noticed, it works fine with 2 separate sources in the conditional formatting but if there is a double entry, 2 calendar items on the same date either from the same source, or separate, it does not repeat to show both events just one of them. Is this something that can be considered as an improvement for the future?

Thanks for your help and I appreciate your patience.

Regards

Keith
Replied 25 Feb 2015 09:46:37
25 Feb 2015 09:46:37 Teodor Kuduschiev replied:
Hi Keith,
I am not sure i understand the issue you are having with the "double entry" - could you please explain this a little more detailed?
Replied 25 Feb 2015 09:58:22
25 Feb 2015 09:58:22 Keith Mears replied:
Hi Teodor

Yes, I am referring to 2 database entries in the same time frame: Event 1 starts on 25-08-2014 and ends on 30-08-2015 and Event 2 starts on 26-08-2015 and finished on 27-08-2015. In this instance I can only see one of the events when I hover over 26th & 27th, needs a repeating element on the “tooltip” entry I presume!

Hope this explains

Keith
Replied 25 Feb 2015 10:08:39
25 Feb 2015 10:08:39 Teodor Kuduschiev replied:
Thanks for the information, i will check this.
Replied 25 Feb 2015 16:07:12
25 Feb 2015 16:07:12 Keith Mears replied:
Hi Teodor

My problems continue, I have used the behaviour connector with Calander 2 but do not have the connector icon in the Calander 3 Properties panel. Sure I am missing something simple but can you help please?

Regards

Keith
Replied 25 Feb 2015 16:12:48
25 Feb 2015 16:12:48 Teodor Kuduschiev replied:
Hi,
The behaviors icon is located into the properties inspector:
Replied 25 Feb 2015 16:16:01
25 Feb 2015 16:16:01 Keith Mears replied:
Hi

Not on mine it's not! I only have the design colour pallet in the bottom right.
Replied 25 Feb 2015 16:16:36
25 Feb 2015 16:16:36 Teodor Kuduschiev replied:
What is your OS and DW version?
Replied 25 Feb 2015 16:20:18
25 Feb 2015 16:20:18 Keith Mears replied:
DW 5.5 and OS10.9.5
Replied 26 Feb 2015 09:22:46
26 Feb 2015 09:22:46 Keith Mears replied:
Hi Teodor

Here is a link to a screen grab of the Properties panel for the Calander 3, you can see here the screen seems to get cropped and preventing the behaviours button from showing. Image attachment not available on the "Reply To Topic' on the support page or I would have added to this post..

suffolkdays.co.uk/control/cp/dmxCal3Properties.php
Replied 26 Feb 2015 09:35:59
26 Feb 2015 09:35:59 Teodor Kuduschiev replied:
Hi Keith,
Please download the following file: www.dmxzone.com/demo/dmxCalendar3.htm (right click -> save link/target as) and replace the existing one with it here:
MAC: MacHD : Users : <username> : Library : Application Support : Adobe : Dreamweaver CS5.5 : <language> : Configuration : Inspectors
Then restart DW and the issue should be fixed.
Replied 26 Feb 2015 09:54:04
26 Feb 2015 09:54:04 Keith Mears replied:
Hi Teodor

Excellent that has done the trick.

Thanks again for the prompt support.

Keith

Reply to this topic