Hi!

I upgraded the fieldgroup module from version 1.1 to 1.3. In our code vi have implemented hook_preprocess_node($vars) where we check the $vars['contents'] for the fieldgroups we have e.g $vars['contents']['group_slideshow'] After upgrading the module the fieldgroup in the content array is not existing anymore. We have also made upgrade to drupal core but i am guessing this may be a fieldgroup issue. Does anyone now if this has been changed or what could cause this? I would really appreciate some help with this since i am not that familiar with the internals of fieldgroup.

/ Markus

Comments

jgraham’s picture

Confirming the same issue on a fieldgroup used on a user profile.

Similar situation; upgraded core, and several modules including field_group.

Problem exists on a custom theme as well as bartik.

Continuing to dig for a solution.

nils.destoop’s picture

The major difference between version 1.1 and 1.3 is that the processing of fieldgroups is done in the preprocess layer. Fieldgroup comes as very last preprocessor. To make your code work, just change hook_preprocess_node to hook_process_node

nils.destoop’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.