saseow
Posts: 744
|
| Posted: 04/07/2010, 10:04 AM |
|
Finally figured out drag and drop for a CCS calendar. Many hours of trial and error in this one. Have a look at :
http://redcliffcottage.co.za/calendar
I would like to sell this thing as too many tears have been shed over this :)
If anyone is interested in buying it send me a PM and let me know how much it is worth to you i.e. what you can afford. I am thinking in the range of $35 but lets hear what you have to say.
Please read the notes!!
Trevor
|
 |
 |
saseow
Posts: 744
|
| Posted: 04/07/2010, 10:10 AM |
|
Please note: When dragging the events use the little lines to the left of the event. This is because some browsers submit the form when you drop the event. Using the lines fixes this hassle.
|
 |
 |
Waspman
Posts: 948
|
| Posted: 04/07/2010, 10:23 AM |
|
Fantastic job!!! Really well done, how many hours did you say it took
_________________
http://www.waspmedia.co.uk |
 |
 |
Waspman
Posts: 948
|
| Posted: 04/07/2010, 10:24 AM |
|
just one; thing they don't stay where they're dropped,am I missing something?
_________________
http://www.waspmedia.co.uk |
 |
 |
JimmyCrackedCorn
Posts: 583
|
| Posted: 04/07/2010, 11:45 AM |
|
I'm seeing the same thing. drag and drop and then the event pops back to where it came from. using Firefox
_________________
Walter Kempees...you are dearly missed. |
 |
 |
damian
Posts: 838
|
| Posted: 04/07/2010, 2:36 PM |
|
works properly in terms of draggin but i am also seeing *strange* results when i save...
_________________
if you found this post useful take the time to help someone else.... :)
|
 |
 |
saseow
Posts: 744
|
| Posted: 04/07/2010, 9:45 PM |
|
Thank you for the feedback. Here are some notes:
1. Once you have dragged and dropped an item, you have to accept the change by clicking the green tick at the bottom of the calendar. In this way, you can drag and drop numerous events and then save them all with one click.
2. This has been tested with the following browsers: Opera, Firefox, Safari, Chrome and IE. It is always best to drag the events by clicking on the three little lines to the left of the event. FireFox and Safari do not drop if you click anywhere in the event but it does work when clicking on the three lines.
3. Any strange results you see after you have saved arise from someone else making changes while you have the page loaded. The calendar was designed to be used by a single person so in real life there will never be more than one person working on the system at one time. I do not believe that it would be possible to allow more than one person to make changes to a specific event at the same time.
I hope that this clears some things up. Please provide feedback, especially on any caveats that you come across.
Thanks!
|
 |
 |
Waspman
Posts: 948
|
| Posted: 04/08/2010, 1:09 AM |
|
nope still doesn't stay put. There's no time to accept the change cos it's back where it came from before I can click?
I'm using chrome BTW
_________________
http://www.waspmedia.co.uk |
 |
 |
saseow
Posts: 744
|
| Posted: 04/08/2010, 3:37 AM |
|
Hi Waspman,
That is very strange. I am using Chrome 5.0.342.8 beta and have no problems. When you drag over a day does a little green box appear? Once the green box shows you can drop the event into that day.
In Chrome you must drag by using the little 'handle' i.e. the three Hz. lines to the left of the item other wise Chrome submits when you drop and nothing is saved.
Please let me know how you get on.
Thanks,
Trevor
|
 |
 |
saseow
Posts: 744
|
| Posted: 04/08/2010, 3:47 AM |
|
Waspman, on further investigation, what is happening is that the text in the event is a link to the same page. So, if you grab the event by the text and drop it, the link is immediately activated and the page is refreshed. If however you grab the event in a blank area or, specifically the 'handle', these are not links so the page does not automatically refresh.
Why this occurs on some browsers and not others is a mystery to me. The rule is simply then to drag only using the three Hz. line handle.
|
 |
 |
Waspman
Posts: 948
|
| Posted: 04/08/2010, 5:26 AM |
|
That's it, ya gota drag using the lines and it works. Brilliant job!
_________________
http://www.waspmedia.co.uk |
 |
 |
saseow
Posts: 744
|
| Posted: 04/08/2010, 6:30 AM |
|
Excellent! It really works well as long as you follow the rules! :)
|
 |
 |
JimmyCrackedCorn
Posts: 583
|
| Posted: 04/08/2010, 8:32 AM |
|
you should change it so you can only drag using the correct area. it is not user friendly to allow drag and drop and then cancel the operation.
_________________
Walter Kempees...you are dearly missed. |
 |
 |
saseow
Posts: 744
|
| Posted: 04/10/2010, 5:54 AM |
|
That would be nice but not so easy. Perhaps a future update. Thanks for the feedback jimmy.
|
 |
 |
saseow
Posts: 744
|
| Posted: 04/16/2010, 12:20 AM |
|
I have taken this demo off my site as I need the space.
Thanks for all the feedback!
|
 |
 |
datadoit
|
| Posted: 04/16/2010, 5:10 AM |
|
Trevor I've seen you grow from a CCS rookie to a fast-learning novice.
Good job and keep up the good work! Look forward to more of your demos.
|
|
|
 |
saseow
Posts: 744
|
| Posted: 04/16/2010, 6:59 AM |
|
datadoit,
Thank you for the very kind words! And the truth is .... no one can feel more thankful for the help from people like you on this forum! This has to be one of the best examples of like-minded folk sharing ideas. I wonder if YES know what a gem they have in their customers. Thank you and thank all! If Walter's folk still touch here every now and again, he really was an inspiration to us all.
Actually, I love being called a novice so I will stick with that. I turn 61 next month and love fooling with this stuff.
Thanks again datadoit,
Trevor
|
 |
 |