If, after installation, the Date Range Picker appears to be read-only (it has the disabled cursor on it) then it's because Umbraco isn't loading the new javascript (it is still getting the old cached version). This seems to be a common problem in Umbraco 7.
Normally force reloading CTRL-F5 the page the Date Range Picker is on will solve this. You can also try touching web.config and, if desperate, try enabling debug="true" in web.config. If you use Chrome you can also disable cache in the Developer Tools menu.
Thanks for the quick reply. I tried it again without even emptying the cache, and it seems to be working perfectly now. I've been looking for something like this for a while, so thanks for making it.
I have a couple suggestions:
I think there should either be a dropdown menu for Date Format with common selections, and a textstring as a fallback if you want something that's not in there, or at least a link to some documentation on the proper syntax you can use in the Date Format description.
I think it would help to show the total day/time duration of the range next to the picker somewhere.
Glad you got it working. The caching thing in Umbraco 7 is a bit frustrating, but hopefully this will be addressed in new updates so it isn't a problem for people.
Both your suggestions are good ones. I did actually toy around with the second option a bit, but wasn't satisfied with how it worked. But it's something I'll definitely look at adding.
Regarding the formatting, you can find more info at http://momentjs.com/docs/#/displaying/format/ ; I agree, though, a dropdown might be helpful. I'll just need to work out how you do this for pre-values in 7 :)
Date Range Picker Appears Read Only?
If, after installation, the Date Range Picker appears to be read-only (it has the disabled cursor on it) then it's because Umbraco isn't loading the new javascript (it is still getting the old cached version). This seems to be a common problem in Umbraco 7.
Normally force reloading CTRL-F5 the page the Date Range Picker is on will solve this. You can also try touching web.config and, if desperate, try enabling debug="true" in web.config. If you use Chrome you can also disable cache in the Developer Tools menu.
Hi Dan,
Thanks for the quick reply. I tried it again without even emptying the cache, and it seems to be working perfectly now. I've been looking for something like this for a while, so thanks for making it.
I have a couple suggestions:
I think there should either be a dropdown menu for Date Format with common selections, and a textstring as a fallback if you want something that's not in there, or at least a link to some documentation on the proper syntax you can use in the Date Format description.
I think it would help to show the total day/time duration of the range next to the picker somewhere.
Hi David,
Glad you got it working. The caching thing in Umbraco 7 is a bit frustrating, but hopefully this will be addressed in new updates so it isn't a problem for people.
Both your suggestions are good ones. I did actually toy around with the second option a bit, but wasn't satisfied with how it worked. But it's something I'll definitely look at adding.
Regarding the formatting, you can find more info at http://momentjs.com/docs/#/displaying/format/ ; I agree, though, a dropdown might be helpful. I'll just need to work out how you do this for pre-values in 7 :)
is working on a reply...