Closed (fixed)
Project:
FileField Sources
Version:
7.x-1.4
Component:
General
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Oct 2011 at 16:05 UTC
Updated:
8 May 2013 at 04:50 UTC
Jump to comment: Most recent file
Comments
Comment #1
geerlingguy commentedHmm... might not be this module, but still,
filefield_source_attach_settings()probably needs updating...Comment #2
quicksketchThanks @geerlingguy. I'll be happy to look at anything you'd like to send my way.
Comment #3
Kris Bank commentedI'm having the same issue on two sites (D7.0 and 7.9).
I create a content type with an image field, click on edit field, then get "Theme key "token_help" not found." watchdog message as well.
After looking through other modules, I've pinned it down to the following section of
filefield_source_attach_settings():Suggestions on an appropriate theme hook?
Comment #4
pjcdawkins commentedAs suggested in the OP, I think
theme_token_tree()can be used to replacetheme_token_help(), so it'd be something like(utterly untested)
Comment #5
kingfisher64 commentedI'm getting this warning as well:
Location: http://core/admin/structure/types/manage/article/fields/field_image
Referrer: http://core/admin/structure/types/manage/article/fields
Theme key "token_help" not found.
Has anything been decided regarding a patch for this?
Comment #6
michellezeedru commentedI only see this error in the logs, but the problem I'm experiencing is that in an image field that allows multiple uploads, after an image is selected using "file attach" or "remote url" methods, the user is not presented with the option to add another file. If I just upload the file, I get the "add new file" option.
Comment #7
quicksketchThis patch should correct the problem. @pjcdawkins just about had it, but the theme function name changes from 'token_help' to 'token_tree' in D7. Committed to D7 version.
Comment #9
Jorrit commentedThis change leads to the following error logged to watchdog when the token module is not enabled:
My suggestion is to not write
$return['source_attach']['tokens']when the token module is not enabled.Comment #10
quicksketchThanks @Jorrit. Fixed that up finally and it will be in the 1.8 version.