Closed (fixed)
Project:
Flag
Version:
6.x-2.x-dev
Component:
Flag core
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
26 Oct 2009 at 18:43 UTC
Updated:
17 Nov 2009 at 03:10 UTC
Jump to comment: Most recent file
Comments
Comment #1
harcher commentedAttached is the flags setup page
Comment #2
quicksketchI believe tokens work everywhere except the node-edit page. This is because there isn't yet a $node object to replace tokens on (for example [title] clearly wouldn't work in your screenshot, since there isn't even a title entered into the field yet). However I think it should be able to replace something like [type-name] at least, since the type is known on a node/add/[type] page.
Comment #3
quicksketchI've committed this patch which allows nodes a special exception when replacing tokens. Instead of requiring a NID, the token replacement for nodes is now extended to allow a node-type also. In the case that a node-type is used, a pseudo-node is created for token purposes.
I've ran into this exact same problem a couple times, so I think this exception is worth including.