Closed (won't fix)
Project:
Token
Version:
5.x-1.8
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
12 Sep 2007 at 01:57 UTC
Updated:
5 Jan 2011 at 17:20 UTC
When I created a CCK text field with a select list widget, its value wasn't available as a token when using tokens in the auto-nodetitle module. I investigated the issue, and found that it was due to a call to content_view() in token_cck.inc. The call was mangling the value in my cck field. content_view() tests $node->in_preview, calling _content_widget_invoke('process form values', $node) if it is set. I found that setting $node->in_preview = true just before the call to content_view() in token_cck.inc fixed the problem.
| Comment | File | Size | Author |
|---|---|---|---|
| token_cck_select.patch | 475 bytes | wrunt |
Comments
Comment #1
dave reidD5 is now unsupported, as well as Token module for D5.