Posted by YK85 on February 23, 2011 at 1:03pm
3 followers
Jump to:
| Project: | Google Maps Tools |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Hello,
I created a cck field for GMaps Address and Point and GMaps Address and GMaps Point, and want to allow 'unlimited' for number allowed, but they all only show two and no "Add another item" button shows. If I save the node, then go back to edit an additional address is available, but I think it is a bug that the "Add another item" button is not showing.
I am using Garland theme.
Please let me know if more information should be provided.
Thank you and Great Module!!
Comments
#1
It's a bug from the point of users, but not from the point of code.
GMaps fields cannot use the built-in "button" (due to js dependency problems), and the custom one hasn't been implemented yet.
#2
In the stable version (6.x-2.1), under gmaps/modules/gmaps_content/gmaps_content.module, the form_alter hook sets #access to FALSE for the 'Add another item' button. When I set it to TRUE, the button seems to work fine, also, multiple values in the DB seem to be stored with delta values. The type of field that I am using is Gmaps address. Is there something that I am missing or not understanding ?
#3
Thanks for your kind reply xmarket.
I understand now that from a code perspective it is normal.
I would like to kindly change this post into a feature request for a "Add another" button, as from an end user using the site it will be greatly beneficial if this new button is available.
We appreciate all your time and work into this great module and hope you may have time and consider this feature request.
Thank you!