Active
Project:
Content Profile
Version:
6.x-1.0-beta4
Component:
Panels integration
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
16 Aug 2010 at 23:49 UTC
Updated:
16 Aug 2010 at 23:49 UTC
Hi,
I enabled the user_view - User profile template in Panels Pages to show profiles. The problem was that when i switched of language, the translated Profile was not showing up. Debugging showed that the function content_profile_node_from_user_ctools_context was not loading the profile with the language parameter.
l38 : $content_profile_node = content_profile_load($conf['type'], $uid);
changed to : $content_profile_node = content_profile_load($conf['type'], $uid, $GLOBALS['language']->language);