Closed (fixed)
Project:
Content Construction Kit (CCK)
Version:
6.x-2.6
Component:
Token Integration
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
31 Jan 2010 at 01:46 UTC
Updated:
12 Apr 2012 at 07:52 UTC
Comments
Comment #1
cousett commentedI am looking to do this as well any help would be great.
Comment #2
ionmedia commented+1
Comment #3
kbk commentedI was looking for an answer to this as well and I'm fairly certain the answer is here #639858: Where to look for information on token support in CCK?. To quote markus_petrux:
I can see a case for changing this to a feature request or documentation issue but will leave that to someone else.
Comment #4
kbk commentedAlso, I found yched's comment here to be a helpful baby step in setting default values via php code. If the link makes you wonder what information is actually within $user you can find that here.
Comment #6
dc_marc commentedI have this exact same need as well. Specifically, I am trying to set the default of a select list (called State) to be equal to an address field's province token [field_address-province_name]. I am doing this because Address doesn't seem to enable Views filtering by province as a dropdown by default, so I was trying to circumvent that inability of Address to meet my needs. Still, would be useful more generally as well!