Where do I go to directly alter the default values of the locations when adding new nodes?
I am trying to create a link from a node with an assigned location to the node/add/nodetype, which is then prepopulated with referring node's lat/lon.
The idea is to (in a custom module) use $_GET to retrieve the values from URL,
then (if numeric etc) put them in on the proper places in the location array.
If not in a module, is there a way to change lat/lon in the theme template instead?
Comments
Comment #1
yesct commentedform_alter?
tagging. location auto-complete (I used this for more than auto-complete, also for like location inheritance, for example initializing node location edit form default to user location, someone could go back and make a new tag, and fix mine... )
Comment #2
farald commentedComment #3
farald commentedSeems like I have duplicated myself..:D
http://drupal.org/node/369591
Comment #4
yesct commented#369591: node/add/nodetype: Default lat/lon-values by modifying $form
(adding the nice [#nnnnnn] notation)