Allow Default Macro to Update Existing Values
locomo - August 26, 2009 - 05:22
| Project: | GMap Field |
| Version: | 6.x-1.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
Not sure if this is a bug or a feature request.
1. I've added a gmapfield to a content type and set a default gmap macro, set 1 required value and set disable macro input.
2. Create some nodes.
3. Go back into the content type and modify the macro (change the size of the map)
When I do this the existing nodes don't reflect the new map size and because i've disabled the macro input I can't manually change the macro on a per node basis.
Ideally if disable macro input is selected it seems like a change in the default macro should force an update to all of the existing nodes.
thoughts?
thanks!!

#1
Yeah. This is a tough one (though a good one). The only way I know how to do this is to update all the fields in the DB with the new value (manually). It would have to only change maps that were the old default, too, since there are ways to have a default map field with old custom maps. Its not too bad, but a little more than I can take on right now.
#2
#3
Thanks for your response.
I'll look forward to the fix when you have time. As my site starts to get bigger its becoming quite a chore to go in and change a lot of nodes if I have to tweak the layout and change maps sizes etc.