Closed (fixed)
Project:
Chaos Tool Suite (ctools)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Aug 2009 at 14:18 UTC
Updated:
19 Aug 2009 at 19:10 UTC
As we spoke on IRC, this is because ctools_user_picture_ctools_content_types() in user_picture.inc is not returning anything, hence the content type is not available on the add user section for the content window.
It should be:
/**
* Callback function to supply a list of content types.
*/
function ctools_user_picture_ctools_content_types() {
return array(
'single' => TRUE,
'title' => t('User picture'),
'icon' => 'icon_user.png',
'description' => t('The picture of a user.'),
'required context' => new ctools_context_required(t('User'), 'user'),
'category' => t('User'),
);
}
With that change, it's working perfectly =)
Comments
Comment #1
merlinofchaos commentedFixed! Thanks for finding this!
Comment #2
manuel garcia commentedGlad to help mr chaos -- and thanks for a swift response & fix!