Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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);