Closed (fixed)
Project:
GMap Field
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
7 Nov 2008 at 13:04 UTC
Updated:
28 Dec 2008 at 18:28 UTC
I clear the default value [gmap] to null,but it doesn't work.
What should I do if I want a optional field ,people can just ignore it and show no map?
Great jobs!
Comments
Comment #1
zzolo commentedOriginally, I thought there had to be at least [gmap ]. But you are right, there should be the ability to have nothing.
Comment #2
zzolo commentedfixed in dev version.
Comment #3
zilla commentednope - reopening: i am now *unable* to save a default macro for a CCK gmap field (odd) - works when manually entered in node, but default can not be saved...
perhaps a leave as default with a little ajaxy 'empty this' button to wipe text?
Comment #4
zzolo commented@zilla
The button is a little unnecessary.
I will look into this soon. I want to integrate some SimpleTests into this module as well, so that I can easily see these problems. And testing is awesome.
Comment #5
zilla commentedi hear you on the button, just meant that if this is 'by design' then there should be an easy way for users to erase it without having to read a text instruction placed by admin like 'if you don't want to be on the map...'
Comment #6
zilla commentedstill not seeing any entered "default value" appear in the node add process - is this by design??? for now i just do a manual cut and paste of a macro each and every single time which is not a realistic thing to present to users (fine for admin, though tedious)
Comment #7
zzolo commentedJust to clarify, you are using the CCK Default Field field when creating the CCK field? Every CCK Field allows for defaults. It is usually collapsed by default.
Comment #8
zilla commentedyes, i paste the macro into the default field (where the default macro is to be placed) and then when i go to create a node with the field it is still empty....
Comment #9
zzolo commented@zilla
Sorry. I am currently writing tests for this module, and for myself for the first time, so its a learning experience. This will allow a lot easier maintainability and stability for the module. I will update as soon as my time allows.
Comment #10
zilla commented@zzolo - thanks! glad that you're working on it period, figure a fix will come eventually - otherwise the field works just fine!
Comment #11
zzolo commentedNew dev version should have default problems fixed in it. Probably wont show up as a release until tomorrow.