No, it's nothing you are doing wrong, the code that checks if it's mandatory wasn't implemented.
I'll look to add this to the next patch release, (should have time on Friday to implement it - unless you're a developer and want to patch it before then?)
Thank you for your reply. I did the patch, that makes possible to make google map property mandatory. It was easy to do with ValidationProperty attribute.
Do you have a BitBucket account? If so, then the usual approach is to make a fork from the main repository, apply your changes, commit and push up to your fork. From there you can make a Pull Request (via the BitBucket website) ... and I'd handle the rest.
If you don't have a BitBucket account, then no worries, drop me an email, (via my contact form) and we'll sort out how to get a patch sent over.
Make a fork, (warning the repo is large - as it currently has both v4 and v5 branches in there), then make a pull request. I can't say how long it will take for your pull request to be accepted, since v5 has been discontinued and efforts refocused on v4, we are working on future roadmaps, etc.
Make field mandatory
Hi.
Is it possible to make Google Map datatype as mandatory field? Checking "Mandatory" in document type doesn't help. May be i am doing something wrong?
Thanks in advanced.
Dmitriy
Hi Dmitriy,
No, it's nothing you are doing wrong, the code that checks if it's mandatory wasn't implemented.
I'll look to add this to the next patch release, (should have time on Friday to implement it - unless you're a developer and want to patch it before then?)
https://bitbucket.org/vertino/google-maps-for-umbraco/src
Cheers, Lee.
Hi Lee.
Thank you for your reply. I did the patch, that makes possible to make google map property mandatory. It was easy to do with ValidationProperty attribute.
I have checked in changes.
Best Regards, Dmitriy
Cool, sounds great. Feel free to make a Pull Request on the BitBucket repo.
Cheers, Lee
Hi Lee.
I am trying to find funtionallity or button "Create Pull Request" but i can't. May be i need to have some spesial permission to repository or?
I am new to TortoiseHg. I can send a file to you with changes.
Also i have some fixes to Umbraco 4.7.x. To whom i can talk to check them in into sources?
Thanks, Dmitriy
Hi Dmitriy,
Do you have a BitBucket account? If so, then the usual approach is to make a fork from the main repository, apply your changes, commit and push up to your fork. From there you can make a Pull Request (via the BitBucket website) ... and I'd handle the rest.
If you don't have a BitBucket account, then no worries, drop me an email, (via my contact form) and we'll sort out how to get a patch sent over.
Thanks, Lee.
Hi Lee.
Thank you for help! I am and my content managers are happy now :)
Dmitriy.
Thank you Dmitriy, I got your pull request and all good! :-D #h5yr
With Umbraco 4.x, it's a similar approach, but over on CodePlex: http://umbraco.codeplex.com/SourceControl/list/changesets?branch=4.8.0
Make a fork, (warning the repo is large - as it currently has both v4 and v5 branches in there), then make a pull request. I can't say how long it will take for your pull request to be accepted, since v5 has been discontinued and efforts refocused on v4, we are working on future roadmaps, etc.
Cheers, Lee.
Thank you for guiding me. I will try do it with umbraco as well.
One more time thank you.
Dmitriy
Hi Dmitriy,
Just to let you know that I've just released Google Maps 2.0.4 - which contains your patch!
http://our.umbraco.org/projects/backoffice-extensions/google-maps-datatype
Thanks again, Lee.
Hi Lee.
Thank you for notice. I already did a build, and your solution has nice MSBuild support, that producing package file. Very nice!
Will look today on umbraco fixes.
Thanks, Dmitriy
is working on a reply...